cant_cant_cant 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cant_cant_cant.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59b4a4abcefcac435a6f122a477f6b28bbe7e3d3
|
4
|
+
data.tar.gz: 4980244c777cdc6e838ed344f5ca142e9d228fac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d099f2fb49f7ea46868ace0386c368dfc48b5cec7fa6f7f5539c64a9e5990e7843dc4b82a7ab49af16a76d9ac8b054dbae3459c05c1324d0d4732dc2c18ce1be
|
7
|
+
data.tar.gz: 50b51e87d616b25ce2a171d3277bfc9788a1b3bba49577c04c804665c13fe34105af3d3a0223726cf10f66be3a47f074d9e7e6c55bcabdb163c04e4408a9ca3c
|
data/lib/cant_cant_cant.rb
CHANGED
@@ -46,7 +46,6 @@ module CantCantCant
|
|
46
46
|
raise if controller.blank? || action.blank?
|
47
47
|
|
48
48
|
controller = (controller + '_controller').classify.constantize
|
49
|
-
raise unless action.in? controller.instance_methods(false).map(&:to_s)
|
50
49
|
|
51
50
|
[controller, action]
|
52
51
|
rescue RuntimeError, NameError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cant_cant_cant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shou Ya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|