rack-ninja_auth 0.4.0 → 0.5.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: 26ae06c994d3746b12aa3ab8ee7148f609e67058
4
- data.tar.gz: b2816854ca67f13fbf820dd68813e148f9281173
3
+ metadata.gz: b8664dcbebca4cf75ba1df44583f1ec0b6367547
4
+ data.tar.gz: 1a1d64144e71a1ca69e5fa6d7986e0a311e87a91
5
5
  SHA512:
6
- metadata.gz: c6245f3cdeccab15c5bb9988d88e8f3f40ff7953b141ad046e67e81a81e8dbdd77ea97ad6288d42bffa74f3837e049fe7e1d38ae4c33bce795be3b20de16b06a
7
- data.tar.gz: 5b2942e0cf1d97e471dab619283d4fbfe55b0efda9b296c263f2f9b1e73c4d5510a80c0f7e8f01707bea11292978126925b40acc6bf57a09dc5b92da2b9cfab3
6
+ metadata.gz: 32bb8948d54d0fd86027a0ce8cde26189c207b0834e043a2bac4a7ad12a2588df0e64cd212fadd6438a66085caa3f6806b7dc468944d3ca5351c3e187cbd582c
7
+ data.tar.gz: c42e88041b2c4fa9f1c9efc6fcda2e1d18b95991dc7d0d2106e213fbfcbf07d8e6f14f813f80024f3c98e18fe213952a014402d04d3e5dbd6431168ee13fea23
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module NinjaAuth
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ module Rack
18
18
  end
19
19
 
20
20
  def initialize(app, email_matcher: //, secured_routes: //, not_allowed_file: nil)
21
- puts "Please set NINJA_GOOGLE_CLIENT_ID and NINJA_GOOGLE_CLIENT_SECRET to use NinjaAuth" unless ENV["NINJA_GOOGLE_CLIENT_ID"] && ENV["NINJA_GOOGLE_CLIENT_SECRET"]
21
+ $stderr.puts "Please set NINJA_GOOGLE_CLIENT_ID and NINJA_GOOGLE_CLIENT_SECRET to use NinjaAuth" unless ENV["NINJA_GOOGLE_CLIENT_ID"] && ENV["NINJA_GOOGLE_CLIENT_SECRET"]
22
22
  @main_app = app
23
23
  @email_matcher = email_matcher
24
24
  @secured_route_matcher = secured_routes
@@ -26,5 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "bundler", "~> 1.10"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
- spec.add_development_dependency "rspec"
29
+ spec.add_development_dependency "rspec", "~> 3.3"
30
+ spec.add_development_dependency "rack-test", "~> 0.6"
31
+ spec.add_development_dependency "rspec-its", "~> 1.2"
30
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-ninja_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -98,16 +98,44 @@ dependencies:
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.3'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rack-test
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '0'
117
+ version: '0.6'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - ">="
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.6'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec-its
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '0'
138
+ version: '1.2'
111
139
  description: Transparently secure your rack application with google. For test rigs
112
140
  etc.
113
141
  email:
@@ -150,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
178
  version: '0'
151
179
  requirements: []
152
180
  rubyforge_project:
153
- rubygems_version: 2.4.5
181
+ rubygems_version: 2.4.5.1
154
182
  signing_key:
155
183
  specification_version: 4
156
184
  summary: Secure your test rigs with google.