rails_action_args 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ disable_system_gems
2
+ gem "actionpack", ">=3.0.pre"
3
+ gem "ParseTree", ">=3.0.4"
4
+ gem "ruby2ruby", ">=1.2.4"
5
+ only :test do
6
+ gem "rake"
7
+ gem "rack-test"
8
+ gem "shoulda"
9
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.2
data/init.rb CHANGED
@@ -1 +1,4 @@
1
- require 'rails_action_args'
1
+ require 'lib/rails_action_args'
2
+ class ActionController::Base
3
+ include AbstractController::ActionArgs
4
+ end
@@ -0,0 +1,4 @@
1
+ require 'rails_action_args'
2
+ class ActionController::Base
3
+ include AbstractController::ActionArgs
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_action_args
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezmobius
@@ -76,6 +76,7 @@ extra_rdoc_files:
76
76
  files:
77
77
  - .document
78
78
  - .gitignore
79
+ - Gemfile
79
80
  - LICENSE
80
81
  - README.markdown
81
82
  - Rakefile
@@ -88,7 +89,7 @@ files:
88
89
  - lib/rails_action_args/get_args.rb
89
90
  - lib/rails_action_args/jruby_args.rb
90
91
  - lib/rails_action_args/mri_args.rb
91
- - lib/rails_action_args/railtie.rb
92
+ - lib/rails_action_args/plugin.rb
92
93
  - lib/rails_action_args/vm_args.rb
93
94
  - test/test_rails_action_args.rb
94
95
  has_rdoc: true
@@ -1,13 +0,0 @@
1
- module Rails
2
- module ActionArgs
3
- class Railtie < Rails::Railtie
4
- railtie_name :action_args
5
-
6
- config.after_initialize do |app|
7
- class << ::ActionController::Base
8
- include Rails::ActionArgs::AbstractControllerMixin
9
- end
10
- end
11
- end
12
- end
13
- end