callmeback 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development, :test do
9
+ gem "rspec", "~> 2.8.0"
10
+ gem "rdoc", "~> 3.12"
11
+ gem "bundler"
12
+ gem "jeweler", "~> 1.8.3"
13
+ gem "simplecov", ">= 0"
14
+ gem 'guard'
15
+ gem 'guard-rspec'
16
+ gem 'pry'
17
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (3.2.3)
5
+ i18n (~> 0.6)
6
+ multi_json (~> 1.0)
7
+ coderay (1.0.6)
8
+ diff-lcs (1.1.3)
9
+ ffi (1.0.11)
10
+ git (1.2.5)
11
+ guard (1.0.2)
12
+ ffi (>= 0.5.0)
13
+ thor (~> 0.14.6)
14
+ guard-rspec (0.7.0)
15
+ guard (>= 0.10.0)
16
+ i18n (0.6.0)
17
+ jeweler (1.8.3)
18
+ bundler (~> 1.0)
19
+ git (>= 1.2.5)
20
+ rake
21
+ rdoc
22
+ json (1.7.1)
23
+ method_source (0.7.1)
24
+ multi_json (1.3.4)
25
+ pry (0.9.9.4)
26
+ coderay (~> 1.0.5)
27
+ method_source (~> 0.7.1)
28
+ slop (>= 2.4.4, < 3)
29
+ rake (0.9.2.2)
30
+ rdoc (3.12)
31
+ json (~> 1.4)
32
+ rspec (2.8.0)
33
+ rspec-core (~> 2.8.0)
34
+ rspec-expectations (~> 2.8.0)
35
+ rspec-mocks (~> 2.8.0)
36
+ rspec-core (2.8.0)
37
+ rspec-expectations (2.8.0)
38
+ diff-lcs (~> 1.1.2)
39
+ rspec-mocks (2.8.0)
40
+ simplecov (0.6.2)
41
+ multi_json (~> 1.3)
42
+ simplecov-html (~> 0.5.3)
43
+ simplecov-html (0.5.3)
44
+ slop (2.4.4)
45
+ thor (0.14.6)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ activesupport (>= 2.3.5)
52
+ bundler
53
+ guard
54
+ guard-rspec
55
+ jeweler (~> 1.8.3)
56
+ pry
57
+ rdoc (~> 3.12)
58
+ rspec (~> 2.8.0)
59
+ simplecov
data/Guardfile ADDED
@@ -0,0 +1,8 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard :rspec do
5
+ watch(%r{^spec/.+_spec\.rb$})
6
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
+ watch('spec/spec_helper.rb') { "spec" }
8
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Sébastien Azimi
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,76 @@
1
+ = Call Me Back
2
+
3
+ == Synopsis
4
+ Automatically provide dead-simple ActiveSupport callbacks to your instance methods.
5
+
6
+ == Preface
7
+ This gem is a small extension of ActiveSupport available features. In fact, as referred at this {this link}[http://api.rubyonrails.org/classes/ActiveSupport/Callbacks.html], creating callbacks for custom methods induces modify your existent method code source. This gem just automates this task.
8
+
9
+ == Why?
10
+ When I work in Ruby On Rails projects, I often use native callbacks, provided by ActiveSupport, such as +before_save+ or +after_create+. But sometimes I want to use this kind of hook methods for my methods. Of course, there is a way to perform this, explained in the previous link. This gem just simplifies the way you can do this.
11
+
12
+ == Installation
13
+ Just type:
14
+ gem install callmeback
15
+
16
+ Or add it to your gem file:
17
+ gem 'callmeback'
18
+
19
+ == Usage
20
+ class Example
21
+ include Callmeback
22
+
23
+ before :foo => :bar
24
+
25
+ def foo
26
+ (@result ||= []) << 'foo'
27
+ end
28
+
29
+ def bar
30
+ (@result ||= []) << 'bar'
31
+ end
32
+ end
33
+
34
+ example = Example.new
35
+ example.foo #=> ['bar','foo']
36
+
37
+ Because this extension overrides the +.initialize+ method, if you need to redefine it, please add +callback_binding+ to your +.initialize+ method. Here is the same example as above but implemeting the +.initialize+ method:
38
+ class Example
39
+ include Callmeback
40
+
41
+ after :foo => :bar
42
+
43
+ def initialize
44
+ @result = []
45
+ callback_binding
46
+ end
47
+
48
+ def foo
49
+ @result << 'foo'
50
+ end
51
+
52
+ def bar
53
+ @result << 'bar'
54
+ end
55
+ end
56
+
57
+ example = Example.new
58
+ example.foo #=> ['foo','bar']
59
+
60
+ You can use +before+, +after+ and +around+, as if you use the suggested method in the +ActiveSupport::Callbacks+ documentation.
61
+
62
+ == How is it work?
63
+ First, this gem module defines the class methods +.before+, +.after+, +.around+ in your class. Then when you instanciate your class, the gem overrides your binded methods and wraps them to bind your custom callbacks.
64
+
65
+ == Contributing to callmeback
66
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
67
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
68
+ * Fork the project.
69
+ * Start a feature/bugfix branch.
70
+ * Commit and push until you are happy with your contribution.
71
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
72
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
73
+
74
+ == Copyright
75
+ Copyright (c) 2012 Sébastien Azimi. See LICENSE.txt for
76
+ further details.
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "callmeback"
18
+ gem.homepage = "http://github.com/suruja/callmeback"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Automatically provide dead-simple ActiveSupport callbacks to your instance methods.}
21
+ gem.description = %Q{}
22
+ gem.email = "sebstp@gmail.com"
23
+ gem.authors = ["Sebastien Azimi"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "callmeback #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,77 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "callmeback"
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Sebastien Azimi"]
12
+ s.date = "2012-05-08"
13
+ s.description = ""
14
+ s.email = "sebstp@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "Guardfile",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "callmeback.gemspec",
30
+ "lib/callmeback.rb",
31
+ "spec/app/models/example.rb",
32
+ "spec/callmeback_spec.rb",
33
+ "spec/spec_helper.rb"
34
+ ]
35
+ s.homepage = "http://github.com/suruja/callmeback"
36
+ s.licenses = ["MIT"]
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = "1.8.23"
39
+ s.summary = "Automatically provide dead-simple ActiveSupport callbacks to your instance methods."
40
+
41
+ if s.respond_to? :specification_version then
42
+ s.specification_version = 3
43
+
44
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
46
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
47
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
48
+ s.add_development_dependency(%q<bundler>, [">= 0"])
49
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
50
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
51
+ s.add_development_dependency(%q<guard>, [">= 0"])
52
+ s.add_development_dependency(%q<guard-rspec>, [">= 0"])
53
+ s.add_development_dependency(%q<pry>, [">= 0"])
54
+ else
55
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
56
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
57
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
58
+ s.add_dependency(%q<bundler>, [">= 0"])
59
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
60
+ s.add_dependency(%q<simplecov>, [">= 0"])
61
+ s.add_dependency(%q<guard>, [">= 0"])
62
+ s.add_dependency(%q<guard-rspec>, [">= 0"])
63
+ s.add_dependency(%q<pry>, [">= 0"])
64
+ end
65
+ else
66
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
67
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
68
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
69
+ s.add_dependency(%q<bundler>, [">= 0"])
70
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
71
+ s.add_dependency(%q<simplecov>, [">= 0"])
72
+ s.add_dependency(%q<guard>, [">= 0"])
73
+ s.add_dependency(%q<guard-rspec>, [">= 0"])
74
+ s.add_dependency(%q<pry>, [">= 0"])
75
+ end
76
+ end
77
+
data/lib/callmeback.rb ADDED
@@ -0,0 +1,51 @@
1
+ require 'active_support/callbacks'
2
+
3
+ module Callmeback
4
+
5
+ def self.included(base)
6
+ $callmeback_methods = {}
7
+ base.extend(ClassMethods)
8
+ base.module_eval do
9
+ include ActiveSupport::Callbacks
10
+ end
11
+ end
12
+
13
+ def initialize
14
+ super
15
+ callback_binding
16
+ end
17
+
18
+ def callback_binding
19
+ $callmeback_methods.each do |pst, vals|
20
+ vals.each do |binded, callback|
21
+ class_eval do
22
+ define_method "wrapped_#{binded}" do
23
+ prefix = 'callmeback'
24
+ prefixed_binded = "#{prefix}_#{binded}"
25
+ class_eval do
26
+ define_callbacks prefixed_binded
27
+ set_callback prefixed_binded, pst, callback
28
+ end
29
+
30
+ run_callbacks prefixed_binded do
31
+ send "unwrapped_#{binded}"
32
+ end
33
+ end
34
+
35
+ alias_method "unwrapped_#{binded}", binded
36
+ alias_method binded, "wrapped_#{binded}"
37
+ end
38
+ end
39
+ end
40
+ end
41
+
42
+ module ClassMethods
43
+ class_eval do
44
+ [:before, :after, :around].each do |method_name|
45
+ define_method method_name do|hsh|
46
+ $callmeback_methods[method_name] = hsh
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,31 @@
1
+ class Example
2
+ include Callmeback
3
+
4
+ before :before_foo => :bar
5
+ after :after_foo => :bar
6
+ around :around_foo => :around_bar
7
+
8
+ def initialize
9
+ @result = []
10
+ callback_binding
11
+ end
12
+
13
+ def before_foo; foo; end
14
+ def after_foo; foo; end
15
+ def around_foo; foo; end
16
+
17
+ private
18
+ def foo
19
+ @result << 'foo'
20
+ end
21
+
22
+ def bar
23
+ @result << 'bar'
24
+ end
25
+
26
+ def around_bar
27
+ bar
28
+ yield
29
+ bar
30
+ end
31
+ end
@@ -0,0 +1,32 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe Callmeback do
4
+
5
+ let(:example) do
6
+ Example.new
7
+ end
8
+
9
+ it "should have created 3 methods: before, after, around" do
10
+ [:before, :after, :around].each do |method_name|
11
+ expect{ Example.method method_name }.to_not raise_error(NameError)
12
+ end
13
+ end
14
+
15
+ describe ".before" do
16
+ it "should fire a callback before the original method is executed" do
17
+ example.before_foo.should == %w{bar foo}
18
+ end
19
+
20
+ describe ".after" do
21
+ it "should fire a callback after the original method is executed" do
22
+ example.after_foo.should == %w{foo bar}
23
+ end
24
+ end
25
+
26
+ describe ".around" do
27
+ it "should fire a callback around the original method is executed" do
28
+ example.around_foo.should == %w{bar foo bar}
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,22 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ MODELS = File.join(File.dirname(__FILE__), "app/models")
5
+
6
+ require 'rspec'
7
+ require 'active_support/inflector'
8
+ require 'callmeback'
9
+
10
+ # Requires supporting files with custom matchers and macros, etc,
11
+ # in ./support/ and its subdirectories.
12
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
13
+
14
+ # Autoload every model for the test suite that sits in spec/app/models.
15
+ Dir[ File.join(MODELS, "*.rb") ].sort.each do |file|
16
+ name = File.basename(file, ".rb")
17
+ autoload name.camelize.to_sym, file
18
+ end
19
+
20
+ RSpec.configure do |config|
21
+
22
+ end
metadata ADDED
@@ -0,0 +1,209 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: callmeback
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Sebastien Azimi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.3.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.3.5
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 2.8.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.8.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: rdoc
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.12'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: jeweler
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 1.8.3
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 1.8.3
94
+ - !ruby/object:Gem::Dependency
95
+ name: simplecov
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: guard
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: guard-rspec
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: pry
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ description: ''
159
+ email: sebstp@gmail.com
160
+ executables: []
161
+ extensions: []
162
+ extra_rdoc_files:
163
+ - LICENSE.txt
164
+ - README.rdoc
165
+ files:
166
+ - .document
167
+ - .rspec
168
+ - Gemfile
169
+ - Gemfile.lock
170
+ - Guardfile
171
+ - LICENSE.txt
172
+ - README.rdoc
173
+ - Rakefile
174
+ - VERSION
175
+ - callmeback.gemspec
176
+ - lib/callmeback.rb
177
+ - spec/app/models/example.rb
178
+ - spec/callmeback_spec.rb
179
+ - spec/spec_helper.rb
180
+ homepage: http://github.com/suruja/callmeback
181
+ licenses:
182
+ - MIT
183
+ post_install_message:
184
+ rdoc_options: []
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ none: false
189
+ requirements:
190
+ - - ! '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ segments:
194
+ - 0
195
+ hash: -176692131
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
197
+ none: false
198
+ requirements:
199
+ - - ! '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ requirements: []
203
+ rubyforge_project:
204
+ rubygems_version: 1.8.23
205
+ signing_key:
206
+ specification_version: 3
207
+ summary: Automatically provide dead-simple ActiveSupport callbacks to your instance
208
+ methods.
209
+ test_files: []