faraday_hal_middleware 0.0.1 → 0.1.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: c3637cc5447e62741f3caaa3e072397a77f1f0cb
4
- data.tar.gz: 8e04a568630bc6483f97244fca384369c4c45550
3
+ metadata.gz: 7dfcf33673587d8a191c777693982e0a57fbb62c
4
+ data.tar.gz: 4574a17a050286f76b88dcbe37dc0d48b79f36d5
5
5
  SHA512:
6
- metadata.gz: 281711339d4ba5c6b6269ba6d030401554d503b7da0c90f52138416364c27770a96d0f772ab5c31656a2de410f8869da4007b0bcafdc9d7c8d603a763959dc3a
7
- data.tar.gz: a52c62b9784cde48d71dc48f1dea6ae4588283c4e3a953ca0d03b78263ef32f40d746bca51b030901ab89af520a36956d62deee8cddc713fd9d99bf616f873eb
6
+ metadata.gz: b64e1ff0ae0429c6bea0d9cf35c186af9f813299599da0cea2485b5e5361a42e672adc2b4909237121c111e700e8eb535ce16843c2afde1e42aaf51ff9408942
7
+ data.tar.gz: dbe371ddfa9e31b8d30ae33953e7a25d873d4f69e3bf36424af9c81aa1d82d646c2fdc69c2472de9a96fd64c721b7e2b8eb54d651a63ebef9584eea575396bf0
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency 'bundler', '~> 1.6'
22
22
 
23
- spec.add_dependency 'faraday_middleware', ['>= 0.9', '< 0.10']
23
+ spec.add_dependency 'faraday_middleware', ['~> 0.9']
24
24
 
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module FaradayHalMiddleware
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -60,8 +60,8 @@ describe FaradayMiddleware::ParseHalJson, :type => :response do
60
60
  end
61
61
 
62
62
  it "chokes on invalid json" do
63
- ['{!', '"a"', 'true', 'null', '1'].each do |data|
64
- expect{ process(data) }.to raise_error(Faraday::Error::ParsingError)
63
+ ['{!', '"a'].each do |data|
64
+ expect{ process(data) }.to raise_error(Faraday::ParsingError)
65
65
  end
66
66
  end
67
67
 
metadata CHANGED
@@ -1,49 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday_hal_middleware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koen Punt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
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: '1.6'
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'
34
- - - <
35
- - !ruby/object:Gem::Version
36
- version: '0.10'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - '>='
38
+ - - "~>"
42
39
  - !ruby/object:Gem::Version
43
40
  version: '0.9'
44
- - - <
45
- - !ruby/object:Gem::Version
46
- version: '0.10'
47
41
  description: Faraday Middleware for JSON HAL requests and responses
48
42
  email:
49
43
  - koen@fetch.nl
@@ -51,8 +45,8 @@ executables: []
51
45
  extensions: []
52
46
  extra_rdoc_files: []
53
47
  files:
54
- - .gitignore
55
- - .rspec
48
+ - ".gitignore"
49
+ - ".rspec"
56
50
  - Gemfile
57
51
  - LICENSE.txt
58
52
  - README.md
@@ -75,17 +69,17 @@ require_paths:
75
69
  - lib
76
70
  required_ruby_version: !ruby/object:Gem::Requirement
77
71
  requirements:
78
- - - '>='
72
+ - - ">="
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
81
75
  required_rubygems_version: !ruby/object:Gem::Requirement
82
76
  requirements:
83
- - - '>='
77
+ - - ">="
84
78
  - !ruby/object:Gem::Version
85
79
  version: '0'
86
80
  requirements: []
87
81
  rubyforge_project:
88
- rubygems_version: 2.2.2
82
+ rubygems_version: 2.6.8
89
83
  signing_key:
90
84
  specification_version: 4
91
85
  summary: Faraday Middleware for JSON HAL requests and responses
@@ -93,4 +87,3 @@ test_files:
93
87
  - spec/spec_helper.rb
94
88
  - spec/unit/encode_hal_json_spec.rb
95
89
  - spec/unit/parse_hal_json_spec.rb
96
- has_rdoc: