js_hooks 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adeb9388407f9a822354ef1354aea2f819eb8409
4
- data.tar.gz: b5d0ad3fc47bcd2319929b5adeb3d4c0e12b3113
3
+ metadata.gz: ed796bb1ef7a3195e6dfe768399a0e485f72a948
4
+ data.tar.gz: 743199649e19c1e99cad4553d8f5b415b891b121
5
5
  SHA512:
6
- metadata.gz: 9ef9f8f095bbefcc463ba7448dcd447e8b0e15f0f959281c56f82c04dcc8003280788ff8fe56add281d8349e2e2fb5d69cd70e07b018df9086f536453f65dd1e
7
- data.tar.gz: 5cce48c9949e703361325f5f199919e32865391077300b5959b632a3db7f2b6a566c9469a7862f68ab237765e1fedb826b231011631c5f2d80ad1d0bfe599113
6
+ metadata.gz: 5a8d8b4bcc27f55bf1d1fdfba0b11b9ec1eade13fb835a0278de4e2552622215feaa263fdd84e1f6173fea5c3886062dd5e0017d03c45fe8ad78463a9dfbdb15
7
+ data.tar.gz: 2b2bc1abc59cd77487dc5db8473660680c10c46516a85edae0f915a18bc400e58c8ecb6d552cfe89ff8c8d51e42c81f47ebadeb76bf9b7a45cdff44b471b2895
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
  Include the módule in your controller:
21
21
 
22
22
  class MyController < ApplicationController
23
- act_as_js_hookable
23
+ acts_as_js_hookable
24
24
  end
25
25
 
26
26
  Add the js_hooks.js file to `app/assets/javascripts/application.js`:
@@ -6,7 +6,7 @@ module JsHooks
6
6
  extend ActiveSupport::Concern
7
7
 
8
8
  module ClassMethods
9
- def act_as_js_hookable(options = {})
9
+ def acts_as_js_hookable(options = {})
10
10
  before_filter :add_default_js_hooks if :add_default_js_hooks?
11
11
 
12
12
  include JsHooks::Controller::LocalInstanceMethods
@@ -1,3 +1,3 @@
1
1
  module Jshooks
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js_hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco R. Santos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2014-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails