Skip to content

Commit

Permalink
remove key utils
Browse files Browse the repository at this point in the history
update changelog, gemfile, and gemspec
  • Loading branch information
Paul Daigle committed Apr 14, 2015
1 parent 156113d commit a9c4ec5
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 175 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [2.4.4] - 2015-04-14
### Changed
- Separated key utilities into its own Gem

## [2.4.3] - 2015-04-13
### Changed
- Loosened production gem requirements from patch level to major level

## [2.4.2] - 2015-03-11
### Fixed
- GitHub issue 39: handling post paths that include a ? and require a token. A workaround exists for this issue.
Expand Down
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
source 'https://rubygems.org'
gemspec

platform :jruby do
gem 'jruby-openssl'
end
2 changes: 1 addition & 1 deletion bitpay-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|

s.add_dependency 'json', '~>1.8'
s.add_dependency 'rack', '~>1.5'
s.add_dependency 'ecdsa', '~>1.2'
s.add_dependency 'bitpay-key-utils', '~>2.0.0'

s.add_development_dependency 'rake', '10.3.2'
s.add_development_dependency 'webmock', '1.18.0'
Expand Down
1 change: 1 addition & 0 deletions features/step_definitions/refund_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
end

Given(/^a properly formatted cancellation request$/) do
sleep(1)
client = new_client_from_stored_values
@refund_id = client.get_all_refunds_for_invoice(id: REFUND_TRANSACTION).first["id"]
@response = client.cancel_refund(invoice_id: REFUND_TRANSACTION, request_id: @refund_id)
Expand Down
2 changes: 1 addition & 1 deletion lib/bitpay/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require 'net/https'
require 'json'

require_relative 'key_utils'
require 'bitpay_key_utils'
require_relative 'rest_connector'

module BitPay
Expand Down
124 changes: 0 additions & 124 deletions lib/bitpay/key_utils.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/bitpay/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE

module BitPay
VERSION = '2.4.3'
VERSION = '2.4.4'
end
3 changes: 0 additions & 3 deletions lib/bitpay_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ module BitPay
# User agent reported to API
USER_AGENT = 'ruby-bitpay-sdk '+VERSION

MISSING_PEM = 'No pem file specified. Pass pem string'

class BitPayError < StandardError; end
class ArgumentError < ArgumentError; end
class ConnectionError < Errno::ECONNREFUSED; end

end
41 changes: 0 additions & 41 deletions spec/key_utils_spec.rb

This file was deleted.

0 comments on commit a9c4ec5

Please sign in to comment.