lhj-tools 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhj/helper/log_helper.rb +6 -4
- data/lib/lhj/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: e36e981a06e5b976fe8c2e0a2ecbd001d546082549335253ecc1d7e073aa5cb8
|
4
|
+
data.tar.gz: d2a43c560d55f7d644e06c7b0304c21c5e1b1d4c43d805cdcc2d2fe753c8c14c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d7c0dffa09b47739f967f93b9512e595bba8f061b5193d5fcf68034e8d4612c1af851d136f9b425bc5c1b4f4d63080d8d28708aad2b19c8523c6caa598f2a02
|
7
|
+
data.tar.gz: bd2ad85f4b91d772b1a76636a7709b0906f74b9890a24759d5470b1a453e272a2edf689b2dcdfbeb2799a3f7bbf47828966067a3aea377b90f7969bbc24d9119
|
@@ -34,14 +34,16 @@ module Lhj
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def fetch_env(env)
|
37
|
+
result
|
37
38
|
case env
|
38
39
|
when :release
|
39
|
-
'release'
|
40
|
+
result = 'release'
|
40
41
|
when :gray
|
41
|
-
'gray'
|
42
|
-
|
43
|
-
'uat'
|
42
|
+
result = 'gray'
|
43
|
+
when :uat
|
44
|
+
result = 'uat'
|
44
45
|
end
|
46
|
+
result
|
45
47
|
end
|
46
48
|
|
47
49
|
def fetch_log
|
data/lib/lhj/version.rb
CHANGED