faraday_middleware-parse_oj 0.3.0 → 0.3.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: b184847a122ce6ba755d8e5de52f7e09e667d2e7
4
- data.tar.gz: 384e3e0b715d281341f3b21af5f2a445fff25885
3
+ metadata.gz: 9b6a289a26f56c14b974950dafa77fa18a1618e9
4
+ data.tar.gz: 82350404341a26f503b721cab221d91ab7597dac
5
5
  SHA512:
6
- metadata.gz: fda4cf70da2c925798bc707c386688f98fe8fc8cc72d1cb811bbc6635b31e7cc94badee7f1681288a6622b190bf5b54197fae4dcdd51d9a2ee79ef0f2a7870e7
7
- data.tar.gz: ed8070e8512acea87d9a625cc7d9002d4c95191578b7f0e41bc161b3b7a0eedd33f528eb688a448b0b0424ac3367789588bc8a18a534a70a3269ee9244d6367a
6
+ metadata.gz: b68a67f194d53fd206b66d2fb0817cdff43b8be726752a3576ac9fd498ce802c6908b1b48fc4fe16b6a6013aba17d0d406b7983ec910fadc465ed9bcab5efa68
7
+ data.tar.gz: 7ea79999d77066f15a9ab224a4110b5f896d7c99d2106119eed698419d9d34bec16bb782fd270a8cb408b4b296b684d15f9240e1f30575a61ac1eb50d2594338
@@ -7,18 +7,18 @@ Gem::Specification.new do |gem|
7
7
  gem.summary = %q{Oj middleware for Faraday}
8
8
  gem.description = %q{Faraday middleware for parsing JSON using the Oj parser.}
9
9
  gem.homepage = 'https://github.com/7even/faraday_middleware-parse_oj'
10
-
10
+
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = 'faraday_middleware-parse_oj'
15
15
  gem.require_paths = ['lib']
16
16
  gem.version = FaradayMiddleware::ParseOj::VERSION
17
-
18
- gem.add_runtime_dependency 'faraday', '~> 0.9.0'
19
- gem.add_runtime_dependency 'faraday_middleware', '~> 0.9.1'
17
+
18
+ gem.add_runtime_dependency 'faraday', '~> 0.9'
19
+ gem.add_runtime_dependency 'faraday_middleware', '>= 0.9.1', '< 1.0'
20
20
  gem.add_runtime_dependency 'oj', '~> 2.0'
21
-
21
+
22
22
  gem.add_development_dependency 'rake'
23
23
  gem.add_development_dependency 'rspec'
24
24
  end
@@ -3,12 +3,12 @@ require 'faraday_middleware/response_middleware'
3
3
  module FaradayMiddleware
4
4
  class ParseOj < ResponseMiddleware
5
5
  dependency 'oj'
6
-
6
+
7
7
  define_parser do |body|
8
8
  Oj.load(body, mode: :compat) unless body.strip.empty?
9
9
  end
10
-
11
- VERSION = '0.3.0'
10
+
11
+ VERSION = '0.3.1'
12
12
  end
13
13
  end
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday_middleware-parse_oj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vsevolod Romashov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-24 00:00:00.000000000 Z
11
+ date: 2016-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: '0.9'
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
- version: 0.9.0
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday_middleware
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.9.1
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '1.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: 0.9.1
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: oj
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
120
  version: '0'
115
121
  requirements: []
116
122
  rubyforge_project:
117
- rubygems_version: 2.2.2
123
+ rubygems_version: 2.5.1
118
124
  signing_key:
119
125
  specification_version: 4
120
126
  summary: Oj middleware for Faraday