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 +4 -4
- data/faraday_hal_middleware.gemspec +1 -1
- data/lib/faraday_hal_middleware/version.rb +1 -1
- data/spec/unit/parse_hal_json_spec.rb +2 -2
- metadata +11 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dfcf33673587d8a191c777693982e0a57fbb62c
|
4
|
+
data.tar.gz: 4574a17a050286f76b88dcbe37dc0d48b79f36d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b64e1ff0ae0429c6bea0d9cf35c186af9f813299599da0cea2485b5e5361a42e672adc2b4909237121c111e700e8eb535ce16843c2afde1e42aaf51ff9408942
|
7
|
+
data.tar.gz: dbe371ddfa9e31b8d30ae33953e7a25d873d4f69e3bf36424af9c81aa1d82d646c2fdc69c2472de9a96fd64c721b7e2b8eb54d651a63ebef9584eea575396bf0
|
@@ -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
|
64
|
-
expect{ process(data) }.to raise_error(Faraday::
|
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
|
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:
|
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.
|
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:
|