pebblebed 0.0.44 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,7 +98,7 @@ module Sinatra
98
98
  uid = ::Pebblebed::Uid.new(uid) if uid.is_a?(String)
99
99
  return if current_identity.god and uid.path.split(".")[0] == current_identity.realm
100
100
  res = pebbles.checkpoint.get("/callbacks/allowed/#{action}/#{uid}")
101
- return if res['allowed']
101
+ return res['allowed'] if res['allowed']
102
102
  halt 403, ":#{action} denied for #{uid} : #{res['reason']}"
103
103
  end
104
104
 
@@ -1,3 +1,3 @@
1
1
  module Pebblebed
2
- VERSION = "0.0.44"
2
+ VERSION = "0.0.45"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebblebed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
4
+ version: 0.0.45
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-12 00:00:00.000000000 Z
13
+ date: 2013-02-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -329,7 +329,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
329
  version: '0'
330
330
  segments:
331
331
  - 0
332
- hash: -110595815413794395
332
+ hash: 237012637135084967
333
333
  required_rubygems_version: !ruby/object:Gem::Requirement
334
334
  none: false
335
335
  requirements:
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  version: '0'
339
339
  segments:
340
340
  - 0
341
- hash: -110595815413794395
341
+ hash: 237012637135084967
342
342
  requirements: []
343
343
  rubyforge_project: pebblebed
344
344
  rubygems_version: 1.8.25