simple-authorisation 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ coverage
1
2
  .bundle
2
3
  .idea
3
4
  pkg
data/Gemfile.lock CHANGED
@@ -1,15 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple-authorisation (0.0.15)
5
- builder (~> 3.0)
4
+ simple-authorisation (0.0.16)
5
+ builder (~> 2.0)
6
6
  sinatra (~> 1.2.6)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- builder (3.0.0)
11
+ builder (2.1.2)
12
12
  diff-lcs (1.1.2)
13
+ multi_json (1.0.3)
13
14
  rack (1.3.2)
14
15
  rack-test (0.6.0)
15
16
  rack (>= 1.0)
@@ -22,9 +23,13 @@ GEM
22
23
  rspec-expectations (2.6.0)
23
24
  diff-lcs (~> 1.1.2)
24
25
  rspec-mocks (2.6.0)
26
+ simplecov (0.5.4)
27
+ multi_json (~> 1.0.3)
28
+ simplecov-html (~> 0.5.3)
29
+ simplecov-html (0.5.3)
25
30
  sinatra (1.2.6)
26
31
  rack (~> 1.1)
27
- tilt (< 2.0, >= 1.2.2)
32
+ tilt (>= 1.2.2, < 2.0)
28
33
  tilt (1.3.2)
29
34
 
30
35
  PLATFORMS
@@ -35,4 +40,5 @@ DEPENDENCIES
35
40
  rake (>= 0.9.2)
36
41
  rspec (>= 2.6.0)
37
42
  simple-authorisation!
43
+ simplecov
38
44
  sinatra (>= 1.2.6)
data/Rakefile CHANGED
@@ -7,15 +7,18 @@ Bundler::GemHelper.install_tasks
7
7
  $:.unshift(File.dirname(__FILE__) + '/lib')
8
8
 
9
9
 
10
- desc "Run RSpec"
11
- RSpec::Core::RakeTask.new do |t|
12
- #t.rcov = ENV['RCOV']
13
- #t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/}
14
- t.verbose = true
15
- end
10
+ task :coverage do
11
+ require 'simplecov'
12
+ require 'rspec/core'
16
13
 
14
+ SimpleCov.start do
15
+ add_filter 'spec'
16
+ end
17
+ SimpleCov.start
18
+ RSpec::Core::Runner.run %w[spec]
19
+ end
17
20
 
18
- task :default => [:spec]
21
+ task :default => [:coverage]
19
22
 
20
23
  require 'rake/clean'
21
24
  CLEAN.include %w(**/*.{log,pyc,rbc,tgz} doc)
@@ -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.15'
6
+ s.version = '0.0.16'
7
7
  s.authors = ["Derek Ekins"]
8
8
  s.description = 'Handles authorisation only'
9
9
  s.summary = "simple-authorisation-#{s.version}"
@@ -21,12 +21,13 @@ Thank you for installing simple-authorisation
21
21
  }
22
22
 
23
23
  s.add_dependency 'sinatra', '~> 1.2.6'
24
- s.add_dependency 'builder', '~> 3.0'
24
+ s.add_dependency 'builder', '~> 2.0'
25
25
 
26
26
  s.add_development_dependency 'rake', '>= 0.9.2'
27
27
  s.add_development_dependency 'rspec', '>= 2.6.0'
28
28
  s.add_development_dependency 'sinatra', '>= 1.2.6'
29
29
  s.add_development_dependency 'rack-test', '>= 0.6.0'
30
+ s.add_development_dependency 'simplecov'
30
31
 
31
32
  s.rubygems_version = ">= 1.6.1"
32
33
  s.files = `git ls-files`.split("\n")
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.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-22 00:00:00.000000000Z
12
+ date: 2011-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
16
- requirement: &24334320 !ruby/object:Gem::Requirement
16
+ requirement: &9011120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: 1.2.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *24334320
24
+ version_requirements: *9011120
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: builder
27
- requirement: &24333840 !ruby/object:Gem::Requirement
27
+ requirement: &9010520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: '3.0'
32
+ version: '2.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *24333840
35
+ version_requirements: *9010520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &24333380 !ruby/object:Gem::Requirement
38
+ requirement: &9009700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *24333380
46
+ version_requirements: *9009700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &24332920 !ruby/object:Gem::Requirement
49
+ requirement: &9008600 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.6.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *24332920
57
+ version_requirements: *9008600
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sinatra
60
- requirement: &24332460 !ruby/object:Gem::Requirement
60
+ requirement: &9007540 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.2.6
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *24332460
68
+ version_requirements: *9007540
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rack-test
71
- requirement: &24332000 !ruby/object:Gem::Requirement
71
+ requirement: &9019240 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,18 @@ dependencies:
76
76
  version: 0.6.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *24332000
79
+ version_requirements: *9019240
80
+ - !ruby/object:Gem::Dependency
81
+ name: simplecov
82
+ requirement: &9018760 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *9018760
80
91
  description: Handles authorisation only
81
92
  email: derek@spathi.com
82
93
  executables: []
@@ -123,24 +134,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
134
  - - ! '>='
124
135
  - !ruby/object:Gem::Version
125
136
  version: '0'
126
- segments:
127
- - 0
128
- hash: -4190960896511039998
129
137
  required_rubygems_version: !ruby/object:Gem::Requirement
130
138
  none: false
131
139
  requirements:
132
140
  - - ! '>='
133
141
  - !ruby/object:Gem::Version
134
142
  version: '0'
135
- segments:
136
- - 0
137
- hash: -4190960896511039998
138
143
  requirements: []
139
144
  rubyforge_project:
140
145
  rubygems_version: 1.8.6
141
146
  signing_key:
142
147
  specification_version: 3
143
- summary: simple-authorisation-0.0.15
148
+ summary: simple-authorisation-0.0.16
144
149
  test_files:
145
150
  - spec/simple-authorisation/authorisation_helper_spec.rb
146
151
  - spec/simple-authorisation/authorisation_spec.rb