oat 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +14 -3
- data/gemfiles/Gemfile.as-4.1.x +5 -0
- data/lib/oat/serializer.rb +1 -1
- data/lib/oat/version.rb +1 -1
- data/oat.gemspec +2 -1
- data/spec/adapters/json_api_spec.rb +1 -1
- data/spec/serializer_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b99c27fce884d038d2dcb994993171a221fe9207
|
4
|
+
data.tar.gz: 6c1d130acce638a3387a99f029925e38a5483c51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1f2ee9f1645746fda92ebe645083071c0cb2867766fa35ff8cc2b63a14aa297975035e02dbdf6bd5dfd2707d6acd4c15a2ab9b187cc23ea5f1ba30a48fcea81
|
7
|
+
data.tar.gz: cba99539507beaaa10e87339ccdf2b1dcd3ce13431b0651e1ff18ac2b13f788a8a812b09921efa7f01b478d3beff91e53c75ce170539550b396e04ad4ae9e38f
|
data/.travis.yml
CHANGED
@@ -1,25 +1,36 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
+
- 2.1.2
|
3
4
|
- 2.0.0
|
4
5
|
- 1.9.3
|
5
6
|
- 1.9.2
|
6
7
|
- 1.8.7
|
8
|
+
- jruby-1.7.11
|
9
|
+
- rbx-2.2.9
|
7
10
|
|
8
11
|
gemfile:
|
9
|
-
- gemfiles/Gemfile.as-2.3.x
|
10
12
|
- gemfiles/Gemfile.as-3.0.x
|
11
13
|
- gemfiles/Gemfile.as-3.1.x
|
12
14
|
- gemfiles/Gemfile.as-3.2.x
|
13
15
|
- gemfiles/Gemfile.as-4.0.x
|
16
|
+
- gemfiles/Gemfile.as-4.1.x
|
14
17
|
|
15
18
|
matrix:
|
16
19
|
include:
|
17
20
|
- gemfile: gemfiles/Gemfile.as-1.4.4
|
18
21
|
rvm: 1.8.7
|
19
|
-
exclude:
|
20
22
|
- gemfile: gemfiles/Gemfile.as-2.3.x
|
21
|
-
rvm:
|
23
|
+
rvm: 1.8.7
|
24
|
+
- gemfile: gemfiles/Gemfile.as-2.3.x
|
25
|
+
rvm: 1.9.2
|
26
|
+
- gemfile: gemfiles/Gemfile.as-2.3.x
|
27
|
+
rvm: 1.9.3
|
28
|
+
exclude:
|
22
29
|
- gemfile: gemfiles/Gemfile.as-4.0.x
|
23
30
|
rvm: 1.8.7
|
31
|
+
- gemfile: gemfiles/Gemfile.as-4.1.x
|
32
|
+
rvm: 1.8.7
|
24
33
|
- gemfile: gemfiles/Gemfile.as-4.0.x
|
25
34
|
rvm: 1.9.2
|
35
|
+
- gemfile: gemfiles/Gemfile.as-4.1.x
|
36
|
+
rvm: 1.9.2
|
data/lib/oat/serializer.rb
CHANGED
data/lib/oat/version.rb
CHANGED
data/oat.gemspec
CHANGED
@@ -21,5 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency "activesupport"
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.3"
|
23
23
|
spec.add_development_dependency "rake"
|
24
|
-
spec.add_development_dependency "rspec"
|
24
|
+
spec.add_development_dependency "rspec", ">= 3.0"
|
25
|
+
spec.add_development_dependency "rspec-its"
|
25
26
|
end
|
@@ -104,7 +104,7 @@ describe Oat::Adapters::JsonAPI do
|
|
104
104
|
its(:size) { should eq(2) }
|
105
105
|
|
106
106
|
it 'has the correct entities' do
|
107
|
-
linked_friends.map{ |friend| friend.fetch(:id) }.
|
107
|
+
expect(linked_friends.map{ |friend| friend.fetch(:id) }).to include(2, 4)
|
108
108
|
end
|
109
109
|
end
|
110
110
|
end
|
data/spec/serializer_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismael Celis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -54,6 +54,20 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-its
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - '>='
|
@@ -89,6 +103,7 @@ files:
|
|
89
103
|
- gemfiles/Gemfile.as-3.1.x
|
90
104
|
- gemfiles/Gemfile.as-3.2.x
|
91
105
|
- gemfiles/Gemfile.as-4.0.x
|
106
|
+
- gemfiles/Gemfile.as-4.1.x
|
92
107
|
- lib/oat.rb
|
93
108
|
- lib/oat/adapter.rb
|
94
109
|
- lib/oat/adapters/hal.rb
|