bigkeeper 0.9.7 → 0.9.8

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: 2af3fd1d2d026824666e8f1898d809c30989787500affa9550dd569adb7c6f37
4
- data.tar.gz: b672ad8078c2dbb9576ed9a7f366e301334ef77d253e9ed06084691b1463897c
3
+ metadata.gz: 6e35ab8c916429eae6491c920c562d0ab6fa0defd431e8c1b7a4db84381ecb2d
4
+ data.tar.gz: d0d89ee1e0a75c55dfb5fb0dd0429aada8a842e1c6f2505930eeb91f849aef84
5
5
  SHA512:
6
- metadata.gz: 713abcd176db1ef408c5b4c93f870157ab56d788af607eb9eb49aebeee72f68f8831d9fd584bc57edd293a47f26195cc316e4efdb2c14aa1d9799cf213ab0a49
7
- data.tar.gz: 704f9cdf0743c58597f6109a302fe8941cd99bcaa37a56ed69e37a06a3f43fdbfd0249410abe09ff6dcba21fc4f8a6379fdc0c372c75a9e545f71b1ebd58a7f2
6
+ metadata.gz: 5843c7b600a1ec3f917f2a24b498fada7f7b94f415bea94bbd3b08c11afe59902a1ec37e9310689cf546d5a49ddaa17914c226dbf6df09fa129d168a1f90d983
7
+ data.tar.gz: 991b6e47428b65ab45200abb60cd72314acc8f0ff710d102d1947a25d80b86e75837c4310c9a9199ec2f39f9643fc46dd02b763bb02c8f5001692414e20e8e74
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigkeeper (0.9.6)
4
+ bigkeeper (0.9.7)
5
5
  big_resources
6
6
  big_stash (~> 0.1)
7
7
  cocoapods
@@ -7,18 +7,27 @@ module BigKeeper
7
7
  class LeanCloudLogger
8
8
  include Singleton
9
9
 
10
- attr_accessor :user, :version, :start_timestamp, :end_timestamp, :command, :parameter, :is_success, :path
10
+ attr_accessor :user, :version, :start_timestamp, :end_timestamp, :command, :parameter, :is_success, :path, :need_log
11
+
12
+ def initialize
13
+ @need_log = "true"
14
+ end
11
15
 
12
16
  def set_command(set_command)
13
17
  @command = set_command
14
18
  end
15
19
 
20
+ def is_need_log
21
+ @need_log == "true"
22
+ end
23
+
16
24
  def start_log(global_options, args)
17
25
  @start_timestamp = Time.new.to_i
18
26
  @user = global_options['user'].to_s
19
27
  @parameter = args.join(",")
20
28
  @version = global_options['ver']
21
29
  @path = global_options['path']
30
+ @need_log = "#{global_options[:log]}"
22
31
  end
23
32
 
24
33
  def end_log(is_success, is_show_log)
@@ -27,7 +27,8 @@ module BigKeeper
27
27
  end
28
28
 
29
29
  def self.error(sentence)
30
- LeanCloudLogger.instance.end_log(false)
30
+ is_need_log = LeanCloudLogger.instance.is_need_log
31
+ LeanCloudLogger.instance.end_log(false, is_need_log)
31
32
  raise formatter_output(sentence).colorize(:red)
32
33
  end
33
34
 
@@ -1,3 +1,3 @@
1
1
  module BigKeeper
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmoaay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli
@@ -341,7 +341,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
341
341
  - !ruby/object:Gem::Version
342
342
  version: '0'
343
343
  requirements: []
344
- rubygems_version: 3.0.1
344
+ rubyforge_project:
345
+ rubygems_version: 2.7.6
345
346
  signing_key:
346
347
  specification_version: 4
347
348
  summary: Efficiency improvement for iOS&Android modular development.