jorourke-acts_as_static 0.1 → 0.1.1

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.
Files changed (3) hide show
  1. data/init.rb +1 -1
  2. data/lib/acts_as_static.rb +4 -0
  3. metadata +1 -1
data/init.rb CHANGED
@@ -1 +1 @@
1
- ActionController::Base.send :include, ActsAsStatic
1
+ require 'acts_as_static'
@@ -63,3 +63,7 @@ module ActsAsStatic
63
63
  end
64
64
 
65
65
  end
66
+
67
+ ActionController::Base.class_eval do
68
+ extend ActsAsStatic
69
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jorourke-acts_as_static
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh O'Rourke