tuersteher 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ pkg
2
+ .idea
3
+ tuersteher*.gem
4
+ nbproject
5
+ .rvmrc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.6.3
data/lib/tuersteher.rb CHANGED
@@ -589,7 +589,6 @@ module Tuersteher
589
589
 
590
590
  METHOD_NAMES = [:get, :edit, :put, :delete, :post, :all].freeze
591
591
  attr_reader :path_spezification
592
- @@_to_s = nil
593
592
 
594
593
  # Zugriffsregel
595
594
  #
@@ -614,14 +613,13 @@ module Tuersteher
614
613
  end
615
614
 
616
615
  def to_s
617
- @@_to_s ||= super
616
+ @_to_s ||= super
618
617
  end
619
618
  end
620
619
 
621
620
 
622
621
 
623
622
  class ModelAccessRule < BaseAccessRule
624
- @@_to_s = nil
625
623
 
626
624
  # erzeugt neue Object-Zugriffsregel
627
625
  #
@@ -637,7 +635,7 @@ module Tuersteher
637
635
 
638
636
 
639
637
  def to_s
640
- @@_to_s ||= super
638
+ @_to_s ||= super
641
639
  end
642
640
  end
643
641
 
data/spec/spec_helper.rb CHANGED
@@ -4,4 +4,4 @@ require File.expand_path(File.dirname(__FILE__) + "/../lib/tuersteher")
4
4
 
5
5
  # Logger auf stdout stellen
6
6
  Tuersteher::TLogger.logger = Logger.new(STDOUT)
7
- #Tuersteher::TLogger.logger.level = Logger::ERROR
7
+ Tuersteher::TLogger.logger.level = Logger::ERROR
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.1"
8
+ s.version = "0.6.3"
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-07-14}
12
+ s.date = %q{2011-07-15}
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: 3
5
- prerelease:
4
+ hash: 1
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 2
10
- version: 0.6.2
9
+ - 3
10
+ version: 0.6.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernd Ledig
@@ -28,6 +28,7 @@ extensions: []
28
28
  extra_rdoc_files:
29
29
  - README.rdoc
30
30
  files:
31
+ - .gitignore
31
32
  - Manifest
32
33
  - README.rdoc
33
34
  - Rakefile
@@ -50,8 +51,8 @@ homepage: http://github.com/bledig/tuersteher
50
51
  licenses: []
51
52
 
52
53
  post_install_message:
53
- rdoc_options: []
54
-
54
+ rdoc_options:
55
+ - --charset=UTF-8
55
56
  require_paths:
56
57
  - lib
57
58
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -75,9 +76,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  requirements: []
76
77
 
77
78
  rubyforge_project:
78
- rubygems_version: 1.6.2
79
+ rubygems_version: 1.3.7
79
80
  signing_key:
80
81
  specification_version: 3
81
82
  summary: Security-Layer for Rails-Application
82
- test_files: []
83
-
83
+ test_files:
84
+ - spec/model_extensions_spec.rb
85
+ - spec/acces_rules_storage_spec.rb
86
+ - spec/spec_helper.rb
87
+ - spec/model_access_rule_spec.rb
88
+ - spec/access_rules_spec.rb
89
+ - spec/path_access_rule_spec.rb