maestrano-connector-rails 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/generators/connector/templates/layouts.haml +1 -1
- data/maestrano-connector-rails.gemspec +11 -3
- data/template/Procfile +2 -0
- data/template/database.yml +31 -0
- data/template/maestrano-connector-template.rb +28 -1
- data/template/maestrano.rb +167 -0
- data/template/settings/development.yml +9 -0
- data/template/settings/production.yml +11 -0
- data/template/settings/settings.yml +28 -0
- data/template/settings/test.yml +9 -0
- data/template/settings/uat.yml +9 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d1c080124eae41d2304fbc38ade5171d63c4419
|
4
|
+
data.tar.gz: 86484e5085dcefb2073b866e68d649e7b5d96a37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75fbb95833b0d50c7f93e5aa09094efe790acd9eb556c6d4827d3a422388805f5965454044f8e5f651e7523989f932d401364ee25d7683bfdac23d6eb57173e8
|
7
|
+
data.tar.gz: 65fca67e8b7f63f1da1212f35d7fd1d629ae9f37e05edf41d0748c65be01eb41c7042d3d76d200f7210c6ef61149bad630adc26f9956fa1dba0916cc5a270ab5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.11
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: maestrano-connector-rails 0.3.
|
5
|
+
# stub: maestrano-connector-rails 0.3.11 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "maestrano-connector-rails"
|
9
|
-
s.version = "0.3.
|
9
|
+
s.version = "0.3.11"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Pierre Berard"]
|
14
|
-
s.date = "2016-04-
|
14
|
+
s.date = "2016-04-05"
|
15
15
|
s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
|
16
16
|
s.email = "pierre.berard@maestrano.com"
|
17
17
|
s.executables = ["rails"]
|
@@ -169,10 +169,18 @@ Gem::Specification.new do |s|
|
|
169
169
|
"spec/models/user_spec.rb",
|
170
170
|
"spec/routing/connec_routing_spec.rb",
|
171
171
|
"spec/spec_helper.rb",
|
172
|
+
"template/Procfile",
|
173
|
+
"template/database.yml",
|
172
174
|
"template/factories.rb",
|
173
175
|
"template/gitignore",
|
174
176
|
"template/maestrano-connector-template.rb",
|
177
|
+
"template/maestrano.rb",
|
175
178
|
"template/routes.rb",
|
179
|
+
"template/settings/development.yml",
|
180
|
+
"template/settings/production.yml",
|
181
|
+
"template/settings/settings.yml",
|
182
|
+
"template/settings/test.yml",
|
183
|
+
"template/settings/uat.yml",
|
176
184
|
"template/spec_helper.rb"
|
177
185
|
]
|
178
186
|
s.homepage = "http://github.com/maestrano/maestrano-connector-rails"
|
data/template/Procfile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem 'activerecord-jdbcsqlite3-adapter'
|
3
|
+
#
|
4
|
+
# Configure Using Gemfile
|
5
|
+
# gem 'activerecord-jdbcsqlite3-adapter'
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
|
10
|
+
development:
|
11
|
+
<<: *default
|
12
|
+
database: db/development.sqlite3
|
13
|
+
|
14
|
+
# Warning: The database defined as "test" will be erased and
|
15
|
+
# re-generated from your development database when you run "rake".
|
16
|
+
# Do not set this db to the same as development or production.
|
17
|
+
test:
|
18
|
+
<<: *default
|
19
|
+
database: db/test.sqlite3
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: postgresql
|
23
|
+
url: <%= ENV['DATABASE_URL'] %>
|
24
|
+
encoding: unicode
|
25
|
+
pool: 5
|
26
|
+
|
27
|
+
uat:
|
28
|
+
adapter: postgresql
|
29
|
+
url: <%= ENV['DATABASE_URL'] %>
|
30
|
+
encoding: unicode
|
31
|
+
pool: 5
|
@@ -31,14 +31,19 @@ add_source 'https://rubygems.org'
|
|
31
31
|
|
32
32
|
if yes?("Use JRuby? [y/n]")
|
33
33
|
run 'echo "ruby \'2.2.3\', :engine => \'jruby\', :engine_version => \'9.0.5.0\'" | cat - Gemfile > temp && mv temp Gemfile'
|
34
|
-
gem_group :production do
|
34
|
+
gem_group :production, :uat do
|
35
35
|
gem 'activerecord-jdbcpostgresql-adapter'
|
36
|
+
gem 'rails_12factor'
|
36
37
|
end
|
37
38
|
gem_group :test, :develpment do
|
38
39
|
gem 'activerecord-jdbcsqlite3-adapter'
|
39
40
|
end
|
40
41
|
else
|
41
42
|
gem 'sqlite3'
|
43
|
+
|
44
|
+
gem_group :production, :uat do
|
45
|
+
gem 'rails_12factor'
|
46
|
+
end
|
42
47
|
end
|
43
48
|
|
44
49
|
gem 'haml-rails'
|
@@ -54,6 +59,7 @@ gem 'tzinfo-data', platforms: [:mingw, :mswin, :jruby]
|
|
54
59
|
gem 'uglifier', '>= 1.3.0'
|
55
60
|
|
56
61
|
gem 'maestrano-connector-rails'
|
62
|
+
gem 'config'
|
57
63
|
|
58
64
|
|
59
65
|
gem_group :test do
|
@@ -81,6 +87,24 @@ after_bundle do
|
|
81
87
|
copy_file 'factories.rb', 'spec/factories.rb'
|
82
88
|
copy_file 'routes.rb', 'config/routes.rb'
|
83
89
|
|
90
|
+
# Heroku and uat
|
91
|
+
copy_file 'Procfile', 'Procfile'
|
92
|
+
run 'cp config/environments/production.rb config/environments/uat.rb'
|
93
|
+
remove_file 'config/database.yml'
|
94
|
+
copy_file 'database.yml', 'config/database.yml'
|
95
|
+
run 'echo \'uat:
|
96
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>\' >> config/secrets.yml'
|
97
|
+
|
98
|
+
# Settings
|
99
|
+
run 'bundle exec rails g config:install'
|
100
|
+
remove_dir 'config/settings'
|
101
|
+
remove_file 'config/settings.yml'
|
102
|
+
run 'mkdir config/settings'
|
103
|
+
%w(development production test uat).each do |file|
|
104
|
+
copy_file "settings/#{file}.yml", "config/settings/#{file}.yml"
|
105
|
+
end
|
106
|
+
copy_file 'settings/settings.yml', 'config/settings.yml'
|
107
|
+
|
84
108
|
application do <<-RUBY
|
85
109
|
config.generators do |g|
|
86
110
|
g.test_framework :rspec, fixture: false
|
@@ -95,6 +119,9 @@ after_bundle do
|
|
95
119
|
run 'bundle exec rake railties:install:migrations'
|
96
120
|
run 'bundle exec rake db:migrate'
|
97
121
|
|
122
|
+
remove_file 'config/initializers/maestrano.rb'
|
123
|
+
copy_file 'maestrano.rb', 'config/initializers/maestrano.rb'
|
124
|
+
|
98
125
|
# Init repo and commit
|
99
126
|
git :init
|
100
127
|
git add: "."
|
@@ -0,0 +1,167 @@
|
|
1
|
+
%w(default maestrano-uat).each do |tenant|
|
2
|
+
Maestrano[tenant].configure do |config|
|
3
|
+
|
4
|
+
# ==> Environment configuration
|
5
|
+
# The environment to connect to.
|
6
|
+
# If set to 'production' then all Single Sign-On (SSO) and API requests
|
7
|
+
# will be made to maestrano.com
|
8
|
+
# If set to 'test' then requests will be made to api-sandbox.maestrano.io
|
9
|
+
# The api-sandbox allows you to easily test integration scenarios.
|
10
|
+
# More details on http://api-sandbox.maestrano.io
|
11
|
+
#
|
12
|
+
config.environment = Settings[tenant][:environment]
|
13
|
+
|
14
|
+
# ==> Application host
|
15
|
+
# This is your application host (e.g: my-app.com) which is ultimately
|
16
|
+
# used to redirect users to the right SAML url during SSO handshake.
|
17
|
+
#
|
18
|
+
config.app.host = Settings.app_host
|
19
|
+
|
20
|
+
# ==> App ID & API key
|
21
|
+
# Your application App ID and API key which you can retrieve on http://maestrano.com
|
22
|
+
# via your cloud partner dashboard.
|
23
|
+
# For testing you can retrieve/generate an api.id and api.key from the API Sandbox directly
|
24
|
+
# on http://api-sandbox.maestrano.io
|
25
|
+
#
|
26
|
+
config.api.host = Settings[tenant][:api_host]
|
27
|
+
config.api.id = ENV[Settings[tenant][:api_id]]
|
28
|
+
config.api.key = ENV[Settings[tenant][:api_key]]
|
29
|
+
|
30
|
+
config.sso.x509_certificate = Settings[tenant][:x509_certificate]
|
31
|
+
config.sso.x509_fingerprint = Settings[tenant][:x509_fingerprint]
|
32
|
+
# ==> Single Sign-On activation
|
33
|
+
# Enable/Disable single sign-on. When troubleshooting authentication issues
|
34
|
+
# you might want to disable SSO temporarily
|
35
|
+
#
|
36
|
+
# config.sso.enabled = true
|
37
|
+
|
38
|
+
# ==> Single Sign-On Identity Manager
|
39
|
+
# By default we consider that the domain managing user identification
|
40
|
+
# is the same as your application host (see above config.app.host parameter)
|
41
|
+
# If you have a dedicated domain managing user identification and therefore
|
42
|
+
# responsible for the single sign-on handshake (e.g: https://idp.my-app.com)
|
43
|
+
# then you can specify it below
|
44
|
+
#
|
45
|
+
# config.sso.idm = (config.environment == 'production' ? 'https://idp.my-app.com' : 'http://localhost:3000')
|
46
|
+
|
47
|
+
# ==> SSO Initialization endpoint
|
48
|
+
# This is your application path to the SAML endpoint that allows users to
|
49
|
+
# initialize SSO authentication. Upon reaching this endpoint users your
|
50
|
+
# application will automatically create a SAML request and redirect the user
|
51
|
+
# to Maestrano. Maestrano will then authenticate and authorize the user. Upon
|
52
|
+
# authorization the user gets redirected to your application consumer endpoint
|
53
|
+
# (see below) for initial setup and/or login.
|
54
|
+
#
|
55
|
+
# The controller for this path is automatically
|
56
|
+
# generated when you run 'rake maestrano:install' and is available at
|
57
|
+
# <rails_root>/app/controllers/maestrano/auth/saml.rb
|
58
|
+
#
|
59
|
+
config.sso.init_path = Settings[tenant][:sso_init_path]
|
60
|
+
|
61
|
+
# ==> SSO Consumer endpoint
|
62
|
+
# This is your application path to the SAML endpoint that allows users to
|
63
|
+
# finalize SSO authentication. During the 'consume' action your application
|
64
|
+
# sets users (and associated group) up and/or log them in.
|
65
|
+
#
|
66
|
+
# The controller for this path is automatically
|
67
|
+
# generated when you run 'rake maestrano:install' and is available at
|
68
|
+
# <rails_root>/app/controllers/maestrano/auth/saml.rb
|
69
|
+
#
|
70
|
+
config.sso.consume_path = Settings[tenant][:sso_consume_path]
|
71
|
+
|
72
|
+
# ==> Single Logout activation
|
73
|
+
# Enable/Disable single logout. When troubleshooting authentication issues
|
74
|
+
# you might want to disable SLO temporarily.
|
75
|
+
# If set to false then Maestrano::SSO::Session#valid? - which should be
|
76
|
+
# used in a controller before filter to check user session - always return true
|
77
|
+
#
|
78
|
+
# config.sso.slo_enabled = true
|
79
|
+
|
80
|
+
# ==> SSO User creation mode
|
81
|
+
# !IMPORTANT
|
82
|
+
# On Maestrano users can take several "instances" of your service. You can consider
|
83
|
+
# each "instance" as 1) a billing entity and 2) a collaboration group (this is
|
84
|
+
# equivalent to a 'customer account' in a commercial world). When users login to
|
85
|
+
# your application via single sign-on they actually login via a specific group which
|
86
|
+
# is then supposed to determine which data they have access to inside your application.
|
87
|
+
#
|
88
|
+
# E.g: John and Jack are part of group 1. They should see the same data when they login to
|
89
|
+
# your application (employee info, analytics, sales etc..). John is also part of group 2
|
90
|
+
# but not Jack. Therefore only John should be able to see the data belonging to group 2.
|
91
|
+
#
|
92
|
+
# In most application this is done via collaboration/sharing/permission groups which is
|
93
|
+
# why a group is required to be created when a new user logs in via a new group (and
|
94
|
+
# also for billing purpose - you charge a group, not a user directly).
|
95
|
+
#
|
96
|
+
# == mode: 'real'
|
97
|
+
# In an ideal world a user should be able to belong to several groups in your application.
|
98
|
+
# In this case you would set the 'sso.creation_mode' to 'real' which means that the uid
|
99
|
+
# and email we pass to you are the actual user email and maestrano universal id.
|
100
|
+
#
|
101
|
+
# == mode: 'virtual'
|
102
|
+
# Now let's say that due to technical constraints your application cannot authorize a user
|
103
|
+
# to belong to several groups. Well next time John logs in via a different group there will
|
104
|
+
# be a problem: the user already exists (based on uid or email) and cannot be assigned
|
105
|
+
# to a second group. To fix this you can set the 'sso.creation_mode' to 'virtual'. In this
|
106
|
+
# mode users get assigned a truly unique uid and email across groups. So next time John logs
|
107
|
+
# in a whole new user account can be created for him without any validation problem. In this
|
108
|
+
# mode the email we assign to him looks like "usr-sdf54.cld-45aa2@mail.maestrano.com". But don't
|
109
|
+
# worry we take care of forwarding any email you would send to this address
|
110
|
+
#
|
111
|
+
# config.sso.creation_mode = 'real' # or 'virtual'
|
112
|
+
|
113
|
+
# ==> Account Webhooks
|
114
|
+
# Single sign on has been setup into your app and Maestrano users are now able
|
115
|
+
# to use your service. Great! Wait what happens when a business (group) decides to
|
116
|
+
# stop using your service? Also what happens when a user gets removed from a business?
|
117
|
+
# Well the endpoints below are for Maestrano to be able to notify you of such
|
118
|
+
# events.
|
119
|
+
#
|
120
|
+
# Even if the routes look restful we issue only issue DELETE requests for the moment
|
121
|
+
# to notify you of any service cancellation (group deletion) or any user being
|
122
|
+
# removed from a group.
|
123
|
+
#
|
124
|
+
# The controllers for these hooks path are automatically generated when
|
125
|
+
# you run 'rake maestrano:install' and is available under
|
126
|
+
# <rails_root>/app/controllers/maestrano/account/
|
127
|
+
#
|
128
|
+
config.webhook.account.groups_path = Settings[tenant][:webhook][:account][:groups_path]
|
129
|
+
config.webhook.account.group_users_path = Settings[tenant][:webhook][:account][:group_users_path]
|
130
|
+
|
131
|
+
config.webhook.connec.notifications_path = Settings[tenant][:webhook][:connec][:notifications_path]
|
132
|
+
|
133
|
+
#
|
134
|
+
# == Subscriptions
|
135
|
+
# This is the list of entities (organizations,people,invoices etc.) for which you want to be
|
136
|
+
# notified upon creation/update in Connec!™
|
137
|
+
config.webhook.connec.subscriptions = {
|
138
|
+
accounts: false,
|
139
|
+
company: false,
|
140
|
+
employees: false,
|
141
|
+
events: false,
|
142
|
+
event_orders: false,
|
143
|
+
invoices: false,
|
144
|
+
items: false,
|
145
|
+
journals: false,
|
146
|
+
opportunities: false,
|
147
|
+
organizations: false,
|
148
|
+
payments: false,
|
149
|
+
pay_items: false,
|
150
|
+
pay_schedules: false,
|
151
|
+
pay_stubs: false,
|
152
|
+
pay_runs: false,
|
153
|
+
people: false,
|
154
|
+
projects: false,
|
155
|
+
purchase_orders: false,
|
156
|
+
quotes: false,
|
157
|
+
sales_orders: false,
|
158
|
+
tax_codes: false,
|
159
|
+
tax_rates: false,
|
160
|
+
time_activities: false,
|
161
|
+
time_sheets: false,
|
162
|
+
venues: false,
|
163
|
+
warehouses: false,
|
164
|
+
work_locations: false
|
165
|
+
}
|
166
|
+
end
|
167
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# tenant config
|
2
|
+
default:
|
3
|
+
x509_certificate: "-----BEGIN CERTIFICATE-----\nMIIDezCCAuSgAwIBAgIJAPFpcH2rW0pyMA0GCSqGSIb3DQEBBQUAMIGGMQswCQYD\nVQQGEwJBVTEMMAoGA1UECBMDTlNXMQ8wDQYDVQQHEwZTeWRuZXkxGjAYBgNVBAoT\nEU1hZXN0cmFubyBQdHkgTHRkMRYwFAYDVQQDEw1tYWVzdHJhbm8uY29tMSQwIgYJ\nKoZIhvcNAQkBFhVzdXBwb3J0QG1hZXN0cmFuby5jb20wHhcNMTQwMTA0MDUyNDEw\nWhcNMzMxMjMwMDUyNDEwWjCBhjELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA05TVzEP\nMA0GA1UEBxMGU3lkbmV5MRowGAYDVQQKExFNYWVzdHJhbm8gUHR5IEx0ZDEWMBQG\nA1UEAxMNbWFlc3RyYW5vLmNvbTEkMCIGCSqGSIb3DQEJARYVc3VwcG9ydEBtYWVz\ndHJhbm8uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD3feNNn2xfEz5/\nQvkBIu2keh9NNhobpre8U4r1qC7h7OeInTldmxGL4cLHw4ZAqKbJVrlFWqNevM5V\nZBkDe4mjuVkK6rYK1ZK7eVk59BicRksVKRmdhXbANk/C5sESUsQv1wLZyrF5Iq8m\na9Oy4oYrIsEF2uHzCouTKM5n+O4DkwIDAQABo4HuMIHrMB0GA1UdDgQWBBSd/X0L\n/Pq+ZkHvItMtLnxMCAMdhjCBuwYDVR0jBIGzMIGwgBSd/X0L/Pq+ZkHvItMtLnxM\nCAMdhqGBjKSBiTCBhjELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA05TVzEPMA0GA1UE\nBxMGU3lkbmV5MRowGAYDVQQKExFNYWVzdHJhbm8gUHR5IEx0ZDEWMBQGA1UEAxMN\nbWFlc3RyYW5vLmNvbTEkMCIGCSqGSIb3DQEJARYVc3VwcG9ydEBtYWVzdHJhbm8u\nY29tggkA8WlwfatbSnIwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQDE\nhe/18oRh8EqIhOl0bPk6BG49AkjhZZezrRJkCFp4dZxaBjwZTddwo8O5KHwkFGdy\nyLiPV326dtvXoKa9RFJvoJiSTQLEn5mO1NzWYnBMLtrDWojOe6Ltvn3x0HVo/iHh\nJShjAn6ZYX43Tjl1YXDd1H9O+7/VgEWAQQ32v8p5lA==\n-----END CERTIFICATE-----"
|
4
|
+
x509_fingerprint: '2f:57:71:e4:40:19:57:37:a6:2c:f0:c5:82:52:2f:2e:41:b7:9d:7e'
|
5
|
+
api_id: 'connec_api_id'
|
6
|
+
api_key: 'connec_api_key'
|
7
|
+
sso_init_path: '/maestrano/auth/saml/init/default'
|
8
|
+
sso_consume_path: '/maestrano/auth/saml/consume/default'
|
9
|
+
webhook:
|
10
|
+
account:
|
11
|
+
groups_path: '/maestrano/account/groups/:id/default'
|
12
|
+
group_users_path: '/maestrano/account/groups/:group_id/users/:id/default'
|
13
|
+
connec:
|
14
|
+
notifications_path: '/maestrano/connec/notifications/default'
|
15
|
+
|
16
|
+
maestrano-uat:
|
17
|
+
x509_certificate: "-----BEGIN CERTIFICATE-----\nMIIDezCCAuSgAwIBAgIJAMzy+weDPp7qMA0GCSqGSIb3DQEBBQUAMIGGMQswCQYD\nVQQGEwJBVTEMMAoGA1UECBMDTlNXMQ8wDQYDVQQHEwZTeWRuZXkxGjAYBgNVBAoT\nEU1hZXN0cmFubyBQdHkgTHRkMRYwFAYDVQQDEw1tYWVzdHJhbm8uY29tMSQwIgYJ\nKoZIhvcNAQkBFhVzdXBwb3J0QG1hZXN0cmFuby5jb20wHhcNMTQwMTA0MDUyMzE0\nWhcNMzMxMjMwMDUyMzE0WjCBhjELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA05TVzEP\nMA0GA1UEBxMGU3lkbmV5MRowGAYDVQQKExFNYWVzdHJhbm8gUHR5IEx0ZDEWMBQG\nA1UEAxMNbWFlc3RyYW5vLmNvbTEkMCIGCSqGSIb3DQEJARYVc3VwcG9ydEBtYWVz\ndHJhbm8uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+2uyQeAOc/iro\nhCyT33RkkWfTGeJ8E/mu9F5ORWoCZ/h2J+QDuzuc69Rf1LoO4wZVQ8LBeWOqMBYz\notYFUIPlPfIBXDNL/stHkpg28WLDpoJM+46WpTAgp89YKgwdAoYODHiUOcO/uXOO\n2i9Ekoa+kxbvBzDJf7uuR/io6GERXwIDAQABo4HuMIHrMB0GA1UdDgQWBBTGRDBT\nie5+fHkB0+SZ5g3WY/D2RTCBuwYDVR0jBIGzMIGwgBTGRDBTie5+fHkB0+SZ5g3W\nY/D2RaGBjKSBiTCBhjELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA05TVzEPMA0GA1UE\nBxMGU3lkbmV5MRowGAYDVQQKExFNYWVzdHJhbm8gUHR5IEx0ZDEWMBQGA1UEAxMN\nbWFlc3RyYW5vLmNvbTEkMCIGCSqGSIb3DQEJARYVc3VwcG9ydEBtYWVzdHJhbm8u\nY29tggkAzPL7B4M+nuowDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQAw\nRxg3rZrML//xbsS3FFXguzXiiNQAvA4KrMWhGh3jVrtzAlN1/okFNy6zuN8gzdKD\nYw2n0c/u3cSpUutIVZOkwQuPCMC1hoP7Ilat6icVewNcHayLBxKgRxpBhr5Sc4av\n3HOW5Bi/eyC7IjeBTbTnpziApEC7uUsBou2rlKmTGw==\n-----END CERTIFICATE-----"
|
18
|
+
x509_fingerprint: '8a:1e:2e:76:c4:67:80:68:6c:81:18:f7:d3:29:5d:77:f8:79:54:2f'
|
19
|
+
api_id: 'maestrano_uat_connec_api_id'
|
20
|
+
api_key: 'maestrano_uat_connec_api_key'
|
21
|
+
sso_consume_path: '/maestrano/auth/saml/consume/maestrano-uat'
|
22
|
+
sso_init_path: '/maestrano/auth/saml/init/maestrano-uat'
|
23
|
+
webhook:
|
24
|
+
account:
|
25
|
+
groups_path: '/maestrano/account/groups/:id/maestrano-uat'
|
26
|
+
group_users_path: '/maestrano/account/groups/:group_id/users/:id/maestrano-uat'
|
27
|
+
connec:
|
28
|
+
notifications_path: '/maestrano/connec/notifications/maestrano-uat'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maestrano-connector-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre Berard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maestrano-rails
|
@@ -379,10 +379,18 @@ files:
|
|
379
379
|
- spec/models/user_spec.rb
|
380
380
|
- spec/routing/connec_routing_spec.rb
|
381
381
|
- spec/spec_helper.rb
|
382
|
+
- template/Procfile
|
383
|
+
- template/database.yml
|
382
384
|
- template/factories.rb
|
383
385
|
- template/gitignore
|
384
386
|
- template/maestrano-connector-template.rb
|
387
|
+
- template/maestrano.rb
|
385
388
|
- template/routes.rb
|
389
|
+
- template/settings/development.yml
|
390
|
+
- template/settings/production.yml
|
391
|
+
- template/settings/settings.yml
|
392
|
+
- template/settings/test.yml
|
393
|
+
- template/settings/uat.yml
|
386
394
|
- template/spec_helper.rb
|
387
395
|
homepage: http://github.com/maestrano/maestrano-connector-rails
|
388
396
|
licenses:
|