maestrano 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -3
- data/lib/maestrano.rb +1 -1
- data/lib/maestrano/version.rb +1 -1
- data/test/maestrano/maestrano_test.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 008d806d03f95afa292f5908e336872999c87860
|
4
|
+
data.tar.gz: 8ec54c6aedc38dc25dcb2472725aebb912562328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45adb8af2b1b3e5868dbb2d407e12e14e01ec4c319130f4df5a1caa680791aea92ed4b50115625a8a7b064e8dda54673f2ba0cbd1e52230b948deb0d711a3d3b
|
7
|
+
data.tar.gz: 85a2f8e40ef318361c173125e4e346cb45a5c65e43ec166b97f69b21304e3985b3ca31773117cac704b0340aed8c84724ebbf7110dd71d201d65d0f61929a816
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
maestrano (0.8.
|
4
|
+
maestrano (0.8.1)
|
5
5
|
json (~> 1.8)
|
6
6
|
mime-types (~> 1.25)
|
7
7
|
nokogiri (>= 1.5.0)
|
@@ -19,11 +19,13 @@ GEM
|
|
19
19
|
mini_portile (0.6.0)
|
20
20
|
mocha (0.13.3)
|
21
21
|
metaclass (~> 0.0.1)
|
22
|
+
netrc (0.7.7)
|
22
23
|
nokogiri (1.6.2.1)
|
23
24
|
mini_portile (= 0.6.0)
|
24
25
|
rake (10.3.2)
|
25
|
-
rest-client (1.
|
26
|
-
mime-types (>= 1.16)
|
26
|
+
rest-client (1.7.2)
|
27
|
+
mime-types (>= 1.16, < 3.0)
|
28
|
+
netrc (~> 0.7)
|
27
29
|
shoulda (2.11.3)
|
28
30
|
systemu (2.6.4)
|
29
31
|
test-unit (2.5.5)
|
data/lib/maestrano.rb
CHANGED
data/lib/maestrano/version.rb
CHANGED
@@ -46,6 +46,12 @@ class MaestranoTest < Test::Unit::TestCase
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
should "set the sso.creation_mode to 'real' by default" do
|
50
|
+
Maestrano.config = Maestrano::Configuration.new
|
51
|
+
Maestrano.configure { |config| config.app.host = "https://someapp.com" }
|
52
|
+
assert_equal 'real', Maestrano.param('sso.creation_mode')
|
53
|
+
end
|
54
|
+
|
49
55
|
should "build the api_token based on the app_id and api_key" do
|
50
56
|
Maestrano.configure { |config| config.app_id = "bla"; config.api_key = "blo" }
|
51
57
|
assert_equal "bla:blo", Maestrano.param('api.token')
|