maestrano-rails 0.3.0 → 0.4.0

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.
@@ -11,11 +11,12 @@ Maestrano.configure do |config|
11
11
  # More details on http://api-sandbox.maestrano.io
12
12
  config.environment = Rails.env.production? ? 'production' : 'test'
13
13
 
14
- # ==> API key
15
- # Your application API key which you can retrieve on http://maestrano.com
14
+ # ==> App ID & API key
15
+ # Your application App ID and API key which you can retrieve on http://maestrano.com
16
16
  # via your cloud partner dashboard.
17
17
  # For testing you can retrieve/generate an api_key from the API Sandbox directly
18
18
  # on http://api-sandbox.maestrano.io
19
+ config.app_id = Rails.env.production? ? 'prod_app_id' : 'sandbox_app_id'
19
20
  config.api_key = Rails.env.production? ? 'prod_api_key' : 'sandbox_api_key'
20
21
 
21
22
  # ==> Single Sign-On activation
@@ -1,5 +1,5 @@
1
1
  module Maestrano
2
2
  module Rails
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -11,11 +11,12 @@ Maestrano.configure do |config|
11
11
  # More details on http://api-sandbox.maestrano.io
12
12
  config.environment = Rails.env.production? ? 'production' : 'test'
13
13
 
14
- # ==> API key
15
- # Your application API key which you can retrieve on http://maestrano.com
14
+ # ==> App ID & API key
15
+ # Your application App ID and API key which you can retrieve on http://maestrano.com
16
16
  # via your cloud partner dashboard.
17
17
  # For testing you can retrieve/generate an api_key from the API Sandbox directly
18
18
  # on http://api-sandbox.maestrano.io
19
+ config.app_id = Rails.env.production? ? 'prod_app_id' : 'sandbox_app_id'
19
20
  config.api_key = Rails.env.production? ? 'prod_api_key' : 'sandbox_api_key'
20
21
 
21
22
  # ==> Single Sign-On activation
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: maestrano-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.4.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Arnaud Lachaume
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2014-05-29 00:00:00 Z
13
+ date: 2014-05-31 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: "0.3"
34
+ version: "0.4"
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency