occson-rails 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/occson/rails/engine.rb +7 -2
- data/lib/occson/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5ff9124416bbd292e2159f758535dceee846724944a2e266f36fc970c81c0a0
|
4
|
+
data.tar.gz: 69fbfdaca2aa7945159597fd6a0ac0edd671dfa7af6fa1af761a40befd439456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f262aa1d6d4783320053579a219f92f7639fe95fae9795e36fcb872d39c8c48e2475a23585ad2590bbbd756e5b63bf75f79cd26e512e35abf61da737564aeaeb
|
7
|
+
data.tar.gz: d5a4f0805068558e407bdb891328ba32ee97899351eb48b7232927f53bd97bcd9c1786613da1b30c69f1acdc441e6d9aca1fa12ed922f6c36f331453e957dd87
|
data/lib/occson/rails/engine.rb
CHANGED
@@ -19,8 +19,13 @@ module Occson
|
|
19
19
|
next
|
20
20
|
end
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
if ENV.key?('OCCSON_DOCUMENT_URI')
|
23
|
+
uri = ENV.fetch('OCCSON_DOCUMENT_URI')
|
24
|
+
else
|
25
|
+
version = ApplicationVersion.new(::Rails.application).call
|
26
|
+
uri = "occson://#{version}/.env"
|
27
|
+
end
|
28
|
+
|
24
29
|
access_token = ENV.fetch('OCCSON_ACCESS_TOKEN')
|
25
30
|
passphrase = ENV.fetch('OCCSON_PASSPHRASE')
|
26
31
|
|
data/lib/occson/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occson-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Kowalewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|