vertebrae 0.2.11 → 0.3.0

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: abf8d85f53410dfaef4ad36bd30202818d843ebc
4
- data.tar.gz: 7d83314db1b94909a999208fc8bf0a5319dd388e
3
+ metadata.gz: 66681bd5a28cd8a756c12d3c06b03a0534aa5f62
4
+ data.tar.gz: a0869a74347720678db034f85aecf679a22d2132
5
5
  SHA512:
6
- metadata.gz: 2691bf821b17a9637319b82a7bce356e7383662d2e732e7710fa1a672844273b73129e69f0dd34c11e048bcf23b48af00d6d3af517011c47f9f0345b4c8990d7
7
- data.tar.gz: 6e6100a90b5c9976fda2eff2725c77744cdb6d6cfb5e3e64a0ada66be66475d856d27c3987b347e6a86782eef5b6edc79c3df5b210c15165e47534c1bd8a389c
6
+ metadata.gz: 0a50a353163fc47da628bd596a422a2ba8dd47270380587da1e20be974528599427db980c9eab714ed3faa3f3645b03894507abfa99c148a9e23653d6e5f1299
7
+ data.tar.gz: f5628a99c3d66c80a045fe5128c736321f3a113a35afc75cc574d6004df242738fa05108e53c4c5f8946f75e33d0ef77db991914ff7040762e4d6fb3415a3792
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.0.0-p353
1
+ 2.2.4
data/Gemfile CHANGED
@@ -15,5 +15,5 @@ group :development do
15
15
  gem "bundler"
16
16
  gem "webmock"
17
17
  gem "rspec-its"
18
- gem "jeweler", "~> 2.0.0"
18
+ gem "juwelier", "~> 2.1.0"
19
19
  end
data/Gemfile.lock CHANGED
@@ -7,9 +7,9 @@ GEM
7
7
  minitest (~> 5.1)
8
8
  thread_safe (~> 0.1)
9
9
  tzinfo (~> 1.1)
10
- addressable (2.3.6)
10
+ addressable (2.4.0)
11
11
  builder (3.2.2)
12
- crack (0.4.2)
12
+ crack (0.4.3)
13
13
  safe_yaml (~> 1.0.0)
14
14
  descendants_tracker (0.0.4)
15
15
  thread_safe (~> 0.3, >= 0.3.1)
@@ -18,8 +18,8 @@ GEM
18
18
  multipart-post (>= 1.2, < 3)
19
19
  faraday_middleware (0.9.1)
20
20
  faraday (>= 0.7.4, < 0.10)
21
- git (1.2.8)
22
- github_api (0.12.0)
21
+ git (1.3.0)
22
+ github_api (0.12.1)
23
23
  addressable (~> 2.3)
24
24
  descendants_tracker (~> 0.0.4)
25
25
  faraday (~> 0.8, < 0.10)
@@ -27,10 +27,12 @@ GEM
27
27
  multi_json (>= 1.7.5, < 2.0)
28
28
  nokogiri (~> 1.6.3)
29
29
  oauth2
30
+ hashdiff (0.3.0)
30
31
  hashie (3.2.0)
31
- highline (1.6.21)
32
+ highline (1.7.8)
32
33
  i18n (0.6.11)
33
- jeweler (2.0.1)
34
+ json (1.8.1)
35
+ juwelier (2.1.2)
34
36
  builder
35
37
  bundler (>= 1.0)
36
38
  git (>= 1.2.5)
@@ -39,43 +41,52 @@ GEM
39
41
  nokogiri (>= 1.5.10)
40
42
  rake
41
43
  rdoc
42
- json (1.8.1)
43
- jwt (1.0.0)
44
- mini_portile (0.6.0)
44
+ semver
45
+ jwt (1.5.4)
46
+ mini_portile2 (2.1.0)
45
47
  minitest (5.4.0)
46
- multi_json (1.10.1)
48
+ multi_json (1.12.1)
47
49
  multi_xml (0.5.5)
48
50
  multipart-post (2.0.0)
49
- nokogiri (1.6.3.1)
50
- mini_portile (= 0.6.0)
51
- oauth2 (1.0.0)
51
+ nokogiri (1.6.8)
52
+ mini_portile2 (~> 2.1.0)
53
+ pkg-config (~> 1.1.7)
54
+ oauth2 (1.2.0)
52
55
  faraday (>= 0.8, < 0.10)
53
56
  jwt (~> 1.0)
54
57
  multi_json (~> 1.3)
55
58
  multi_xml (~> 0.5)
56
- rack (~> 1.2)
57
- rack (1.5.2)
58
- rake (10.3.2)
59
- rdoc (4.1.1)
59
+ rack (>= 1.2, < 3)
60
+ pkg-config (1.1.7)
61
+ rack (2.0.1)
62
+ rake (11.2.2)
63
+ rdoc (4.2.2)
60
64
  json (~> 1.4)
61
- rspec (2.99.0)
62
- rspec-core (~> 2.99.0)
63
- rspec-expectations (~> 2.99.0)
64
- rspec-mocks (~> 2.99.0)
65
- rspec-core (2.99.1)
66
- rspec-expectations (2.99.2)
67
- diff-lcs (>= 1.1.3, < 2.0)
65
+ rspec (3.3.0)
66
+ rspec-core (~> 3.3.0)
67
+ rspec-expectations (~> 3.3.0)
68
+ rspec-mocks (~> 3.3.0)
69
+ rspec-core (3.3.2)
70
+ rspec-support (~> 3.3.0)
71
+ rspec-expectations (3.3.1)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.3.0)
68
74
  rspec-its (1.0.1)
69
75
  rspec-core (>= 2.99.0.beta1)
70
76
  rspec-expectations (>= 2.99.0.beta1)
71
- rspec-mocks (2.99.2)
72
- safe_yaml (1.0.3)
77
+ rspec-mocks (3.3.2)
78
+ diff-lcs (>= 1.2.0, < 2.0)
79
+ rspec-support (~> 3.3.0)
80
+ rspec-support (3.3.0)
81
+ safe_yaml (1.0.4)
82
+ semver (1.0.1)
73
83
  thread_safe (0.3.4)
74
84
  tzinfo (1.2.1)
75
85
  thread_safe (~> 0.1)
76
- webmock (1.18.0)
86
+ webmock (2.1.0)
77
87
  addressable (>= 2.3.6)
78
88
  crack (>= 0.3.2)
89
+ hashdiff
79
90
 
80
91
  PLATFORMS
81
92
  ruby
@@ -86,7 +97,10 @@ DEPENDENCIES
86
97
  faraday
87
98
  faraday_middleware
88
99
  hashie
89
- jeweler (~> 2.0.0)
100
+ juwelier (~> 2.1.0)
90
101
  rspec
91
102
  rspec-its
92
103
  webmock
104
+
105
+ BUNDLED WITH
106
+ 1.12.5
data/Rakefile CHANGED
@@ -11,8 +11,9 @@ rescue Bundler::BundlerError => e
11
11
  end
12
12
  require 'rake'
13
13
 
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
14
+ require 'juwelier'
15
+ Juwelier::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
16
17
  gem.name = "vertebrae"
17
18
  gem.homepage = "http://github.com/controlshift/vertebrae"
18
19
  gem.license = "MIT"
@@ -20,9 +21,10 @@ Jeweler::Tasks.new do |gem|
20
21
  gem.description = %Q{A set of low level infrastructure and reusable code for building API clients}
21
22
  gem.email = "nathan@controlshiftlabs.com"
22
23
  gem.authors = ["Nathan Woodhull"]
24
+
23
25
  # dependencies defined in Gemfile
24
26
  end
25
- Jeweler::RubygemsDotOrgTasks.new
27
+ Juwelier::RubygemsDotOrgTasks.new
26
28
 
27
29
  require 'rspec/core'
28
30
  require 'rspec/core/rake_task'
@@ -30,9 +32,10 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
30
32
  spec.pattern = FileList['spec/**/*_spec.rb']
31
33
  end
32
34
 
33
- RSpec::Core::RakeTask.new(:rcov) do |spec|
34
- spec.pattern = 'spec/**/*_spec.rb'
35
- spec.rcov = true
35
+ desc "Code coverage detail"
36
+ task :simplecov do
37
+ ENV['COVERAGE'] = "true"
38
+ Rake::Task['spec'].execute
36
39
  end
37
40
 
38
41
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.11
1
+ 0.3.0
data/lib/configuration.rb CHANGED
@@ -16,6 +16,7 @@ module Vertebrae
16
16
  :connection_options,
17
17
  :content_type,
18
18
  :scheme,
19
+ :port
19
20
  ].freeze
20
21
 
21
22
  # Other adapters are :typhoeus, :patron, :em_synchrony, :excon, :test
@@ -27,6 +28,9 @@ module Vertebrae
27
28
  # The default SSL configuration
28
29
  DEFAULT_SSL = {}
29
30
 
31
+ # by default do not set a port so that it is not specified on endpoint
32
+ DEFAULT_PORT = nil
33
+
30
34
  # By default the <tt>Accept</tt> header will make a request for <tt>JSON</tt>
31
35
  DEFAULT_MIME_TYPE = :json
32
36
 
@@ -108,7 +112,7 @@ module Vertebrae
108
112
 
109
113
 
110
114
  def endpoint
111
- "#{self.scheme}://#{self.host}#{self.prefix}"
115
+ "#{self.scheme}://#{self.host}#{self.port.present? ? ":#{self.port}" : ''}#{self.prefix}"
112
116
  end
113
117
  end
114
118
  end
data/lib/connection.rb CHANGED
@@ -56,9 +56,9 @@ module Vertebrae
56
56
  def stack(&block)
57
57
  @stack ||= begin
58
58
  if block_given?
59
- Faraday::Builder.new(&block)
59
+ Faraday::RackBuilder.new(&block)
60
60
  else
61
- Faraday::Builder.new(&default_middleware)
61
+ Faraday::RackBuilder.new(&default_middleware)
62
62
  end
63
63
  end
64
64
  end
data/spec/api_spec.rb CHANGED
@@ -3,11 +3,11 @@ require 'spec_helper'
3
3
  describe Vertebrae::API do
4
4
  subject { described_class.new(options) }
5
5
 
6
- it { described_class.included_modules.should include Vertebrae::Request }
6
+ it { expect(described_class.included_modules).to include Vertebrae::Request }
7
7
 
8
8
  describe 'initialize' do
9
9
  before(:each) do
10
- Vertebrae::API.any_instance.stub(:default_options).and_return({content_type: 'foo'})
10
+ allow_any_instance_of(Vertebrae::API).to receive(:default_options).and_return({content_type: 'foo'})
11
11
  end
12
12
 
13
13
  context 'with an empty hash' do
@@ -23,8 +23,8 @@ describe Vertebrae::API do
23
23
 
24
24
  describe 'dummy' do
25
25
  describe 'should delegate to the client class' do
26
- specify{ Dummy.new.should respond_to(:api) }
27
- specify{ Dummy.should respond_to(:api) }
26
+ specify { expect(Dummy.new).to respond_to(:api) }
27
+ specify { expect(Dummy).to respond_to(:api) }
28
28
  end
29
29
  end
30
- end
30
+ end
@@ -38,9 +38,25 @@ describe Vertebrae::Configuration do
38
38
  end
39
39
 
40
40
  describe 'endpoint' do
41
- subject { Vertebrae::Configuration.new({host: 'test.com', prefix: ''}) }
41
+ context 'with no port specification' do
42
+ subject { Vertebrae::Configuration.new({host: 'test.com', prefix: ''}) }
42
43
 
43
- specify { subject.host.should == 'test.com' }
44
- specify { subject.endpoint.should == 'https://test.com'}
44
+ specify { expect(subject.host).to eq('test.com') }
45
+ specify { expect(subject.endpoint).to eq('https://test.com')}
46
+ end
47
+
48
+ context 'with port specification' do
49
+ subject { Vertebrae::Configuration.new({host: 'test.com', prefix: '', port: 8080}) }
50
+
51
+ specify { expect(subject.port).to eq(8080) }
52
+ specify { expect(subject.endpoint).to eq('https://test.com:8080')}
53
+
54
+ context 'with prefix' do
55
+ subject { Vertebrae::Configuration.new({host: 'test.com', prefix: '/api/v1', port: 8080}) }
56
+
57
+ specify { expect(subject.prefix).to eq('/api/v1') }
58
+ specify { expect(subject.endpoint).to eq('https://test.com:8080/api/v1')}
59
+ end
60
+ end
45
61
  end
46
- end
62
+ end
data/spec/logger_spec.rb CHANGED
@@ -2,17 +2,17 @@ require 'spec_helper'
2
2
 
3
3
  describe 'logging' do
4
4
  it "should have a logger" do
5
- Dummy.respond_to?(:logger).should be_truthy
5
+ expect(Dummy).to respond_to(:logger)
6
6
  end
7
7
 
8
8
  it "should be able to log debug methods" do
9
- Dummy.logger.respond_to?(:debug).should be_truthy
9
+ expect(Dummy.logger).to respond_to(:debug)
10
10
  end
11
11
 
12
12
  it "should be settable" do
13
- Dummy.respond_to?(:logger=).should be_truthy
14
- log = double()
13
+ expect(Dummy).to respond_to(:logger=)
14
+ log = double
15
15
  Dummy.logger = log
16
- Dummy.logger.should == log
16
+ expect(Dummy.logger).to eq(log)
17
17
  end
18
18
  end
data/spec/request_spec.rb CHANGED
@@ -7,22 +7,22 @@ describe Vertebrae::Request do
7
7
  let(:options) { {} }
8
8
 
9
9
  it "knows how to make get request" do
10
- vb.should_receive(:request).with(:get, path, params, options)
10
+ expect(vb).to receive(:request).with(:get, path, params, options)
11
11
  vb.get_request path, params, options
12
12
  end
13
13
 
14
14
  it "knows how to make patch request" do
15
- vb.should_receive(:request).with(:patch, path, params, options)
15
+ expect(vb).to receive(:request).with(:patch, path, params, options)
16
16
  vb.patch_request path, params, options
17
17
  end
18
18
 
19
19
  it "knows how to make post request" do
20
- vb.should_receive(:request).with(:post, path, params, options)
20
+ expect(vb).to receive(:request).with(:post, path, params, options)
21
21
  vb.post_request path, params, options
22
22
  end
23
23
 
24
24
  it "knows how to make put request" do
25
- vb.should_receive(:request).with(:put, path, params, options)
25
+ expect(vb).to receive(:request).with(:put, path, params, options)
26
26
  vb.put_request path, params, options
27
27
  end
28
28
 
@@ -32,46 +32,46 @@ describe Vertebrae::Request do
32
32
  end
33
33
 
34
34
  describe 'it should result in an appropriately configured connection object when it comes time to run transactions' do
35
- before(:each) do
36
- logger = double
37
- logger.stub(:debug).and_return(true)
38
- Vertebrae::Base.stub(:logger).and_return(logger)
39
- Vertebrae::API.any_instance.stub(:default_options).and_return({host: 'test.com'})
40
- end
35
+ before(:each) do
36
+ logger = double
37
+ logger.stub(:debug).and_return(true)
38
+ allow(Vertebrae::Base).to receive(:logger).and_return(logger)
39
+ allow_any_instance_of(Vertebrae::API).to receive(:default_options).and_return({host: 'test.com'})
40
+ end
41
41
 
42
- context 'with an empty hash' do
43
- let(:options) { {} }
44
- it 'should make the request to the default host' do
45
- stub_request(:get, 'https://test.com/path')
46
- vb.request(:get, '/path', {}, options)
47
- end
42
+ context 'with an empty hash' do
43
+ let(:options) { {} }
44
+ it 'should make the request to the default host' do
45
+ stub_request(:get, 'https://test.com/path')
46
+ vb.request(:get, '/path', {}, options)
48
47
  end
48
+ end
49
49
 
50
- context 'with a different host' do
51
- let(:options) { {host: 'test2.com'} }
52
- it 'should make the request to the default host' do
53
- stub_request(:get, 'https://test2.com/path')
54
- vb.request(:get, '/path', {}, options)
55
- end
50
+ context 'with a different host' do
51
+ let(:options) { {host: 'test2.com'} }
52
+ it 'should make the request to the default host' do
53
+ stub_request(:get, 'https://test2.com/path')
54
+ vb.request(:get, '/path', {}, options)
56
55
  end
56
+ end
57
57
 
58
- context 'with host specified at client initiation time' do
59
- let(:options) { {} }
58
+ context 'with host specified at client initiation time' do
59
+ let(:options) { {} }
60
60
 
61
- let(:vb) { Vertebrae::API.new host: 'test3.com' }
61
+ let(:vb) { Vertebrae::API.new host: 'test3.com' }
62
62
 
63
+ it 'should make the request to the default host' do
64
+ stub_request(:get, 'https://test3.com/path')
65
+ vb.request(:get, '/path', {}, options)
66
+ end
67
+
68
+ context 'with a different host' do
69
+ let(:options) { {host: 'test2.com'} }
63
70
  it 'should make the request to the default host' do
64
- stub_request(:get, 'https://test3.com/path')
71
+ stub_request(:get, 'https://test2.com/path')
65
72
  vb.request(:get, '/path', {}, options)
66
73
  end
67
-
68
- context 'with a different host' do
69
- let(:options) { {host: 'test2.com'} }
70
- it 'should make the request to the default host' do
71
- stub_request(:get, 'https://test2.com/path')
72
- vb.request(:get, '/path', {}, options)
73
- end
74
- end
75
74
  end
76
75
  end
77
- end
76
+ end
77
+ end
data/vertebrae.gemspec CHANGED
@@ -1,17 +1,17 @@
1
- # Generated by jeweler
1
+ # Generated by juwelier
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: vertebrae 0.2.11 ruby lib
5
+ # stub: vertebrae 0.3.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "vertebrae"
9
- s.version = "0.2.11"
9
+ s.version = "0.3.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Nathan Woodhull"]
14
- s.date = "2014-08-04"
14
+ s.date = "2016-08-03"
15
15
  s.description = "A set of low level infrastructure and reusable code for building API clients"
16
16
  s.email = "nathan@controlshiftlabs.com"
17
17
  s.extra_rdoc_files = [
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
54
54
  ]
55
55
  s.homepage = "http://github.com/controlshift/vertebrae"
56
56
  s.licenses = ["MIT"]
57
- s.rubygems_version = "2.2.2"
57
+ s.rubygems_version = "2.4.8"
58
58
  s.summary = "API Client Infrastructure"
59
59
 
60
60
  if s.respond_to? :specification_version then
@@ -69,7 +69,7 @@ Gem::Specification.new do |s|
69
69
  s.add_development_dependency(%q<bundler>, [">= 0"])
70
70
  s.add_development_dependency(%q<webmock>, [">= 0"])
71
71
  s.add_development_dependency(%q<rspec-its>, [">= 0"])
72
- s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
72
+ s.add_development_dependency(%q<juwelier>, ["~> 2.1.0"])
73
73
  else
74
74
  s.add_dependency(%q<activesupport>, [">= 0"])
75
75
  s.add_dependency(%q<faraday>, [">= 0"])
@@ -79,7 +79,7 @@ Gem::Specification.new do |s|
79
79
  s.add_dependency(%q<bundler>, [">= 0"])
80
80
  s.add_dependency(%q<webmock>, [">= 0"])
81
81
  s.add_dependency(%q<rspec-its>, [">= 0"])
82
- s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
82
+ s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
83
83
  end
84
84
  else
85
85
  s.add_dependency(%q<activesupport>, [">= 0"])
@@ -90,7 +90,7 @@ Gem::Specification.new do |s|
90
90
  s.add_dependency(%q<bundler>, [">= 0"])
91
91
  s.add_dependency(%q<webmock>, [">= 0"])
92
92
  s.add_dependency(%q<rspec-its>, [">= 0"])
93
- s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
93
+ s.add_dependency(%q<juwelier>, ["~> 2.1.0"])
94
94
  end
95
95
  end
96
96
 
metadata CHANGED
@@ -1,141 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertebrae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday_middleware
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: hashie
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: webmock
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec-its
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: jeweler
126
+ name: juwelier
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.0.0
131
+ version: 2.1.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.0.0
138
+ version: 2.1.0
139
139
  description: A set of low level infrastructure and reusable code for building API
140
140
  clients
141
141
  email: nathan@controlshiftlabs.com
@@ -145,11 +145,11 @@ extra_rdoc_files:
145
145
  - LICENSE.txt
146
146
  - README.rdoc
147
147
  files:
148
- - .document
149
- - .rspec
150
- - .ruby-gemset
151
- - .ruby-version
152
- - .travis.yml
148
+ - ".document"
149
+ - ".rspec"
150
+ - ".ruby-gemset"
151
+ - ".ruby-version"
152
+ - ".travis.yml"
153
153
  - Gemfile
154
154
  - Gemfile.lock
155
155
  - LICENSE.txt
@@ -187,17 +187,17 @@ require_paths:
187
187
  - lib
188
188
  required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - '>='
190
+ - - ">="
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - '>='
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.2.2
200
+ rubygems_version: 2.4.8
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: API Client Infrastructure