yeller_ruby 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yeller/rails/tasks.rb +3 -3
- data/lib/yeller/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d42737cc1ec35e99dd72cd70479e087239f970d8
|
4
|
+
data.tar.gz: 782addb9a7232e15533ad8a7e01efaa177fadea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2b049ad4ce727a49e41dc493a110af32abfba5a65057d7e105d159d7802db8fd328d0ac3e3a23e8641a04c4e748d57ae91df8b88ab760d1289bf4c86ba493bc
|
7
|
+
data.tar.gz: e5b740b66434058f15241845ded775030713ad15553da74c33634fa91751d8f410c00917fec9ca810bb4de6292752563d1424cafcecf6482856ed7a6c77d624d
|
data/lib/yeller/rails/tasks.rb
CHANGED
@@ -48,15 +48,15 @@ namespace :yeller do
|
|
48
48
|
|
49
49
|
|
50
50
|
Rails.application.routes.draw do
|
51
|
-
|
51
|
+
get '/yeller_verify' => 'yeller_verification#verify'
|
52
52
|
end
|
53
53
|
|
54
|
-
env = Rack::MockRequest.env_for('http://example.com')
|
54
|
+
env = Rack::MockRequest.env_for('http://example.com/yeller_verify')
|
55
55
|
Rails.application.call(env)
|
56
56
|
|
57
57
|
client = Yeller::Rack.instance_variable_get('@client')
|
58
58
|
if client.reported_error?
|
59
|
-
Kernel.puts "SUCCESS yeller-verified token=\"#{client.token}\""
|
59
|
+
Kernel.puts "SUCCESS: yeller-verified token=\"#{client.token}\""
|
60
60
|
else
|
61
61
|
if !client.enabled?
|
62
62
|
Kernel.puts "ERROR: CLIENT NOT ENABLED yeller-verification-failed enabled=#{client.enabled?} token=\"#{client.token}\""
|
data/lib/yeller/version.rb
CHANGED