footrest 0.5.2 → 0.5.3

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: 7c5136f7c2f82c7ea32bb4bd3d5d02116752e0dd
4
- data.tar.gz: f5f3bb997b80304ecac95410daa16f156f966ead
3
+ metadata.gz: d90cd2fe4ddde8e1985ec60f1f1447ca0a702884
4
+ data.tar.gz: 913f2e63743580ebdc0f4222b09bde60969acb13
5
5
  SHA512:
6
- metadata.gz: 226314606de8b98563d54ac3395cc69c063d04de91af2dbe9ddfc2ce06c327458541b9f7861ea8eefd0eb09d8e67441789f1e79cc6a35c756485a6fc6bc1e9c0
7
- data.tar.gz: d4543a6d6c81e2d06becf15f6588f995a88e5c323578b8b5262adc5b390055e098c1be043401b05e5b6069b76d290163a320d8ba600c72af5280e4fb048c4a6e
6
+ metadata.gz: f9c31d958fb219775ee972ced3515faa054e6563617a89da529a29ec04b061bcbae9d04e1fc3290971559a165f8de74d87a215d901ee584300246501360fa329
7
+ data.tar.gz: 3b73c2b03292cd5cae4af34a1e75982a459eaf5126f3063b109386d196729e8d348c47aedaf29e563d31c41fb45d63bb8c4966a12d7c2dbc32d8cd45932c2d80
@@ -20,13 +20,13 @@ Gem::Specification.new do |gem|
20
20
  gem.version = Footrest::VERSION
21
21
 
22
22
  gem.add_development_dependency "rake"
23
- gem.add_development_dependency "bundler", ">= 1.0.0"
23
+ gem.add_development_dependency "bundler"
24
24
  gem.add_development_dependency "rspec", "~> 3.3"
25
25
  gem.add_development_dependency "webmock"
26
26
  gem.add_development_dependency "pry"
27
27
  gem.add_development_dependency "byebug"
28
28
 
29
- gem.add_dependency "faraday", "~> 0.9.0"
29
+ gem.add_dependency "faraday", ">= 0.9.0", "< 1"
30
30
  gem.add_dependency "activesupport", ">= 3.0.0"
31
31
 
32
32
  # Parses Link headers formatted according to RFC 5988 draft spec
@@ -19,7 +19,6 @@ module Footrest
19
19
  elsif config[:logger]
20
20
  faraday.use Faraday::Response::Logger, config[:logger]
21
21
  end
22
- faraday.adapter Faraday.default_adapter
23
22
  faraday.use Footrest::FollowRedirects
24
23
  faraday.use Footrest::ParseJson, :content_type => /\bjson$/
25
24
  faraday.use Footrest::RaiseFootrestErrors
@@ -27,8 +26,9 @@ module Footrest
27
26
  faraday.headers[:accept] = "application/json"
28
27
  faraday.headers[:authorization] = "Bearer #{config[:token]}" if config[:token]
29
28
  faraday.headers[:user_agent] = "Footrest"
29
+ faraday.adapter Faraday.default_adapter
30
30
  end
31
31
  end
32
32
 
33
33
  end
34
- end
34
+ end
@@ -1,3 +1,3 @@
1
1
  module Footrest
2
- VERSION = '0.5.2' unless defined?(Footrest::VERSION)
2
+ VERSION = '0.5.3' unless defined?(Footrest::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: footrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duane Johnson
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.0.0
34
+ version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 1.0.0
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -99,16 +99,22 @@ dependencies:
99
99
  name: faraday
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.9.0
105
+ - - "<"
106
+ - !ruby/object:Gem::Version
107
+ version: '1'
105
108
  type: :runtime
106
109
  prerelease: false
107
110
  version_requirements: !ruby/object:Gem::Requirement
108
111
  requirements:
109
- - - "~>"
112
+ - - ">="
110
113
  - !ruby/object:Gem::Version
111
114
  version: 0.9.0
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: '1'
112
118
  - !ruby/object:Gem::Dependency
113
119
  name: activesupport
114
120
  requirement: !ruby/object:Gem::Requirement