protector 0.3.0.beta.2 → 0.3.0

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: 2b37c2f2aabf355a3953ac75518bdb389317c460
4
- data.tar.gz: 2a4e9e21d922f263c4518aafd19ea95f043239bb
3
+ metadata.gz: a4544fde1b90889d1e926680840bb297773b22b4
4
+ data.tar.gz: cfded5e0203be65fbdb567aaf6f084ec6bfe6b6c
5
5
  SHA512:
6
- metadata.gz: ce3cf9b5c16c4a1ac0c6126049eb645cc4fea48e8b264a6d833b97a9100e63d2f0dff4924073e4482e6819d695edd90a36ae864ae94b6874489c3c0bba2219e4
7
- data.tar.gz: 9a97ac4a1ecee65b4b796ef2ca3ec9d58df8c1b9d92b9eaffb1211f3cec3c59476012361eefa2d43de996f67bc26c54f99c044ee8d51adee524b7a4022b942aa
6
+ metadata.gz: f0482cf550b009f96d6576c7ddb7bab0b02727e9f63a558c597480caff8b153c32d3c1186ade91279746a418a509c8e30f325ce161cce6a3ce8a37d2208064ce
7
+ data.tar.gz: 3b9ad469e3b4cf815c2b72699bcf9234d067328831d93c8ffdc3c14703a127a279f60c2da8a8173e2bd53aa21ad6cbe0c7e50ec8c7fe662f1b96ba5d2e425376
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: /Users/inossidabile/Repos/protector
12
12
  specs:
13
- protector (0.3.0.beta.1)
13
+ protector (0.3.0)
14
14
  activesupport
15
15
  i18n
16
16
 
@@ -6,7 +6,7 @@ GIT
6
6
  PATH
7
7
  remote: /Users/inossidabile/Repos/protector
8
8
  specs:
9
- protector (0.3.0.beta.1)
9
+ protector (0.3.0)
10
10
  activesupport
11
11
  i18n
12
12
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/inossidabile/Repos/protector
3
3
  specs:
4
- protector (0.3.0.beta.1)
4
+ protector (0.3.0)
5
5
  activesupport
6
6
  i18n
7
7
 
@@ -111,7 +111,7 @@ module Protector
111
111
  protector_meta.destroyable?
112
112
  end
113
113
 
114
- def can?(action, field)
114
+ def can?(action, field=false)
115
115
  protector_meta.can?(action, field)
116
116
  end
117
117
  end
@@ -55,7 +55,7 @@ module Protector
55
55
  protector_meta.destroyable?
56
56
  end
57
57
 
58
- def can?(action, field)
58
+ def can?(action, field=false)
59
59
  protector_meta.can?(action, field)
60
60
  end
61
61
 
@@ -1,4 +1,4 @@
1
1
  module Protector
2
2
  # Gem version
3
- VERSION = "0.3.0.beta.2"
3
+ VERSION = "0.3.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Staal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-04 00:00:00.000000000 Z
11
+ date: 2013-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -104,9 +104,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>'
107
+ - - '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 1.3.1
109
+ version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 2.0.2