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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a3ddc50fcca510124c93d47a541154bcfd8416d104cc9f2bbe643cf626509d0
4
- data.tar.gz: dc75dce6c0654ea74f67185643b8d986b8780139b2c5f1e433b05ea2df885d66
3
+ metadata.gz: e36e981a06e5b976fe8c2e0a2ecbd001d546082549335253ecc1d7e073aa5cb8
4
+ data.tar.gz: d2a43c560d55f7d644e06c7b0304c21c5e1b1d4c43d805cdcc2d2fe753c8c14c
5
5
  SHA512:
6
- metadata.gz: f46b954e8ed672909e353861bba68ab39d4ae4c166c90663f5e794347f7453374439a93670f4155719ba9151e01e9ae09af23931732854828ec0a88670b30c83
7
- data.tar.gz: a1878395c3eda56122d3eaf954271c038097f2c5f4cc1d1e7c0746791dc1cd8c3cf819b5a6d4279718da6ca45cce741327ecb20d2fff3b9c969008da718d4ba6
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
- else
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lhj
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lhj-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - lihaijian