programmable-rc_actions 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. data/README +2 -6
  2. data/lib/rc_actions.rb +9 -2
  3. metadata +1 -1
data/README CHANGED
@@ -1,7 +1,3 @@
1
- = ventouse
1
+ = rc_actions
2
2
 
3
- Why vantouse? Why not?
4
-
5
- == to-do
6
-
7
- create fake mysqlplus-adapter using mysql_compat
3
+ Better actions for http://github.com/ianwhite/resources_controller/ plugin
data/lib/rc_actions.rb CHANGED
@@ -1,5 +1,12 @@
1
1
  require 'rc_actions/common_actions'
2
2
  require 'rc_actions/actions'
3
3
 
4
- Ardes::ResourcesController.actions = Programmable::ResourceController::Actions
5
- Ardes::ResourcesController.singleton_actions = Programmable::ResourceController::SingletonActions
4
+ module Programmable
5
+ module RCActions
6
+ def self.install
7
+ Ardes::ResourcesController.actions = Programmable::ResourceController::Actions
8
+ Ardes::ResourcesController.singleton_actions = Programmable::ResourceController::SingletonActions
9
+ end
10
+ end
11
+ end
12
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: programmable-rc_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilia Ablamonov