stateful_link 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stateful_link (0.0.6)
4
+ stateful_link (0.0.7)
5
5
  rails (>= 3)
6
6
 
7
7
  GEM
@@ -21,7 +21,7 @@ module StatefulLink
21
21
  #
22
22
  def action_any_of?(*actions)
23
23
  actions.any? do |sub_ca|
24
- unless sub_ca.empty?
24
+ if sub_ca.present?
25
25
  sub_controller, sub_action = extract_controller_and_action(sub_ca)
26
26
  ((self.controller_path == sub_controller) || (sub_controller.blank?)) && (self.action_name == sub_action || (sub_action == '' || sub_action == '*'))
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module StatefulLink
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stateful_link
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Sokolov