proxy_auth 0.0.5 → 0.0.6

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: 625c9e5614bef1853493bf66cb74a7e6d8f2e7d7
4
- data.tar.gz: a1df367c3678cff9e3c3b2ce8b8e71997b45b8f6
3
+ metadata.gz: 4e4b2af9241eb7d70e57a9edfcd751262400cf73
4
+ data.tar.gz: 2b61ebf6642ad7f0f7cf8ceec7295d295a14b9a0
5
5
  SHA512:
6
- metadata.gz: 1df9e9e4cf1a10174a7a37cd11561a9773b6f7f7fa3ef75439c4b2fbdf2f3da815cb2fac8472307edc5f4a5caad41f6d896ccbf5e0a9d089858fbd905af3c8d6
7
- data.tar.gz: 6e6bf359691254e20137932cd21602f5b44d68c64f0df06647b2ad2d6bd98c5ea8a6cf3d388af6d4d38a767a3455176dbb4889b068f9da7701a655cff58cc796
6
+ metadata.gz: 912af5e0c5fbff26395bfa89a5df09a7f667a68a18543acbd1c45b15b5d801dc9abac4e659951f0f719049797c579493117d3d8c83e87e1377be358a652faa42
7
+ data.tar.gz: 41e9711c44c81c5120ad24e464536299ceccce31980fc5244c69dceba23837f638f9f271b905054f0dad0bbeb8386e9b6747f020e9e7f8658b1932538da3dc94
@@ -36,7 +36,7 @@ module ProxyAuth
36
36
  def params
37
37
  {
38
38
  service: {
39
- name: service_name, host: service_url, version: service_version
39
+ name: service_name, host: service_url, api_version: service_version
40
40
  }
41
41
  }.to_json
42
42
  end
@@ -50,7 +50,7 @@ module ProxyAuth
50
50
  end
51
51
 
52
52
  def service_version
53
- @service_version ||= Rails.application.secrets.service['version']
53
+ @service_version ||= Rails.application.secrets.service['api_version']
54
54
  end
55
55
 
56
56
  def uri
@@ -1,4 +1,4 @@
1
1
  # Gem version
2
2
  module ProxyAuth
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
@@ -5,7 +5,7 @@ default: &default
5
5
  service:
6
6
  name: dummy
7
7
  url: http://localhost:5300
8
- version: 1.0
8
+ api_version: 1.0
9
9
  admin_login: 'admin'
10
10
  admin_password: 'secret'
11
11
 
@@ -17,3 +17,10 @@ Service dummy registered.
17
17
  Processing by ProxyAuth::RegisterServicesController#create as HTML
18
18
  Completed 200 OK in 0ms
19
19
  Service dummy registered.
20
+ Processing by ProxyAuth::RegisterServicesController#create as HTML
21
+ Completed 200 OK in 0ms
22
+ Service dummy registered.
23
+ Service dummy registered.
24
+ Processing by ProxyAuth::RegisterServicesController#create as HTML
25
+ Completed 200 OK in 1ms
26
+ Service dummy registered.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxy_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Lisowski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-08-07 00:00:00.000000000 Z
13
+ date: 2015-08-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails