active_model_version_serializers 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'active_model_serializers', '~>0.5.2'
20
+ gem.add_dependency 'active_model_serializers', '>=0.5.0'
21
21
  gem.add_dependency "activesupport", ">= 3.0.0"
22
22
 
23
23
  gem.add_development_dependency "rspec", "~> 2.11.0"
@@ -5,6 +5,7 @@ require 'active_support/core_ext/hash/slice'
5
5
 
6
6
  module ActiveModel
7
7
  class VersionSerializer
8
+
8
9
  # make sure we move serialization to the version
9
10
  [:as_json, :to_json, :serializable_hash].each do |method|
10
11
  undef_method method if instance_methods.include?(method)
@@ -103,7 +104,7 @@ module ActiveModel
103
104
 
104
105
  # lets be nice to method
105
106
  def respond_to_missing?(method_name, include_private = false)
106
- @vinstance.respond_to_missing?(method_name, include_private)
107
+ @vinstance.respond_to?(method_name, include_private)
107
108
  end
108
109
 
109
110
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  class VersionSerializer
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_model_version_serializers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-27 00:00:00.000000000 Z
12
+ date: 2012-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_model_serializers
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.5.2
21
+ version: 0.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.5.2
29
+ version: 0.5.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activesupport
32
32
  requirement: !ruby/object:Gem::Requirement