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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7aea1706b03074a80d55d5ff6bc56810c264c867
4
- data.tar.gz: ad45bcedb3d9c2b9e1e4f4cd28fc5dfbfa792ef0
3
+ metadata.gz: d42737cc1ec35e99dd72cd70479e087239f970d8
4
+ data.tar.gz: 782addb9a7232e15533ad8a7e01efaa177fadea3
5
5
  SHA512:
6
- metadata.gz: 2877d9fe15b3e524850035d63818c763d211b9d7cf51e6cf90ffca6787af1c3e3c2e2674ceee1f3381c351eea1081042348fda0bf0952c7d4ef56c56c45443b5
7
- data.tar.gz: 3de08a3e1ee5fd805482a073ee7a338b12023fde7608145107f3d312a9d2be8390bc2540de791ea4e8e55a1a176d4b5e8b615074cdc5d5dcfe4a7079afc455bb
6
+ metadata.gz: e2b049ad4ce727a49e41dc493a110af32abfba5a65057d7e105d159d7802db8fd328d0ac3e3a23e8641a04c4e748d57ae91df8b88ab760d1289bf4c86ba493bc
7
+ data.tar.gz: e5b740b66434058f15241845ded775030713ad15553da74c33634fa91751d8f410c00917fec9ca810bb4de6292752563d1424cafcecf6482856ed7a6c77d624d
@@ -48,15 +48,15 @@ namespace :yeller do
48
48
 
49
49
 
50
50
  Rails.application.routes.draw do
51
- root 'yeller_verification#verify'
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}\""
@@ -1,3 +1,3 @@
1
1
  module Yeller
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeller_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Crayford