class-action 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97c5219d01a0bda05a42c7bb2f0c7c98fc6dd7ed
4
- data.tar.gz: 8e0b56fdf6dd1d594b514c56ab08eb2b8651f406
3
+ metadata.gz: cac0bed41739811988bfd6fed1bd3adcca10f1db
4
+ data.tar.gz: ed39124aa5d0a234220a02a9b44d76e052b9c12c
5
5
  SHA512:
6
- metadata.gz: 035bd987eb5b496d5b2128053e1dfb9a3b7519f20215378d5ce772a6d0cb84e39fe61b9e39208c6ea1bb520fa659c75191d4ba0cac85d54ef50b5e13a555dc63
7
- data.tar.gz: ee7bbe117d9d52850bf0ca387c95e6c639e563d4faa998472ac518a98d8ff80c5889d4785c189752b41d2611bdb0cda1fa712df0c79256e82544d00bc01e82c4
6
+ metadata.gz: 1653aa273f91adaefc456584189389502597b421900f9c3c5aca8801beb1a1dd5ef43d9534f9e9bbbde683e5e9b65f228aaaaf94805bd440b9e967ab5c7e9fda
7
+ data.tar.gz: 7abea12a52f5531ac874becf208c0487f4177ca8f85904b7523d169149f56a5bb220fcc4901c4c23fe79f4582c57440b10000717de4dc9db53802a3d5852bbb0
data/lib/class_action.rb CHANGED
@@ -52,7 +52,7 @@ module ClassAction
52
52
 
53
53
  module_eval(<<-RUBY, file, line)
54
54
  def #{method}(#{definition})
55
- class_action.send :#{method}, #{definition}
55
+ _class_action.send :#{method}, #{definition}
56
56
  end
57
57
  RUBY
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module ClassAction
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -203,7 +203,7 @@ describe ClassAction do
203
203
  protected :two
204
204
  end
205
205
 
206
- allow(controller).to receive(:class_action).and_return(action_class.new)
206
+ allow(controller).to receive(:_class_action).and_return(action_class.new)
207
207
  expect(controller.one).to be(:one)
208
208
  expect(controller.two).to be(:two)
209
209
  expect{controller.three}.to raise_error(NoMethodError)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: class-action
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Lubach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-12 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport