kirei 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kirei/app_base.rb +2 -2
- data/lib/kirei/base_controller.rb +1 -1
- data/lib/kirei/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32afe7523ced76d4fa44aa5125fbd4aa5befeaba2ea25bc94f2322b6375c461f
|
4
|
+
data.tar.gz: e6c14a2d80e667ecbd438dc5cd4e6b698ab3e08da394a0a622c027958c8e17cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae26b16d43f88cc9639d64ce255f2ebe269c10ae2e55fc0ad06659e5ef5991562bd87b29b6a6731bff00a58a382d78096ac5f4cbc7a155419d69f706a4f013b7
|
7
|
+
data.tar.gz: a5a4b6e94f7e33eb30d49d46704c52276a492ca6ed744aa99646427dd587836e37783ddabf1fe23856a2bf88cf9812939369d066252fe09e941ec64b33b95cae
|
data/lib/kirei/app_base.rb
CHANGED
@@ -29,13 +29,13 @@ module Kirei
|
|
29
29
|
end
|
30
30
|
|
31
31
|
sig { returns(String) }
|
32
|
-
def
|
32
|
+
def environment
|
33
33
|
ENV.fetch("RACK_ENV", "development")
|
34
34
|
end
|
35
35
|
|
36
36
|
sig { returns(String) }
|
37
37
|
def default_db_name
|
38
|
-
@default_db_name ||= T.let("#{config.app_name}_#{
|
38
|
+
@default_db_name ||= T.let("#{config.app_name}_#{environment}".freeze, T.nilable(String))
|
39
39
|
end
|
40
40
|
|
41
41
|
sig { returns(String) }
|
data/lib/kirei/version.rb
CHANGED