vinyl 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Vinyl
2
- **_Access Level for him and her_**
1
+ # Vinyl [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/tarolandia/vinyl)
2
+ **_Access Level for him and her_**
3
3
 
4
4
  _by: Federico Saravia Barrantes [@fsaravia](https://github.com/fsaravia) and Lautaro Orazi [@tarolandia](https://github.com/tarolandia)_
5
5
 
@@ -27,7 +27,7 @@ module Vinyl
27
27
  method = args[0][:with_method]
28
28
  access_level = args[0][:get_access_level]
29
29
  validators = args[0][:if_pass]
30
- if(route.empty? || method.empty? || access_level.to_s.empty?) then
30
+ if(route.to_s.empty? || method.empty? || access_level.to_s.empty?) then
31
31
  raise InvalidAclRule, "Vinyl.rule is invalid"
32
32
  end
33
33
  rescue NoMethodError => e
@@ -1,4 +1,4 @@
1
1
  module Vinyl
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vinyl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-27 00:00:00.000000000 Z
13
+ date: 2012-11-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec