maintain 0.2.12 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.12
1
+ 0.2.13
@@ -179,7 +179,7 @@ module Maintain
179
179
  end
180
180
 
181
181
  def maintainee
182
- @_maintainee ||= @maintainee.split('::').inject(Object) {|mod, const| mod.const_get(const) }
182
+ @maintainee.split('::').inject(Object) {|mod, const| mod.const_get(const) }
183
183
  end
184
184
 
185
185
  def method_free?(method_name, class_method = false)
data/maintain.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{maintain}
8
- s.version = "0.2.12"
8
+ s.version = "0.2.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Flip Sasser"]
@@ -259,7 +259,9 @@ if proceed
259
259
 
260
260
  it "should not screw with to_json" do
261
261
  foo = ActiveMaintainTest.create
262
- foo.as_json.should == {:active_maintain_test => {:id => foo.id, :permissions => 0, :status => :new}.stringify_keys}.stringify_keys
262
+ json_hash = {:active_maintain_test => {:id => foo.id, :permissions => 0, :status => :new}.stringify_keys}.stringify_keys
263
+ foo.as_json.should == json_hash
264
+ json_hash.to_json.should == json_hash.to_json
263
265
  end
264
266
  end
265
267
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maintain
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 12
10
- version: 0.2.12
9
+ - 13
10
+ version: 0.2.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Flip Sasser