ruby-mass 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 1.9.2
5
- - jruby-18mode
6
- - jruby-19mode
7
- - rbx-19mode
8
- - 1.8.7
9
- - ree
5
+ - 1.8.7
@@ -1,5 +1,9 @@
1
1
  = RubyMass CHANGELOG
2
2
 
3
+ == Version 0.1.3 (January 30, 2013)
4
+
5
+ * Being able to tackle "blank slate" objects when checking whether they answer to `class`
6
+
3
7
  == Version 0.1.2 (January 30, 2013)
4
8
 
5
9
  * Only listing objects which respond to `class` when indexing
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -33,7 +33,7 @@ module Mass
33
33
  #
34
34
  def index(*mods)
35
35
  instances_within(*mods).inject({}) do |hash, object|
36
- ((hash[object.class.name] ||= []) << object.object_id).sort! if object.respond_to?(:class)
36
+ ((hash[object.class.name] ||= []) << object.object_id).sort! if object.methods.collect(&:to_s).include?("class")
37
37
  hash
38
38
  end
39
39
  end
@@ -1,7 +1,7 @@
1
1
  module RubyMass #:nodoc:
2
2
  MAJOR = 0
3
3
  MINOR = 1
4
- TINY = 2
4
+ TINY = 3
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
@@ -12,5 +12,5 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
13
  gem.name = "ruby-mass"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = "0.1.2"
15
+ gem.version = "0.1.3"
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -50,7 +50,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  segments:
52
52
  - 0
53
- hash: 25303399653673022
53
+ hash: -3240244747461446086
54
54
  required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  segments:
61
61
  - 0
62
- hash: 25303399653673022
62
+ hash: -3240244747461446086
63
63
  requirements: []
64
64
  rubyforge_project:
65
65
  rubygems_version: 1.8.24