identifies_as 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +1 -0
  2. data/lib/identifies_as.rb +4 -0
  3. metadata +1 -1
data/CHANGELOG.rdoc CHANGED
@@ -9,3 +9,4 @@ Renamed :no_longer_identifying_as! and :instances_no_longer_identify_as! to :sto
9
9
  Added support for subclassing and module inclusion.
10
10
  Added Module-level support for :<, :>, :<=, :>=, :<==>.
11
11
  Updates for support to stop identification when an ancestor identifies (either actually or by way of IdentifiesAs).
12
+ Fix for Module (now Module includes IdentifiesAs::ClassInstance).
data/lib/identifies_as.rb CHANGED
@@ -24,3 +24,7 @@ require_relative( basepath + '.rb' )
24
24
  class ::Object
25
25
  include ::IdentifiesAs
26
26
  end
27
+
28
+ class ::Module
29
+ include ::IdentifiesAs::ClassInstance
30
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identifies_as
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: