maestrano 0.8.0 → 0.8.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: 6dbfef2e9899e2250a41860c7bc035b608558ac2
4
- data.tar.gz: cb1dc4e027c8e63f3b1197374e3478c200825b20
3
+ metadata.gz: 6692f5f10bcdd3443671b03950c6092418155b20
4
+ data.tar.gz: ba475f1a7f201896df8612a6a3d40a9e9ea56724
5
5
  SHA512:
6
- metadata.gz: d44d0296bd34766d5660d6cfed0286bc3d71c7bdf516d3479d4df891a9bc2c47465091e164761d9075e2e6ace88364c04e650d0a3bdd30b457a9d66c2c856e68
7
- data.tar.gz: 0098514aed554c30081b53233fd321a8740d6b01bf212441065cabc092d711e7c74c8f2c6e7c666c468e114920c5a921e435e772815404bc36c3178a35134aff
6
+ metadata.gz: 24a09cc1e234d3df5f33494b2d4673a8086df38f679059e57aa2801097fac6fcdd2d9d09834b92526c2f837a4d6b9d008b1307079da15ccb35c1a1bfea2587d7
7
+ data.tar.gz: 31d9840712b665b53879775b48b7a624cc09bd42ef8b73dddebcd9415cb9235d8dce6abf61db51e3f3717411fe1742f047aa447419fdee564cdddf4aeddb9d1a
data/lib/maestrano.rb CHANGED
@@ -172,7 +172,7 @@ module Maestrano
172
172
  creation_mode: 'virtual',
173
173
  init_path: '/maestrano/auth/saml/init',
174
174
  consume_path: '/maestrano/auth/saml/consume',
175
- idm: @app.host
175
+ idm: nil
176
176
  })
177
177
 
178
178
  # WebHooks Config
@@ -1,3 +1,3 @@
1
1
  module Maestrano
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
@@ -51,8 +51,9 @@ class MaestranoTest < Test::Unit::TestCase
51
51
  assert_equal "bla:blo", Maestrano.param('api.token')
52
52
  end
53
53
 
54
- should "assign the sso.idm if explicitly set to nil" do
55
- Maestrano.configure { |config| config.sso.idm = nil }
54
+ should "assign the sso.idm to app.host if not provided" do
55
+ Maestrano.config = Maestrano::Configuration.new
56
+ Maestrano.configure { |config| config.app.host = "https://someapp.com" }
56
57
  assert_equal Maestrano.param('app.host'), Maestrano.param('sso.idm')
57
58
  end
58
59
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-27 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client