tuersteher 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tuersteher.rb +21 -0
- data/tuersteher.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/lib/tuersteher.rb
CHANGED
@@ -389,6 +389,10 @@ module Tuersteher
|
|
389
389
|
rc = !rc if @negation
|
390
390
|
rc
|
391
391
|
end
|
392
|
+
|
393
|
+
def to_s
|
394
|
+
"Path[#{@negation&&'! '}#{@path}]"
|
395
|
+
end
|
392
396
|
end
|
393
397
|
|
394
398
|
class ModelSpecification
|
@@ -402,6 +406,10 @@ module Tuersteher
|
|
402
406
|
rc = !rc if @negation
|
403
407
|
rc
|
404
408
|
end
|
409
|
+
|
410
|
+
def to_s
|
411
|
+
"Model[#{@negation&&'! '}#{@clazz}]"
|
412
|
+
end
|
405
413
|
end
|
406
414
|
|
407
415
|
class RolesSpecification
|
@@ -419,6 +427,10 @@ module Tuersteher
|
|
419
427
|
rc = !rc if @negation
|
420
428
|
rc
|
421
429
|
end
|
430
|
+
|
431
|
+
def to_s
|
432
|
+
"Role[#{@negation&&'! '}#{@roles.join(',')}]"
|
433
|
+
end
|
422
434
|
end
|
423
435
|
|
424
436
|
class MethodSpecification
|
@@ -431,6 +443,10 @@ module Tuersteher
|
|
431
443
|
rc = !rc if @negation
|
432
444
|
rc
|
433
445
|
end
|
446
|
+
|
447
|
+
def to_s
|
448
|
+
"Method[#{@negation&&'! '}#{@method}]"
|
449
|
+
end
|
434
450
|
end
|
435
451
|
|
436
452
|
class ExtensionSpecification
|
@@ -468,6 +484,11 @@ module Tuersteher
|
|
468
484
|
rc = !rc if @negation
|
469
485
|
rc
|
470
486
|
end
|
487
|
+
|
488
|
+
def to_s
|
489
|
+
val_s = @expected_value.nil? ? nil : "=#{@expected_value}"
|
490
|
+
"Extension[#{@negation&&'! '}#{@method}#{val_s}]"
|
491
|
+
end
|
471
492
|
end
|
472
493
|
|
473
494
|
|
data/tuersteher.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{tuersteher}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bernd Ledig"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-07-14}
|
13
13
|
s.description = %q{Security-Layer for Rails-Application acts like a firewall.}
|
14
14
|
s.email = %q{bernd@ledig.info}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tuersteher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bernd Ledig
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-14 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|