boletosimples 0.0.4 → 0.0.5

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: 40ff741cceb7f558cee71a77c50f1c0d0c734ab1
4
- data.tar.gz: bc8aa8646d8628de7f3c6d427b1adbc43f72c549
3
+ metadata.gz: 3b0163bb1b098fac29be6b9bc9a83288f031bfd8
4
+ data.tar.gz: d0423b95c2f0a9a7e983c5de8ccc95aa078dc130
5
5
  SHA512:
6
- metadata.gz: 5e392b3023baa66296381df8128094650b23a11ac3d50cad2ab83550eb9d3cd50ea391348efd0aef0ba6e3961d4af0b42f36a01a7aabaecc3c87ddb13fcc5268
7
- data.tar.gz: 1cabdfb6d899826093730b8b9857fb0783912e6813eedd6aeed6fd18f3d6a169ea4ca35c46833c98afe89bd999058694e1c89023955de3c27de907770f2b45fa
6
+ metadata.gz: 7ba0bd15c0b6b01efd07271a4d93bcdbe6c8d61cdfc4c0678758dc772a7599334939f0735088c2b77851000bdb21b4d06f7426a0ff4f935f78f13abc8a2a1735
7
+ data.tar.gz: 5a870f3a1fc47702030156293009fcfed677ab5cafae5cd14f1759fed297ba2d900465a9093997bbfb29dadb63ccf2c09797860e5dfe643bed300e43df5d4491
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ Gemfile.lock
1
2
  *.gem
2
3
  *.rbc
3
4
  .bundle
@@ -15,4 +16,4 @@ test/version_tmp
15
16
  tmp
16
17
  .tddium*
17
18
  .idea
18
- .DS_Store
19
+ .DS_Store
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.3
data/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # Specify your gem's dependencies in pah.gemspec
3
4
  gemspec
4
- gem 'codeclimate-test-reporter', '0.4.0', group: :test, require: nil
5
- gem 'coveralls', '0.7.0', require: false
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- task :default => :spec
6
+ task default: :spec
@@ -1,4 +1,5 @@
1
- # -*- encoding: utf-8 -*-
1
+ # encoding: UTF-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'boletosimples/version'
@@ -6,24 +7,28 @@ require 'boletosimples/version'
6
7
  Gem::Specification.new do |gem|
7
8
  gem.name = 'boletosimples'
8
9
  gem.version = BoletoSimples::VERSION
9
- gem.authors = ['Kivanio Barbosa', 'Rafael Lima']
10
- gem.email = ['kivanio@gmail.com', 'contato@rafael.adm.br']
10
+ gem.authors = ['Kivanio Barbosa', 'Rafael Lima', 'Thiago Belem']
11
+ gem.email = ['kivanio@gmail.com', 'contato@rafael.adm.br', 'contato@thiagobelem.net']
11
12
  gem.description = 'An easy way to charge by bank billet.'
12
13
  gem.summary = 'An easy way to charge by bank billet.'
13
14
  gem.homepage = 'http://api.boletosimples.com.br'
14
15
 
15
- gem.files = `git ls-files`.split($/)
16
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
+ gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
+ gem.executables = gem.files.grep(/^bin\//).map { |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(/^(test|spec|features)\//)
18
19
  gem.require_paths = ['lib']
19
20
 
20
- # Gems that must be installed for sift to compile and build
21
- gem.add_development_dependency 'pry', '~> 0.10.0'
22
- gem.add_development_dependency 'rspec', '~> 3.0.0'
23
- gem.add_development_dependency 'rake'
21
+ gem.required_ruby_version = '>= 1.9'
24
22
 
25
- # Gems that must be intalled for sift to work
23
+ # Gems that must be intalled for boletosimples to work
26
24
  gem.add_dependency 'httparty', '~> 0.13.1'
27
25
  gem.add_dependency 'multi_json', '~> 1.10.1'
28
26
  gem.add_dependency 'oauth2', '~> 1.0.0'
27
+
28
+ # Gems that must be installed for boletosimples to compile and build
29
+ gem.add_development_dependency 'pry'
30
+ gem.add_development_dependency 'rspec'
31
+ gem.add_development_dependency 'rake'
32
+ gem.add_development_dependency 'coveralls'
33
+ gem.add_development_dependency 'codeclimate-test-reporter'
29
34
  end
@@ -1,8 +1,8 @@
1
- $: << File.expand_path('../../lib', __FILE__)
1
+ $LOAD_PATH << File.expand_path('../../lib', __FILE__)
2
2
  require 'boletosimples'
3
3
  require 'pp'
4
4
 
5
- client = BoletoSimples::Client.new('seu email', 'sua senha', {user_agent: 'Meu e-Commerce (meuecommerce@example.com)'})
5
+ client = BoletoSimples::Client.new('access_token', user_agent: 'Meu e-Commerce (meuecommerce@example.com)')
6
6
 
7
7
  # pp client.userinfo
8
8
 
@@ -1,4 +1,4 @@
1
- $: << File.expand_path('../../lib', __FILE__)
1
+ $LOAD_PATH << File.expand_path('../../lib', __FILE__)
2
2
  require 'boletosimples'
3
3
  require 'pp'
4
4
 
@@ -15,7 +15,7 @@ require 'pp'
15
15
  # end
16
16
 
17
17
  credentials = {
18
- :token => 'access_app_token'
18
+ token: 'access_app_token'
19
19
  }
20
20
 
21
21
  client_options = {
@@ -23,10 +23,10 @@ client_options = {
23
23
  }
24
24
 
25
25
  client = BoletoSimples::OAuthClient.new('app_id',
26
- 'app_secret',
27
- credentials,
28
- client_options)
29
-
26
+ 'app_secret',
27
+ credentials,
28
+ client_options)
29
+
30
30
  # create user with oauth
31
31
  # pp client.partner_create_user(
32
32
  # {
@@ -36,12 +36,11 @@ client = BoletoSimples::OAuthClient.new('app_id',
36
36
  # }
37
37
  # )
38
38
 
39
-
40
39
  # Other operations need access tokens from user oatuh autorization process
41
40
  # Use our omniauth-boletosimples (https://github.com/BoletoSimples/omniauth-boletosimples) to archive these tokens
42
41
 
43
42
  credentials = {
44
- :token => 'access token'
43
+ token: 'access token'
45
44
  }
46
45
 
47
46
  client_options = {
@@ -49,10 +48,10 @@ client_options = {
49
48
  }
50
49
 
51
50
  client = BoletoSimples::OAuthClient.new('app_id',
52
- 'app_secret',
53
- credentials,
54
- client_options)
55
-
51
+ 'app_secret',
52
+ credentials,
53
+ client_options)
54
+
56
55
  # pp client.userinfo
57
56
 
58
57
  # pp client.transactions
@@ -1,6 +1,5 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require 'json'
3
2
  require 'boletosimples/version'
4
3
  require 'boletosimples/client'
5
4
  require 'boletosimples/oauth_client'
6
- require 'oauth2_patch'
5
+ require 'oauth2_patch'
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require 'httparty'
3
2
  require 'multi_json'
4
3
 
@@ -9,9 +8,8 @@ module BoletoSimples
9
8
  PRODUCTION_BASE_URI = 'https://boletosimples.com.br/api/v1'
10
9
  SANDBOX_BASE_URI = 'https://sandbox.boletosimples.com.br/api/v1'
11
10
 
12
- def initialize(username, password, options={})
13
- @username = username
14
- @password = password
11
+ def initialize(access_token, options = {})
12
+ @access_token = access_token
15
13
 
16
14
  # defaults
17
15
  @production = options.delete(:production)
@@ -25,76 +23,71 @@ module BoletoSimples
25
23
  end
26
24
 
27
25
  # Users
28
-
29
- def userinfo options={}
26
+ def userinfo(options = {})
30
27
  get '/userinfo', options
31
28
  end
32
29
 
33
- # Users
34
- def partner_create_user options={}
35
- post '/partner/users', options
36
- end
37
-
38
30
  # Transactions
39
-
40
- def transactions page=1, options ={}
41
- get '/transactions', {page: page}.merge(options)
31
+ def transactions(page = 1, options = {})
32
+ get '/transactions', { page: page }.merge(options)
42
33
  end
43
34
 
44
35
  # Customers
45
- def customers page=1, options ={}
46
- get '/customers', {page: page}.merge(options)
36
+ def customers(page = 1, options = {})
37
+ get '/customers', { page: page }.merge(options)
47
38
  end
48
39
 
49
- def create_customer options ={}
40
+ def create_customer(options = {})
50
41
  post '/customers', options
51
42
  end
52
43
 
53
- def customer id=1, options ={}
44
+ def customer(id = 1, options = {})
54
45
  get "/customers/#{id}", options
55
46
  end
56
47
 
57
48
  # Bank Billets
58
- def bank_billets page=1, options ={}
59
- get '/bank_billets', {page: page}.merge(options)
49
+ def bank_billets(page = 1, options = {})
50
+ get '/bank_billets', { page: page }.merge(options)
60
51
  end
61
52
 
62
- def create_bank_billet options ={}
53
+ def create_bank_billet(options = {})
63
54
  post '/bank_billets', options
64
55
  end
65
56
 
66
- def bank_billet id=1, options ={}
57
+ def bank_billet(id = 1, options = {})
67
58
  get "/bank_billets/#{id}", options
68
59
  end
69
60
 
70
61
  # Wrappers for the main HTTP verbs
71
62
 
72
- def get(path, options={})
63
+ def get(path, options = {})
73
64
  http_verb :get, path, options
74
65
  end
75
66
 
76
- def post(path, options={})
67
+ def post(path, options = {})
77
68
  http_verb :post, path, options
78
69
  end
79
70
 
80
- def put(path, options={})
71
+ def put(path, options = {})
81
72
  http_verb :put, path, options
82
73
  end
83
74
 
84
- def delete(path, options={})
75
+ def delete(path, options = {})
85
76
  http_verb :delete, path, options
86
77
  end
87
78
 
88
- def http_verb(verb, path, options={})
89
- request_options = {body: options.to_json}
79
+ def http_verb(verb, path, options = {})
80
+ request_options = { body: options.to_json }
90
81
  request_options[:headers] = {
91
- "Content-Type" => "application/json",
92
- "User-Agent" => @user_agent
82
+ 'Content-Type' => 'application/json',
83
+ 'User-Agent' => @user_agent
93
84
  }
94
- request_options[:basic_auth] = {:username => @username, :password => @password}
85
+ request_options[:query] ||= {}
86
+ request_options[:query].merge!(access_token: @access_token)
87
+
95
88
  uri = "#{@base_uri}#{path}"
96
89
  response = self.class.send(verb, uri, request_options)
97
- return JSON.parse(response.body)
90
+ JSON.parse(response.body)
98
91
  end
99
92
  end
100
93
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require 'oauth2'
3
2
 
4
3
  module BoletoSimples
@@ -16,43 +15,43 @@ module BoletoSimples
16
15
  #
17
16
  # Please note access tokens will be automatically refreshed when expired
18
17
  # Use the credentials method when finished with the client to retrieve up-to-date credentials
19
- def initialize(client_id, client_secret, user_credentials, options={})
18
+ def initialize(client_id, client_secret, user_credentials, options = {})
20
19
  @production = options.delete(:production)
21
20
  @base_uri = options[:base_uri] || (@production ? PRODUCTION_BASE_URI : SANDBOX_BASE_URI)
22
21
  client_opts = {
23
- :site => @base_uri,
24
- :authorize_url => options[:authorize_url] || "#{@base_uri}/oauth/authorize",
25
- :token_url => options[:token_url] || "#{@base_uri}/oauth/token",
26
- :raise_errors => false
22
+ site: @base_uri,
23
+ authorize_url: options[:authorize_url] || "#{@base_uri}/oauth/authorize",
24
+ token_url: options[:token_url] || "#{@base_uri}/oauth/token",
25
+ raise_errors: false
27
26
  }
28
27
  @user_agent = options.delete(:user_agent)
29
28
  @oauth_client = OAuth2::Client.new(client_id, client_secret, client_opts)
30
29
  token_hash = user_credentials.dup
31
30
  token_hash[:access_token] ||= token_hash[:token]
32
31
  token_hash.delete :expires
33
- raise "No access token provided" unless token_hash[:access_token]
32
+ fail 'No access token provided' unless token_hash[:access_token]
34
33
  @oauth_token = OAuth2::AccessToken.from_hash(@oauth_client, token_hash)
35
34
  end
36
35
 
37
- def http_verb(verb, path, options={})
36
+ def http_verb(verb, path, options = {})
38
37
  path = remove_leading_slash(path)
39
- request_options = {headers: {
40
- "Accept-Charset" => "UTF-8",
41
- "Content-Type" => "application/json",
42
- "User-Agent" => @user_agent
43
- }, body: options.to_json}
38
+ request_options = { headers: {
39
+ 'Accept-Charset' => 'UTF-8',
40
+ 'Content-Type' => 'application/json',
41
+ 'User-Agent' => @user_agent
42
+ }, body: options.to_json }
44
43
 
45
44
  response = oauth_token.request(verb, path, request_options)
46
- return JSON.parse(response.body)
45
+ JSON.parse(response.body)
47
46
  end
48
47
 
49
48
  def refresh!
50
- raise "Access token not initialized." unless @oauth_token
49
+ fail 'Access token not initialized.' unless @oauth_token
51
50
  @oauth_token = @oauth_token.refresh!
52
51
  end
53
52
 
54
53
  def oauth_token
55
- raise "Access token not initialized." unless @oauth_token
54
+ fail 'Access token not initialized.' unless @oauth_token
56
55
  refresh! if @oauth_token.expired?
57
56
  @oauth_token
58
57
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  module BoletoSimples
3
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
4
3
  end
@@ -16,9 +16,9 @@ module OAuth2
16
16
  message << "#{@code}: #{@description}"
17
17
  end
18
18
 
19
- message << response.body.force_encoding("UTF-8")
19
+ message << response.body.force_encoding('UTF-8')
20
20
 
21
21
  super(message.join("\n"))
22
22
  end
23
23
  end
24
- end
24
+ end
@@ -1,11 +1,12 @@
1
- # -*- encoding: utf-8 -*-
1
+ # encoding: UTF-8
2
+
2
3
  require 'spec_helper'
3
4
 
4
5
  describe BoletoSimples::Client do
5
6
  describe :userinfo do
6
7
  context :without_authentication do
7
- let(:client) { BoletoSimples::Client.new(nil, nil, {user_agent: 'Meu e-Commerce (meuecommerce@example.com)'}) }
8
- it { expect(client.userinfo).to eq({"error"=>"Você precisa se logar ou registrar antes de prosseguir."}) }
8
+ let(:client) { BoletoSimples::Client.new(nil, user_agent: 'Meu e-Commerce (meuecommerce@example.com)') }
9
+ it { expect(client.userinfo).to eq('error' => 'Você precisa se logar ou registrar antes de prosseguir.') }
9
10
  end
10
11
  end
11
12
  end
@@ -1,13 +1,14 @@
1
- # -*- encoding: utf-8 -*-
1
+ # encoding: UTF-8
2
+
2
3
  require 'spec_helper'
3
4
 
4
5
  describe BoletoSimples::OAuthClient do
5
6
  describe :userinfo do
6
7
  context :without_authentication do
7
8
  let(:credentials) { { token: 'invalid-token' } }
8
- let(:client_options) { {user_agent: 'Meu e-Commerce (meuecommerce@example.com)'} }
9
+ let(:client_options) { { user_agent: 'Meu e-Commerce (meuecommerce@example.com)' } }
9
10
  let(:client) { BoletoSimples::OAuthClient.new(nil, nil, credentials, client_options) }
10
- it { expect(client.userinfo).to eq({"error"=>"Você precisa se logar ou registrar antes de prosseguir."}) }
11
+ it { expect(client.userinfo).to eq('error' => 'Você precisa se logar ou registrar antes de prosseguir.') }
11
12
  end
12
13
  end
13
14
  end
@@ -12,4 +12,4 @@ require 'boletosimples'
12
12
 
13
13
  # Requires supporting files with custom matchers and macros, etc,
14
14
  # in ./support/ and its subdirectories.
15
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
15
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata CHANGED
@@ -1,46 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boletosimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kivanio Barbosa
8
8
  - Rafael Lima
9
+ - Thiago Belem
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-08-04 00:00:00.000000000 Z
13
+ date: 2014-10-03 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- name: pry
16
+ name: httparty
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
19
  - - "~>"
19
20
  - !ruby/object:Gem::Version
20
- version: 0.10.0
21
- type: :development
21
+ version: 0.13.1
22
+ type: :runtime
22
23
  prerelease: false
23
24
  version_requirements: !ruby/object:Gem::Requirement
24
25
  requirements:
25
26
  - - "~>"
26
27
  - !ruby/object:Gem::Version
27
- version: 0.10.0
28
+ version: 0.13.1
28
29
  - !ruby/object:Gem::Dependency
29
- name: rspec
30
+ name: multi_json
30
31
  requirement: !ruby/object:Gem::Requirement
31
32
  requirements:
32
33
  - - "~>"
33
34
  - !ruby/object:Gem::Version
34
- version: 3.0.0
35
- type: :development
35
+ version: 1.10.1
36
+ type: :runtime
36
37
  prerelease: false
37
38
  version_requirements: !ruby/object:Gem::Requirement
38
39
  requirements:
39
40
  - - "~>"
40
41
  - !ruby/object:Gem::Version
41
- version: 3.0.0
42
+ version: 1.10.1
42
43
  - !ruby/object:Gem::Dependency
43
- name: rake
44
+ name: oauth2
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 1.0.0
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: 1.0.0
57
+ - !ruby/object:Gem::Dependency
58
+ name: pry
44
59
  requirement: !ruby/object:Gem::Requirement
45
60
  requirements:
46
61
  - - ">="
@@ -54,51 +69,66 @@ dependencies:
54
69
  - !ruby/object:Gem::Version
55
70
  version: '0'
56
71
  - !ruby/object:Gem::Dependency
57
- name: httparty
72
+ name: rspec
58
73
  requirement: !ruby/object:Gem::Requirement
59
74
  requirements:
60
- - - "~>"
75
+ - - ">="
61
76
  - !ruby/object:Gem::Version
62
- version: 0.13.1
63
- type: :runtime
77
+ version: '0'
78
+ type: :development
64
79
  prerelease: false
65
80
  version_requirements: !ruby/object:Gem::Requirement
66
81
  requirements:
67
- - - "~>"
82
+ - - ">="
68
83
  - !ruby/object:Gem::Version
69
- version: 0.13.1
84
+ version: '0'
70
85
  - !ruby/object:Gem::Dependency
71
- name: multi_json
86
+ name: rake
72
87
  requirement: !ruby/object:Gem::Requirement
73
88
  requirements:
74
- - - "~>"
89
+ - - ">="
75
90
  - !ruby/object:Gem::Version
76
- version: 1.10.1
77
- type: :runtime
91
+ version: '0'
92
+ type: :development
78
93
  prerelease: false
79
94
  version_requirements: !ruby/object:Gem::Requirement
80
95
  requirements:
81
- - - "~>"
96
+ - - ">="
82
97
  - !ruby/object:Gem::Version
83
- version: 1.10.1
98
+ version: '0'
84
99
  - !ruby/object:Gem::Dependency
85
- name: oauth2
100
+ name: coveralls
86
101
  requirement: !ruby/object:Gem::Requirement
87
102
  requirements:
88
- - - "~>"
103
+ - - ">="
89
104
  - !ruby/object:Gem::Version
90
- version: 1.0.0
91
- type: :runtime
105
+ version: '0'
106
+ type: :development
92
107
  prerelease: false
93
108
  version_requirements: !ruby/object:Gem::Requirement
94
109
  requirements:
95
- - - "~>"
110
+ - - ">="
96
111
  - !ruby/object:Gem::Version
97
- version: 1.0.0
112
+ version: '0'
113
+ - !ruby/object:Gem::Dependency
114
+ name: codeclimate-test-reporter
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
98
127
  description: An easy way to charge by bank billet.
99
128
  email:
100
129
  - kivanio@gmail.com
101
130
  - contato@rafael.adm.br
131
+ - contato@thiagobelem.net
102
132
  executables: []
103
133
  extensions: []
104
134
  extra_rdoc_files: []
@@ -109,12 +139,11 @@ files:
109
139
  - ".ruby-version"
110
140
  - ".travis.yml"
111
141
  - Gemfile
112
- - Gemfile.lock
113
142
  - LICENSE.txt
114
143
  - README.md
115
144
  - Rakefile
116
145
  - boletosimples.gemspec
117
- - example/basic_auth_example.rb
146
+ - example/access_token_example.rb
118
147
  - example/oauth_example.rb
119
148
  - lib/boletosimples.rb
120
149
  - lib/boletosimples/client.rb
@@ -136,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
165
  requirements:
137
166
  - - ">="
138
167
  - !ruby/object:Gem::Version
139
- version: '0'
168
+ version: '1.9'
140
169
  required_rubygems_version: !ruby/object:Gem::Requirement
141
170
  requirements:
142
171
  - - ">="
@@ -1,81 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- boletosimples (0.0.4)
5
- httparty (~> 0.13.1)
6
- multi_json (~> 1.10.1)
7
- oauth2 (~> 1.0.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- codeclimate-test-reporter (0.4.0)
13
- simplecov (>= 0.7.1, < 1.0.0)
14
- coderay (1.1.0)
15
- coveralls (0.7.0)
16
- multi_json (~> 1.3)
17
- rest-client
18
- simplecov (>= 0.7)
19
- term-ansicolor
20
- thor
21
- diff-lcs (1.2.5)
22
- docile (1.1.3)
23
- faraday (0.9.0)
24
- multipart-post (>= 1.2, < 3)
25
- httparty (0.13.1)
26
- json (~> 1.8)
27
- multi_xml (>= 0.5.2)
28
- json (1.8.1)
29
- jwt (1.0.0)
30
- method_source (0.8.2)
31
- mime-types (2.3)
32
- multi_json (1.10.1)
33
- multi_xml (0.5.5)
34
- multipart-post (2.0.0)
35
- oauth2 (1.0.0)
36
- faraday (>= 0.8, < 0.10)
37
- jwt (~> 1.0)
38
- multi_json (~> 1.3)
39
- multi_xml (~> 0.5)
40
- rack (~> 1.2)
41
- pry (0.10.0)
42
- coderay (~> 1.1.0)
43
- method_source (~> 0.8.1)
44
- slop (~> 3.4)
45
- rack (1.5.2)
46
- rake (10.3.2)
47
- rest-client (1.6.7)
48
- mime-types (>= 1.16)
49
- rspec (3.0.0)
50
- rspec-core (~> 3.0.0)
51
- rspec-expectations (~> 3.0.0)
52
- rspec-mocks (~> 3.0.0)
53
- rspec-core (3.0.0)
54
- rspec-support (~> 3.0.0)
55
- rspec-expectations (3.0.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.0.0)
58
- rspec-mocks (3.0.0)
59
- rspec-support (~> 3.0.0)
60
- rspec-support (3.0.0)
61
- simplecov (0.8.2)
62
- docile (~> 1.1.0)
63
- multi_json
64
- simplecov-html (~> 0.8.0)
65
- simplecov-html (0.8.0)
66
- slop (3.5.0)
67
- term-ansicolor (1.3.0)
68
- tins (~> 1.0)
69
- thor (0.19.1)
70
- tins (1.3.0)
71
-
72
- PLATFORMS
73
- ruby
74
-
75
- DEPENDENCIES
76
- boletosimples!
77
- codeclimate-test-reporter (= 0.4.0)
78
- coveralls (= 0.7.0)
79
- pry (~> 0.10.0)
80
- rake
81
- rspec (~> 3.0.0)