rest_model 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTY0NjJjM2I0OWQ4YWQwOWU3MWY2OGYzYjI4NDU0YTY3NTRmMjFhNw==
5
+ data.tar.gz: !binary |-
6
+ OWFjOTQ1ZGYwNWNiMTZmNzZjMTc3NWQ4YTMyOWFkMTBjNmM3YTg5YQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ Njg0MTE5MjZkMDE2ZTU2NGRkYjI0NmE1OWE5MjRhZTMzMDYxMTUwY2M3N2Yx
10
+ N2Y3ZDA4ZGM5YjNjODE0Yzk3NjBjMTdmZjkxZTk4ZTZiZTE4ODMwMTIxMmY1
11
+ YTY5MDE0NmY5OTFjMWMyMDAwOGI4YmIzMThmZTJhOTMzYTBlMmE=
12
+ data.tar.gz: !binary |-
13
+ OGRiMzIzM2UyYzM5YjgxN2EyMzJlMThmZDJjZTQyMjJlNGM1MzVjNjVkYjM2
14
+ OTRkZjQ0ZWNjZjk2MTk2ZDk2ZDczYmZiZjQ4M2E3OWNmMjg0NDUxNTEzZGQ5
15
+ MjQyOGNhMmVlOWUwMjc0ZWNmNjIzNTVmYzZkYWRlNzczNTk4Zjc=
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 1.9.2
3
4
  - 1.9.3
4
5
  - 2.0.0-p195
5
6
  script: bundle exec rspec spec
@@ -1,3 +1,3 @@
1
1
  class RestModel
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -17,7 +17,13 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency "activesupport", "~> 4.0.0"
20
+
21
+ if RUBY_VERSION == '1.9.2'
22
+ s.add_dependency "activesupport", "~> 3.2"
23
+ else
24
+ s.add_dependency "activesupport", ">= 3.2"
25
+ end
26
+
21
27
  s.add_dependency "i18n", ">= 0.6"
22
28
  s.add_development_dependency "rspec", "~> 2.14.1"
23
29
  s.add_development_dependency "rake"
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
5
- prerelease:
4
+ version: 0.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Victor Rodrigues
@@ -11,28 +10,25 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-10-02 00:00:00.000000000 Z
13
+ date: 2013-10-03 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: activesupport
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ~>
19
+ - - ! '>='
22
20
  - !ruby/object:Gem::Version
23
- version: 4.0.0
21
+ version: '3.2'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ~>
26
+ - - ! '>='
30
27
  - !ruby/object:Gem::Version
31
- version: 4.0.0
28
+ version: '3.2'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: i18n
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rspec
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ~>
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :development
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ~>
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: rake
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ! '>='
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ! '>='
78
69
  - !ruby/object:Gem::Version
@@ -225,32 +216,64 @@ files:
225
216
  - spec/unit/source/retriever_spec.rb
226
217
  homepage: http://github.com/rodrigues/rest_model
227
218
  licenses: []
219
+ metadata: {}
228
220
  post_install_message:
229
221
  rdoc_options: []
230
222
  require_paths:
231
223
  - lib
232
224
  required_ruby_version: !ruby/object:Gem::Requirement
233
- none: false
234
225
  requirements:
235
226
  - - ! '>='
236
227
  - !ruby/object:Gem::Version
237
228
  version: '0'
238
- segments:
239
- - 0
240
- hash: -2617658786856800409
241
229
  required_rubygems_version: !ruby/object:Gem::Requirement
242
- none: false
243
230
  requirements:
244
231
  - - ! '>='
245
232
  - !ruby/object:Gem::Version
246
233
  version: '0'
247
- segments:
248
- - 0
249
- hash: -2617658786856800409
250
234
  requirements: []
251
235
  rubyforge_project:
252
- rubygems_version: 1.8.23
236
+ rubygems_version: 2.0.6
253
237
  signing_key:
254
- specification_version: 3
238
+ specification_version: 4
255
239
  summary: ''
256
- test_files: []
240
+ test_files:
241
+ - spec/integration/belongs_to_spec.rb
242
+ - spec/integration/embeds_many_spec.rb
243
+ - spec/integration/embeds_one_spec.rb
244
+ - spec/integration/has_many_spec.rb
245
+ - spec/integration/has_one_spec.rb
246
+ - spec/integration/property_spec.rb
247
+ - spec/integration/summarization_spec.rb
248
+ - spec/integration/to_source_spec.rb
249
+ - spec/integration/update_attributes_spec.rb
250
+ - spec/integration/validations_spec.rb
251
+ - spec/spec_helper.rb
252
+ - spec/support/examples.rb
253
+ - spec/support/out.rb
254
+ - spec/support/shared_examples.rb
255
+ - spec/unit/configuration_spec.rb
256
+ - spec/unit/key/association_spec.rb
257
+ - spec/unit/key/embeddable/builder_spec.rb
258
+ - spec/unit/key/embeddable/response_spec.rb
259
+ - spec/unit/key/embeddable/retriever_spec.rb
260
+ - spec/unit/key/embeddable_spec.rb
261
+ - spec/unit/key/property/builder_spec.rb
262
+ - spec/unit/key/property/response_spec.rb
263
+ - spec/unit/key/property/retriever_spec.rb
264
+ - spec/unit/key/property_spec.rb
265
+ - spec/unit/key/relation/builder_spec.rb
266
+ - spec/unit/key/relation/response_spec.rb
267
+ - spec/unit/key/relation_spec.rb
268
+ - spec/unit/key_spec.rb
269
+ - spec/unit/response_spec.rb
270
+ - spec/unit/rest_model_spec.rb
271
+ - spec/unit/serialization/boolean_spec.rb
272
+ - spec/unit/serialization/date_spec.rb
273
+ - spec/unit/serialization/date_time_spec.rb
274
+ - spec/unit/serialization/float_spec.rb
275
+ - spec/unit/serialization/integer_spec.rb
276
+ - spec/unit/serialization/string_spec.rb
277
+ - spec/unit/source/path_spec.rb
278
+ - spec/unit/source/retriever_spec.rb
279
+ has_rdoc: