pluct 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/pluct/resource.rb +1 -1
- data/lib/pluct/schema.rb +1 -1
- data/lib/pluct/version.rb +1 -1
- data/lib/pluct.rb +0 -1
- data/pluct.gemspec +0 -1
- data/spec/acceptance/pluct_spec.rb +1 -1
- data/spec/pluct/resource_spec.rb +1 -1
- metadata +1 -16
- data/lib/pluct/extensions/hash.rb +0 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmZiMjRiNWU4Y2YyMzQwYWZmZDE5ZjI0NjJmMzg3ZmI0NzY4OTBiMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWY0Mzc4NTUxYTk3YmJhZmJlMmY2ZWI5NTM3YzhmODdlYzk1OTBmYg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTdjYzQ3M2IxNGU4NWYzMWU3YmY0MjZhM2U0OGEzNDBjYTFjMzc5NDg5MGE0
|
10
|
+
NDlkMzFmNmIxZDU4MjYzOTc5YzdiMTMzMmRjNTE0MjVkNzg1YWFmY2JmZmU4
|
11
|
+
NTRjZDM1MzUyODc1N2MyZTYwZWIwODQxMWY5ZGJmMTcwMThjMzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWZhOWQzZDVkMWY5OWI2ZWRkNDE3ZmEyM2Q0MTcxYzlkZGU5MGVjMmI5MmE4
|
14
|
+
MmE0NmZiMDU5NTNmZTRlNmIyYjhiNjYxNjdhOWYyNWE4OWZiNTkwOWQxMTU4
|
15
|
+
MWM4ZGFiMzcxZDE1NmY1MDcyZTBhYWI5YzFjYzg5YmE0YWZhMmI=
|
data/lib/pluct/resource.rb
CHANGED
data/lib/pluct/schema.rb
CHANGED
data/lib/pluct/version.rb
CHANGED
data/lib/pluct.rb
CHANGED
data/pluct.gemspec
CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "addressable"
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
-
spec.add_development_dependency "hashie"
|
24
23
|
spec.add_development_dependency "multi_json"
|
25
24
|
spec.add_development_dependency "rake"
|
26
25
|
spec.add_development_dependency "rest-client"
|
@@ -7,7 +7,7 @@ describe Pluct, :acceptance do
|
|
7
7
|
resource_self = MultiJson.decode(resource.self)
|
8
8
|
|
9
9
|
expect(resource_self).to have_key("items")
|
10
|
-
expect(resource_self
|
10
|
+
expect(resource_self["item_count"]).to eq 2
|
11
11
|
end
|
12
12
|
|
13
13
|
it 'creates a new app', :vcr, cassette_name: 'acceptance/creates_new_app' do
|
data/spec/pluct/resource_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe Pluct::Resource do
|
|
23
23
|
stub_request(:get, 'www.example.com/schemas/user').to_return(body: File.read('spec/assets/user_schema.json'),
|
24
24
|
status: 200)
|
25
25
|
|
26
|
-
schema.stub(:links).and_return(user_schema
|
26
|
+
schema.stub(:links).and_return(user_schema["links"])
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'has resource data' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alberto Leal
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: hashie
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ! '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: multi_json
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +165,6 @@ files:
|
|
179
165
|
- Rakefile
|
180
166
|
- lib/pluct.rb
|
181
167
|
- lib/pluct/errors.rb
|
182
|
-
- lib/pluct/extensions/hash.rb
|
183
168
|
- lib/pluct/helpers.rb
|
184
169
|
- lib/pluct/helpers/request.rb
|
185
170
|
- lib/pluct/resource.rb
|