volabit 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eee00815e91c6b9ef5675445fbec8583f0933994
4
- data.tar.gz: b29d96bb6053d3afd0767cb0161d26dbb827f69a
3
+ metadata.gz: 77b6cf56dff88cc357d9a04856919e788333b3a4
4
+ data.tar.gz: 152fef3f3cdb0f918f41e23a61f7f7a7a5619bae
5
5
  SHA512:
6
- metadata.gz: 8474154744464f82bd1d6c05608e6c7f2b812dc9235bc7be2284d639c3395d089040d19a96319f7b541fa4e390547126341693927c6918ed4868447b04cf5439
7
- data.tar.gz: e004c534fbf1b59ab8f0db75acd69ca030e144a31ab1cd0aa427d1c6c02c5e373465671b7553e7a1b11de6fd062325b26fc0ab7e4b116254a644acea79017b9a
6
+ metadata.gz: 9055028c38257d73ec0245cf1fe67a2d3319da8cc7abf9762282d9a40ae5b0c2001d9ec5a4223d19bd506985d814c046e4ffaaca1266556b6b9e96ce81932bb0
7
+ data.tar.gz: e82b112a608316ac63bb648be8b76acf2658e66e9723452754410872385b67adfe507208c17d5577c76d9405a56945dbc95f360bdaf081a48488e58769441dfa
@@ -0,0 +1,14 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.1
3
+
4
+ Style/AccessModifierIndentation:
5
+ EnforcedStyle: outdent
6
+
7
+ Metrics/LineLength:
8
+ Max: 90
9
+
10
+ Style/Documentation:
11
+ Enabled: false
12
+
13
+ Style/HashSyntax:
14
+ EnforcedStyle: ruby19
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ sudo: false
3
+ rvm:
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3.0
7
+ notifications:
8
+ email:
9
+ on_success: change
10
+ on_failure: always
11
+ script:
12
+ - bundle exec rubocop
13
+ - bundle exec rspec
@@ -5,20 +5,24 @@ You can see the supported releases on the [project GitHub repository](http://htt
5
5
  ## To Do
6
6
  - Add specs.
7
7
  - Add proper docs.
8
- - Automatics test suite run. (Codeship)
9
8
 
10
9
  ## Unreleased
11
10
  ### Added
12
11
  - No recent changes.
13
12
 
13
+ ## v1.1.1
14
+ - Add travis builds
15
+ - Add bumper using `./bump [-m, -n, -p, -h]`
16
+ - Add rubocop and fix code style
17
+
14
18
  ## v1.1.0
15
19
  ### Added
16
- - Better token handling with `tokens`, `request_tokens`, `ùse_tokens` and `refresh_tokens` available from the client public methods.
20
+ - Better token handling with `tokens`, `request_tokens`, `use_tokens` and `refresh_tokens` available from the client public methods.
17
21
  - Aliases for the methods with name changes.
18
- - `send_money` (`send_funds`) method replaces the `send` method to avoid the clash with the `Òbject#send` method.
22
+ - `send_money` (`send_funds`) method replaces the `send` method to avoid the clash with the `Object#send` method.
19
23
  - ArgumentError exceptions for params on methods that use them to build the resource URL.
20
24
 
21
- ###Fixed
25
+ ### Fixed
22
26
  - Refreshing the tokens now correctly sets the newly obtained tokens.
23
27
  - `Client#new_payment` docs tell that the method is available to all the users.
24
28
 
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
 
2
2
  [![Gem Version](https://badge.fury.io/rb/volabit.svg)](http://badge.fury.io/rb/volabit)
3
+ [![Build Status](https://travis-ci.org/coincovemx/ruby-api-client.svg?branch=master)](https://travis-ci.org/coincovemx/ruby-api-client)
3
4
 
4
5
  # Volabit
5
6
 
@@ -64,10 +65,14 @@ auth_url = volabit_client.authorize
64
65
  volabit_client.request_tokens 'The given authorization code.'
65
66
  ```
66
67
 
67
- Or, if you already have a `token` and a `refresh_token` you can use:
68
+ Or, if you already have an `access_token` and a `refresh_token` from the last call, you can use:
68
69
 
69
70
  ```ruby
70
- volabit_client.use_tokens 'token', 'refresh_token'
71
+ tokens = {
72
+ access_token: 'access_token',
73
+ refresh_token: 'refresh_token'
74
+ }
75
+ volabit_client.use_tokens(tokens)
71
76
  ```
72
77
 
73
78
  4) You're ready to use our API. Just call any method listed [here][wiki].
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  require 'bundler/gem_tasks'
3
2
 
4
3
  begin
@@ -9,6 +8,8 @@ begin
9
8
  RSpec::Core::RakeTask.new
10
9
  task default: :spec
11
10
  task test: :spec
11
+ end
12
12
 
13
- rescue LoadError
13
+ task :console do
14
+ exec 'irb -r volabit -I ./lib'
14
15
  end
data/bump ADDED
@@ -0,0 +1,70 @@
1
+ #!/usr/bin/env python
2
+ import re, glob, sys, os
3
+
4
+ __USAGE__ = \
5
+ """BUMP is a semantic versioning bump script which accepts the following
6
+ mutually exclusive arguments:
7
+ -m - a "major" version bump equal to +1.0.0
8
+ -n - a "minor" version bump equal to +0.1.0
9
+ -p - a "patch" version bump equal to +0.0.1
10
+ -h - a "hot fix" version bump equal to +0.0.1
11
+
12
+ All of these options allow for the -r flag, which indicates that the state
13
+ is a RELEASE not a SNAPSHOT. If -r is not specified, then -SNAPSHOT is
14
+ appended to the updated version string."""
15
+
16
+ __INITIAL__ = ['0', '0', '1']
17
+
18
+
19
+ if __name__ == "__main__":
20
+ v = []
21
+ try:
22
+ version_file = glob.glob("lib/*/version.rb")[0]
23
+ raw_v = re.search(r'VERSION = \'(.*)\'', open(version_file).read(), re.M|re.I|re.S).group(1)
24
+ v = re.split(re.compile("\.|-"), raw_v)
25
+ v = v[0:3]
26
+ map(int, v)
27
+
28
+ except ValueError:
29
+ print("failed to parse the existing VERSION file, assuming v 0.0.1")
30
+ v = ['0', '0', '1']
31
+
32
+ except FileNotFoundError:
33
+ print("failed to find a VERSION file, assuming v 0.0.0")
34
+ v = ['0', '0', '0']
35
+
36
+ op = ''
37
+ try:
38
+ op = sys.argv[1]
39
+ except:
40
+ print(__USAGE__)
41
+ sys.exit(-1)
42
+
43
+ if(op == '-m'):
44
+ v = [str(int(v[0])+1), '0', '0']
45
+
46
+ elif(op == '-n'):
47
+ v = [v[0], str(int(v[1])+1), '0']
48
+
49
+ elif(op == '-p' or op == '-h'):
50
+ v = [v[0], v[1], str(int(v[2])+1)]
51
+
52
+ else:
53
+ print(__USAGE__)
54
+ sys.exit(-1)
55
+
56
+ v = '.'.join(v)
57
+
58
+ if(op == '-h'):
59
+ os.system("git checkout -b hotfix/v%s master" % v)
60
+
61
+ else:
62
+ os.system("git checkout -b release/v%s development" % v)
63
+
64
+ os.system("bump set %s" % v)
65
+
66
+ v += "\n"
67
+
68
+ print(v)
69
+
70
+ sys.exit(0)
@@ -4,7 +4,6 @@ require_relative 'volabit/api'
4
4
  require_relative 'volabit/version'
5
5
 
6
6
  module Volabit
7
-
8
7
  # Class that handles authorizations and API calls.
9
8
  class Client
10
9
  include Auth
@@ -6,7 +6,7 @@ require_relative 'api/transactions'
6
6
 
7
7
  module Volabit
8
8
  module API
9
- private
9
+ private
10
10
 
11
11
  # Request given resource using the provided method and params.
12
12
  def resource(verb, resource, params = nil)
@@ -14,7 +14,7 @@ module Volabit
14
14
  refresh_tokens if @token.expired?
15
15
 
16
16
  response = @token.send(verb, resource, params: params)
17
- JSON.parse response.body, :symbolize_names => true
17
+ JSON.parse response.body, symbolize_names: true
18
18
  end
19
19
 
20
20
  # Raises an exception intended when there is no OAuth2::AccessToken
@@ -7,11 +7,10 @@ module Rates
7
7
  def spot_prices(amount, from: 'BTC', to: 'MXN')
8
8
  same_currencies_error if from.eql? to
9
9
 
10
- resource :get, 'api/v1/spot-prices', {
11
- currency_from: from,
12
- currency_to: to,
13
- amount: amount
14
- }
10
+ resource :get, 'api/v1/spot-prices',
11
+ currency_from: from,
12
+ currency_to: to,
13
+ amount: amount
15
14
  end
16
15
 
17
16
  # Gets the exchange price list for the supported currencies.
@@ -19,7 +18,7 @@ module Rates
19
18
  resource :get, 'api/v1/tickers'
20
19
  end
21
20
 
22
- private
21
+ private
23
22
 
24
23
  def same_currencies_error
25
24
  raise ArgumentError, 'Currencies must be different.'
@@ -3,14 +3,13 @@
3
3
  module Slips
4
4
  # Creates a slip that can be used to load the user wallet.
5
5
  def new_slip(currency:, amount:, type:)
6
- resource :post, 'api/v1/users/me/slips', {
7
- currency: currency,
8
- amount: amount,
9
- type: type
10
- }
6
+ resource :post, 'api/v1/users/me/slips',
7
+ currency: currency,
8
+ amount: amount,
9
+ type: type
11
10
  end
12
11
 
13
- alias_method :create_slip, :new_slip
12
+ alias create_slip new_slip
14
13
 
15
14
  # Gets the information of a specific slip.
16
15
  def get_slip_data(id:)
@@ -18,7 +17,7 @@ module Slips
18
17
  resource :get, "api/v1/users/me/slips/#{id}"
19
18
  end
20
19
 
21
- alias_method :slip_data, :get_slip_data
20
+ alias slip_data get_slip_data
22
21
 
23
22
  # Deletes a specific slip.
24
23
  def delete_slip(id:)
@@ -29,21 +28,21 @@ module Slips
29
28
  # Informs of a receipt used to load a wallet's slip.
30
29
  def report_receipt(id:, amount:, affiliation:, authorization:)
31
30
  empty_param_error('id') if id.to_s.eql? ''
32
- resource :post, "api/v1/users/me/slips/#{id}/report", {
33
- amount: amount,
34
- affiliation_number: affiliation,
35
- authorization_number: authorization
36
- }
31
+ resource :post, "api/v1/users/me/slips/#{id}/report",
32
+ amount: amount,
33
+ affiliation_number: affiliation,
34
+ authorization_number: authorization
37
35
  end
38
36
 
39
37
  # Lists the available options to load a slip.
40
- def get_load_methods
38
+ def load_methods
41
39
  resource :get, 'api/v1/users/me/slips/methods'
42
40
  end
43
41
 
44
- alias_method :load_methods, :get_load_methods
42
+ alias get_load_methods load_methods
43
+
44
+ private
45
45
 
46
- private
47
46
  def empty_param_error(param)
48
47
  raise ArgumentError, ":#{param} must not be nil or empty."
49
48
  end
@@ -4,39 +4,33 @@ module Transactions
4
4
  # Instantly buy bitcoins using fiat balance.
5
5
  # @note The amount is expected in satoshis.
6
6
  def buy_bitcoins(amount:)
7
- resource :post, 'api/v1/users/me/buys', {
8
- amount: amount
9
- }
7
+ resource :post, 'api/v1/users/me/buys', amount: amount
10
8
  end
11
9
 
12
10
  # Instantly sell bitcoins to get fiat balance.
13
11
  # @note The amount is expected in satoshis.
14
12
  def sell_bitcoins(amount:)
15
- resource :post, 'api/v1/users/me/sells', {
16
- amount: amount
17
- }
13
+ resource :post, 'api/v1/users/me/sells', amount: amount
18
14
  end
19
15
 
20
16
  # Instantly send fiat or bitcoins to an address.
21
17
  # @note The amount is expected in satoshis for bitcoins and cents for
22
18
  # fiat currencies.
23
19
  def send_money(currency:, amount:, address:)
24
- resource :post, 'api/v1/users/me/send', {
25
- amount: amount,
26
- address: address,
27
- currency: currency
28
- }
20
+ resource :post, 'api/v1/users/me/send',
21
+ amount: amount,
22
+ address: address,
23
+ currency: currency
29
24
  end
30
25
 
31
- alias_method :send_funds, :send_money
26
+ alias send_funds send_money
32
27
 
33
28
  # Requests a special address to receive a bitcoin payment that will be
34
29
  # converted to the designated currency.
35
30
  def new_payment(currency:, amount:)
36
- resource :post, 'api/v1/users/me/green-addresses', {
37
- currency: currency,
38
- amount: amount
39
- }
31
+ resource :post, 'api/v1/users/me/green-addresses',
32
+ currency: currency,
33
+ amount: amount
40
34
  end
41
35
  end
42
36
 
@@ -4,22 +4,22 @@ module Users
4
4
  # Request the creation of a new user with the given params.
5
5
  # @note This action requires partner privileges.
6
6
  def create_user(acceptance:, email:, pass: '')
7
- resource :post, 'api/v1/users', {
8
- accepts_terms_of_service: acceptance,
9
- user: {
10
- email: email, password: pass
11
- }
12
- }
7
+ resource :post, 'api/v1/users',
8
+ accepts_terms_of_service: acceptance,
9
+ user: {
10
+ email: email,
11
+ password: pass
12
+ }
13
13
  end
14
14
 
15
- alias_method :new_user, :create_user
15
+ alias new_user create_user
16
16
 
17
17
  # Gets the information details of the app user.
18
18
  def me
19
19
  resource :get, 'api/v1/users/me'
20
20
  end
21
21
 
22
- alias_method :user_data, :me
22
+ alias user_data me
23
23
  end
24
24
 
25
25
  module Volabit
@@ -25,7 +25,7 @@ module Volabit
25
25
  # expiration POSIX time, or an error message it one occurs
26
26
  # while requesting the tokens.
27
27
  def tokens
28
- (@token.kind_of? OAuth2::AccessToken) ? @token.to_hash : @token
28
+ (@token.is_a? OAuth2::AccessToken) ? @token.to_hash : @token
29
29
  end
30
30
 
31
31
  # Requests and sets the access and refresh tokens to use the Volabit API
@@ -38,7 +38,7 @@ module Volabit
38
38
  tokens
39
39
  end
40
40
 
41
- alias_method :get_token, :request_tokens
41
+ alias get_token request_tokens
42
42
 
43
43
  # Loads the client with the provided token information.
44
44
  #
@@ -51,7 +51,7 @@ module Volabit
51
51
  tokens
52
52
  end
53
53
 
54
- alias_method :use_token, :use_tokens
54
+ alias use_token use_tokens
55
55
 
56
56
  # Triggers a refresh of the current tokens.
57
57
  #
@@ -73,7 +73,7 @@ module Volabit
73
73
  end
74
74
  end
75
75
 
76
- private
76
+ private
77
77
 
78
78
  # Gets and sets information about the expiration time for provided
79
79
  # tokens without it.
@@ -91,10 +91,12 @@ module Volabit
91
91
 
92
92
  # Instances a new OAuth client to manage authorizations.
93
93
  def set_oauth_client(id, secret, env)
94
- @oauth_client = OAuth2::Client.new(id, secret, {
94
+ @oauth_client = OAuth2::Client.new(
95
+ id,
96
+ secret,
95
97
  site: Volabit.site_for(env),
96
98
  raise_errors: false
97
- })
99
+ )
98
100
  end
99
101
  end
100
102
  end
@@ -3,9 +3,9 @@ module Volabit
3
3
  module Common
4
4
  module Constants
5
5
  # Base URL for the Volabit production environment.
6
- PRODUCTION_SITE = 'https://www.volabit.com'
6
+ PRODUCTION_SITE = 'https://www.volabit.com'.freeze
7
7
  # Base URL for the Volabit test environment.
8
- SANDBOX_SITE = 'https://sandbox.volabit.com'
8
+ SANDBOX_SITE = 'https://sandbox.volabit.com'.freeze
9
9
  end
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Volabit
2
- VERSION = "1.1.0"
2
+ VERSION = '1.1.1'.freeze
3
3
  end
@@ -1,84 +1,22 @@
1
-
2
- # Given that it is always loaded, you are encouraged to keep this file as
3
- # light-weight as possible. Requiring heavyweight dependencies from this file
4
- # will add to the boot time of your test suite on EVERY test run, even for an
5
- # individual file that may not need all of that loaded. Instead, consider making
6
- # a separate helper file that requires the additional dependencies and performs
7
- # the additional setup, and require it from the spec files that actually need it.
8
- #
9
- # The `.rspec` file also contains a few flags that are not defaults but that
10
- # users commonly want.
1
+ require 'simplecov'
2
+ # require 'coveralls'
3
+ SimpleCov.start do
4
+ add_filter '/spec/'
5
+ end
6
+ # Coveralls.wear!
11
7
 
12
8
  require 'awesome_print'
13
9
  require 'pry-byebug'
14
10
  require 'pry-coolline'
15
11
 
16
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
12
  RSpec.configure do |config|
18
- # rspec-expectations config goes here. You can use an alternate
19
- # assertion/expectation library such as wrong or the stdlib/minitest
20
- # assertions if you prefer.
21
13
  config.expect_with :rspec do |expectations|
22
- # This option will default to `true` in RSpec 4. It makes the `description`
23
- # and `failure_message` of custom matchers include text for helper methods
24
- # defined using `chain`, e.g.:
25
- # be_bigger_than(2).and_smaller_than(4).description
26
- # # => "be bigger than 2 and smaller than 4"
27
- # ...rather than:
28
- # # => "be bigger than 2"
29
14
  expectations.include_chain_clauses_in_custom_matcher_descriptions = true
30
15
  end
31
16
 
32
- # rspec-mocks config goes here. You can use an alternate test double
33
- # library (such as bogus or mocha) by changing the `mock_with` option here.
34
17
  config.mock_with :rspec do |mocks|
35
- # Prevents you from mocking or stubbing a method that does not exist on
36
- # a real object. This is generally recommended, and will default to
37
- # `true` in RSpec 4.
38
18
  mocks.verify_partial_doubles = true
39
19
  end
40
-
41
- # The settings below are suggested to provide a good initial experience
42
- # with RSpec, but feel free to customize to your heart's content.
43
-
44
- # These two settings work together to allow you to limit a spec run
45
- # to individual examples or groups you care about by tagging them with
46
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
47
- # get run.
48
20
  config.filter_run :focus
49
21
  config.run_all_when_everything_filtered = true
50
-
51
- # Limits the available syntax to the non-monkey patched syntax that is recommended.
52
- # For more details, see:
53
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
54
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
55
- # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
56
- # config.disable_monkey_patching!
57
-
58
- # Many RSpec users commonly either run the entire suite or an individual
59
- # file, and it's useful to allow more verbose output when running an
60
- # individual spec file.
61
- if config.files_to_run.one?
62
- # Use the documentation formatter for detailed output,
63
- # unless a formatter has already been configured
64
- # (e.g. via a command-line flag).
65
- config.default_formatter = 'doc'
66
- end
67
-
68
- # Print the 10 slowest examples and example groups at the
69
- # end of the spec run, to help surface which specs are running
70
- # particularly slow.
71
- # config.profile_examples = 10
72
-
73
- # Run specs in random order to surface order dependencies. If you find an
74
- # order dependency and want to debug it, you can fix the order by providing
75
- # the seed, which is printed after each run.
76
- # --seed 1234
77
- # config.order = :random
78
-
79
- # Seed global randomization in this process using the `--seed` CLI option.
80
- # Setting this allows you to use `--seed` to deterministically reproduce
81
- # test failures related to randomization by passing the same `--seed` value
82
- # as the one that triggered the failure.
83
- # Kernel.srand config.seed
84
22
  end
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('spec/spec_helper')
3
3
  require File.expand_path('lib/volabit')
4
4
 
5
- PRODUCTION_URL = 'https://www.volabit.com'
6
- SANDBOX_URL = 'https://sandbox.volabit.com'
5
+ PRODUCTION_URL = 'https://www.volabit.com'.freeze
6
+ SANDBOX_URL = 'https://sandbox.volabit.com'.freeze
7
7
 
8
8
  RSpec.describe Volabit do
9
9
  subject { described_class }
@@ -4,19 +4,19 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'volabit/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "volabit"
7
+ spec.name = 'volabit'
8
8
  spec.version = Volabit::VERSION
9
- spec.authors = ["The Volabit Team & Contributors"]
10
- spec.email = ["hola@volabit.com"]
11
- spec.summary = %q{Library for the Volabit API.}
12
- spec.description = %q{Integrate the Volabit services in your app with ease.}
13
- spec.homepage = "https://github.com/coincovemx/api-client"
14
- spec.license = "MIT"
9
+ spec.authors = ['The Volabit Team & Contributors']
10
+ spec.email = ['hola@volabit.com']
11
+ spec.summary = 'Library for the Volabit API.'
12
+ spec.description = 'Integrate the Volabit services in your app with ease.'
13
+ spec.homepage = 'https://github.com/coincovemx/api-client'
14
+ spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
19
+ spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_runtime_dependency 'oauth2', '~> 1.0'
22
22
 
@@ -26,4 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'pry-byebug', '~> 3.0'
27
27
  spec.add_development_dependency 'awesome_print', '~> 1.6'
28
28
  spec.add_development_dependency 'pry-coolline', '~> 0.2'
29
+ spec.add_development_dependency 'rubocop', '~> 0.36'
30
+ spec.add_development_dependency 'simplecov', '~> 0.11'
31
+ spec.add_development_dependency 'bump', '~> 0.5', '>= 0.5.3'
29
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volabit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Volabit Team & Contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2016-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -108,6 +108,54 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.36'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.36'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.11'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.11'
139
+ - !ruby/object:Gem::Dependency
140
+ name: bump
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.5'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 0.5.3
149
+ type: :development
150
+ prerelease: false
151
+ version_requirements: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '0.5'
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 0.5.3
111
159
  description: Integrate the Volabit services in your app with ease.
112
160
  email:
113
161
  - hola@volabit.com
@@ -118,6 +166,8 @@ files:
118
166
  - ".editorconfig"
119
167
  - ".gitignore"
120
168
  - ".rspec"
169
+ - ".rubocop.yml"
170
+ - ".travis.yml"
121
171
  - ".yardopts"
122
172
  - CHANGELOG.md
123
173
  - CONTRIBUTORS.md
@@ -125,6 +175,7 @@ files:
125
175
  - LICENSE.txt
126
176
  - README.md
127
177
  - Rakefile
178
+ - bump
128
179
  - lib/volabit.rb
129
180
  - lib/volabit/api.rb
130
181
  - lib/volabit/api/rates.rb
@@ -159,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
210
  version: '0'
160
211
  requirements: []
161
212
  rubyforge_project:
162
- rubygems_version: 2.4.6
213
+ rubygems_version: 2.2.2
163
214
  signing_key:
164
215
  specification_version: 4
165
216
  summary: Library for the Volabit API.