soar-authentication-identity_uuid_translator 1.0.1 → 1.0.2

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: 5170d8db19db7393f57f5ce3d9e165243bd6d26f
4
- data.tar.gz: d53f8635ad1f27d24316de2595a5e33bc85720ea
3
+ metadata.gz: b81da890ea14c8b063a8c221a6a75f78a054839f
4
+ data.tar.gz: fa1e161aec84c776c352d0cf9b0636530251d59b
5
5
  SHA512:
6
- metadata.gz: 0e71c0fc96fa08683a6a8db684e19277bfd9b29911609649049ada997b8fbf3ea8313cda51b9dc4a31731150fd32f3552c23814f076f928d1862352a7bba8c2a
7
- data.tar.gz: ea06b97cdd7255bad0e97fc41be960040ece69a5250218b8b8153b69e8311cca72b822878e2a24cabd399a198ee3d8291affe63994e42fc59fa653389f38e67c
6
+ metadata.gz: 9a66350e724c4dffb846645d1f913b273a4f71bef24ddfcfde0087ec939f152e2a0729b5b3490be90ed2121515cc2eb7db31c7cd6b5d7b050a9ddc85152a2122
7
+ data.tar.gz: cc4a45f842d9c5d8f823d74afd3a8bc79660eaeb382010e683cb310cd6342c0d40a27cc403a76a36e6d54d87864a083428e95f5c979713a93d8f660f5391091e
data/.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "soar-authentication-identity_uuid_translator"
3
- spec.version = "1.0.1"
3
+ spec.version = "1.0.2"
4
4
  spec.authors = ["Charles Mulder"]
5
5
  spec.email = ["charles.mulder@hetzner.co.za"]
6
6
 
data/README.md CHANGED
@@ -20,6 +20,11 @@ $ bundle exec rspec spec/factory_spec.rb
20
20
  $ bundle exec rspec spec/role_generator_spec.rb
21
21
  ```
22
22
 
23
+ #### Soar::Authentication::IdentityUuidTranslator::UuidGenerator
24
+ ```bash
25
+ $ bundle exec rspec spec/uuid_generator_spec.rb
26
+ ```
27
+
23
28
  #### Soar::Authentication::IdentityUuidTranslator::Provider::Customer
24
29
 
25
30
  ```bash
@@ -60,6 +65,14 @@ docker-compose --file docker-compose.ci.role_generator.yml --project-name soar-a
60
65
  exit $EXIT_CODE;
61
66
  ```
62
67
 
68
+ #### Soar::Authentication::IdentityUuidTranslator::UuidGenerator
69
+ ```bash
70
+ docker-compose --file docker-compose.ci.uuid_generator.yml --project-name soar-authentication-identity_uuid_translator-uuid_generator up --abort-on-container-exit --remove-orphans --build --force-recreate
71
+ EXIT_CODE=$(docker ps -a -f "name=soarauthenticationidentityuuidtranslatoruuidgenerator_tests" -q | xargs docker inspect -f "{{ .State.ExitCode }}");
72
+ docker-compose --file docker-compose.ci.uuid_generator.yml --project-name soar-authentication-identity_uuid_translator-uuid_generator down --rmi local
73
+ exit $EXIT_CODE;
74
+ ```
75
+
63
76
  #### Soar::Authentication::IdentityUuidTranslator::Provider::Customer
64
77
  ```bash
65
78
  docker-compose --file docker-compose.ci.customer_email.yml --project-name soar-authentication-identity_uuid_translator-provider-customer_email up --abort-on-container-exit --remove-orphans --build --force-recreate
@@ -0,0 +1,16 @@
1
+ version: "2"
2
+ services:
3
+
4
+ tests:
5
+ build:
6
+ context: .
7
+ dockerfile: Dockerfile.rspec
8
+ command:
9
+ - bundle
10
+ - exec
11
+ - rspec
12
+ - "spec/uuid_generator_spec.rb"
13
+
14
+
15
+
16
+
@@ -6,7 +6,7 @@ module Soar
6
6
  class UuidGenerator
7
7
 
8
8
  def self.generate(name)
9
- UUIDTools::UUID.md5_create(UUIDTools::UUID_DNS_NAMESPACE, name).to_s
9
+ UUIDTools::UUID.md5_create(UUIDTools::UUID_DNS_NAMESPACE, name.to_s).to_s
10
10
  end
11
11
 
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar-authentication-identity_uuid_translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mulder
@@ -99,6 +99,7 @@ files:
99
99
  - docker-compose.ci.factory.yml
100
100
  - docker-compose.ci.role_generator.yml
101
101
  - docker-compose.ci.staff.yml
102
+ - docker-compose.ci.uuid_generator.yml
102
103
  - docker-compose.customer.yml
103
104
  - docker-compose.dynamo_db.yml
104
105
  - docker-compose.staff.yml