lazy_observers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lazy_observers (0.0.1)
4
+ lazy_observers (0.0.2)
5
5
  activerecord
6
6
 
7
7
  GEM
data/Readme.md CHANGED
@@ -2,7 +2,7 @@ Make Activerecord Observers not load observed models -> faster/safer environment
2
2
  - faster tests + console
3
3
  - able to boot environment without/with empty/with old database
4
4
 
5
- Works on rails 2.3 + 3.0 (not 3.2)
5
+ Works on rails 2.3 + 3.0 (not yet 3.2)
6
6
 
7
7
  Install
8
8
  =======
@@ -1,3 +1,3 @@
1
1
  module LazyObservers
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -72,7 +72,9 @@ module LazyObservers
72
72
 
73
73
  module InheritedDebugger
74
74
  def inherited(subclass)
75
- puts subclass
75
+ @inherited_counter ||= 0
76
+ @inherited_counter += 1
77
+ puts "##{@inherited_counter} #{subclass}"
76
78
  puts caller
77
79
  puts "-" * 72
78
80
  super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_observers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  segments:
78
78
  - 0
79
- hash: 3828034774033645633
79
+ hash: -4605400004788605618
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  segments:
87
87
  - 0
88
- hash: 3828034774033645633
88
+ hash: -4605400004788605618
89
89
  requirements: []
90
90
  rubyforge_project:
91
91
  rubygems_version: 1.8.24