osso 0.0.4 → 0.0.5.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/osso/db/migrate/20200916125543_add_google_to_identity_provider_service_enum.rb +28 -0
- data/lib/osso/graphql/mutations/base_mutation.rb +1 -1
- data/lib/osso/graphql/mutations/configure_identity_provider.rb +1 -1
- data/lib/osso/graphql/types/identity_provider_service.rb +1 -0
- data/lib/osso/models/identity_provider.rb +0 -1
- data/lib/osso/version.rb +1 -1
- data/spec/models/identity_provider_spec.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0350490feb43457e4c6ed0a230f62c802892309fab6d5b5f720e93930653443
|
4
|
+
data.tar.gz: 1e3b77e49d750bb436324f49eeac8c2e02e958f52206e9705b8ce8ca937f5dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9326d61c7ba8dbfca73d41c6d49dae57aa2dbee791fa2149dca21b60c3bca87025bcde10cec65e7b167bd14b0ed40ae9dc6a8ab41e76577569e21d5458ed40
|
7
|
+
data.tar.gz: 2a8f8bae8ae5c58258f9be18ecbe1b573d6a3a4b420d681ad7c15e658a456088bf9884b21925235ad1ce2ef815a63059a137a72206c995b51038deb3f63dc0bd
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
class AddGoogleToIdentityProviderServiceEnum < ActiveRecord::Migration[6.0]
|
2
|
+
disable_ddl_transaction!
|
3
|
+
|
4
|
+
def up
|
5
|
+
execute <<-SQL
|
6
|
+
ALTER TYPE identity_provider_service ADD VALUE 'GOOGLE';
|
7
|
+
SQL
|
8
|
+
end
|
9
|
+
|
10
|
+
def down
|
11
|
+
execute <<~SQL
|
12
|
+
CREATE TYPE identity_provider_service_new AS ENUM ('AZURE', 'OKTA', 'ONELOGIN');
|
13
|
+
|
14
|
+
-- Remove values that won't be compatible with new definition
|
15
|
+
DELETE FROM identity_providers WHERE service = 'GOOGLE';
|
16
|
+
|
17
|
+
-- Convert to new type, casting via text representation
|
18
|
+
ALTER TABLE identity_providers
|
19
|
+
ALTER COLUMN service TYPE identity_provider_service_new
|
20
|
+
USING (service::text::identity_provider_service_new);
|
21
|
+
|
22
|
+
-- and swap the types
|
23
|
+
DROP TYPE identity_provider_service;
|
24
|
+
|
25
|
+
ALTER TYPE identity_provider_service_new RENAME TO identity_provider_service;
|
26
|
+
SQL
|
27
|
+
end
|
28
|
+
end
|
@@ -7,6 +7,7 @@ module Osso
|
|
7
7
|
value('AZURE', 'Microsoft Azure Identity Provider', value: 'AZURE')
|
8
8
|
value('OKTA', 'Okta Identity Provider', value: 'OKTA')
|
9
9
|
value('ONELOGIN', 'OneLogin Identity Provider', value: 'ONELOGIN')
|
10
|
+
value('GOOGLE', 'Google SAML Identity Provider', value: 'GOOGLE')
|
10
11
|
end
|
11
12
|
end
|
12
13
|
end
|
data/lib/osso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5.pre.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Bauch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -272,6 +272,7 @@ files:
|
|
272
272
|
- lib/osso/db/migrate/20200723162228_drop_unneeded_tables.rb
|
273
273
|
- lib/osso/db/migrate/20200826201852_create_app_config.rb
|
274
274
|
- lib/osso/db/migrate/20200913154919_add_one_login_to_identity_provider_service_enum.rb
|
275
|
+
- lib/osso/db/migrate/20200916125543_add_google_to_identity_provider_service_enum.rb
|
275
276
|
- lib/osso/graphql/.DS_Store
|
276
277
|
- lib/osso/graphql/mutation.rb
|
277
278
|
- lib/osso/graphql/mutations.rb
|
@@ -373,9 +374,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
373
374
|
version: 2.3.0
|
374
375
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
375
376
|
requirements:
|
376
|
-
- - "
|
377
|
+
- - ">"
|
377
378
|
- !ruby/object:Gem::Version
|
378
|
-
version:
|
379
|
+
version: 1.3.1
|
379
380
|
requirements: []
|
380
381
|
rubygems_version: 3.0.3
|
381
382
|
signing_key:
|