Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

InstanceMethods are deprecated in Rails 3.2 #7

Merged
merged 1 commit into from

3 participants

@yabawock

Remove deprecated InstanceMethods module when using AS::Concern. The usage of InstanceMethods module when using ActiveSupport::Concern was deprecated in Rails 3.2.

@alexrothenberg alexrothenberg merged commit 8dad5fb into from
@alexrothenberg

Thanks for this pull. I'll release in the next version.

@frodsan

WARNINGS burn my eyes ... when do you plan to release it? :)

@alexrothenberg

I wouldn't want to burn your eyes ... v0.2.3 just pushed :)

@frodsan

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 26, 2011
  1. @yabawock
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 5 deletions.
  1. +3 −5 lib/ammeter/rspec/generator/example/generator_example_group.rb
View
8 lib/ammeter/rspec/generator/example/generator_example_group.rb
@@ -41,12 +41,10 @@ def run_generator(given_args=self.default_arguments, config={})
end
end
- module InstanceMethods
- def invoke_task name
- capture(:stdout) { generator.invoke_task(generator_class.all_tasks[name.to_s]) }
- end
+ def invoke_task name
+ capture(:stdout) { generator.invoke_task(generator_class.all_tasks[name.to_s]) }
end
-
+
included do
delegate :generator, :run_generator, :destination, :arguments, :to => :'self.class'
DELEGATED_METHODS.each do |method|
Something went wrong with that request. Please try again.