simple-authorisation 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple-authorisation (0.0.9)
4
+ simple-authorisation (0.0.10)
5
5
  sinatra (~> 1.2.6)
6
6
 
7
7
  GEM
@@ -6,11 +6,9 @@ module Simple
6
6
  def initialize(routes)
7
7
  super(routes)
8
8
  @find_by = [:route_by_wild_card, :route_matches]
9
- p @find_by
10
9
  end
11
10
 
12
11
  def route_matches(route_name)
13
- p "using route match"
14
12
  route_name = URI.parse(route_name).path.gsub(/\/$/, '')
15
13
  (@routes.keys.sort.reverse.select { |route| route =~ /#{route_name}\/?/ }).first
16
14
  end
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'simple-authorisation'
6
- s.version = '0.0.9'
6
+ s.version = '0.0.10'
7
7
  s.authors = ["Derek Ekins"]
8
8
  s.description = 'Handles authorisation only'
9
9
  s.summary = "simple-authorisation-#{s.version}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-authorisation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
16
- requirement: &10301960 !ruby/object:Gem::Requirement
16
+ requirement: &15391380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.2.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10301960
24
+ version_requirements: *15391380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &10301360 !ruby/object:Gem::Requirement
27
+ requirement: &15390780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10301360
35
+ version_requirements: *15390780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &10300840 !ruby/object:Gem::Requirement
38
+ requirement: &15390260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.6.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *10300840
46
+ version_requirements: *15390260
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sinatra
49
- requirement: &10297800 !ruby/object:Gem::Requirement
49
+ requirement: &15389640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.2.6
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *10297800
57
+ version_requirements: *15389640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rack-test
60
- requirement: &10297100 !ruby/object:Gem::Requirement
60
+ requirement: &15388940 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 0.6.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *10297100
68
+ version_requirements: *15388940
69
69
  description: Handles authorisation only
70
70
  email: derek@spathi.com
71
71
  executables: []
@@ -121,7 +121,7 @@ rubyforge_project:
121
121
  rubygems_version: 1.8.6
122
122
  signing_key:
123
123
  specification_version: 3
124
- summary: simple-authorisation-0.0.9
124
+ summary: simple-authorisation-0.0.10
125
125
  test_files:
126
126
  - spec/simple-authorisation/authorisation_spec.rb
127
127
  - spec/simple-authorisation/sinatra_integration_spec.rb