soar_am 0.1.0 → 0.1.1

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: dca2e219bbf4eb0bc2e0294557b8c481d3b6c318
4
- data.tar.gz: c2a5788109def4d44ff58638c623df0f9f46d8ea
3
+ metadata.gz: 5ec494640dbe2419eeedce08e0accdf0b0e79c9b
4
+ data.tar.gz: fca324cb42f2b78f63d96a46bd9e26849fe1ac18
5
5
  SHA512:
6
- metadata.gz: d4a5d8f9f3baf74cd331a4e80aa5e57e6f57f2e93eb3253de85f5bf6ecf78c55f665478938b1f6f62fd92101084b7863da179fa4d3374d98471185f6e1c2fa08
7
- data.tar.gz: 93c57604713ab7ca88ab8bce1e73833db858cb74c4d17458c8b2801aa429c270b70c9b9d9950df31f8ac50070252748582ae328ddf063349a2eeefb404ae6d02
6
+ metadata.gz: d73ace49e1961000e3784a8e402a370809ad4043ef58a429062484757f55799c644c879ee6cddac2e908358b6bb393154f6975af8448272c8126e9f017010f5c
7
+ data.tar.gz: 1c5be71624712e7805e280ae2225cc059919bceb0422e637f682afdded437d9a45832b46950d9a4ce1b9f159ea8183a3eb287c67e480f3387a2f654f0183d2ea
@@ -1,3 +1,3 @@
1
1
  module SoarAm
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/soar_am.rb CHANGED
@@ -4,7 +4,7 @@ require "soar_authentication"
4
4
  module SoarAm
5
5
  class AmApi
6
6
  def authorized?(service_identifier, resource_identifier, request)
7
- authentication = SoarAuthentication.new(request)
7
+ authentication = SoarAuthentication::Authentication.new(request)
8
8
  return false if not authentication.authenticated?
9
9
 
10
10
  authorize(service_identifier, resource_identifier, authentication.identifier, request.params)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_am
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
@@ -119,8 +119,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.5.1
122
+ rubygems_version: 2.4.8
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Access Manager API for the SOAR architecture
126
126
  test_files: []
127
+ has_rdoc: