bigkeeper 0.9.7 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/big_keeper/util/leancloud_logger.rb +10 -1
- data/lib/big_keeper/util/logger.rb +2 -1
- data/lib/big_keeper/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e35ab8c916429eae6491c920c562d0ab6fa0defd431e8c1b7a4db84381ecb2d
|
4
|
+
data.tar.gz: d0d89ee1e0a75c55dfb5fb0dd0429aada8a842e1c6f2505930eeb91f849aef84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5843c7b600a1ec3f917f2a24b498fada7f7b94f415bea94bbd3b08c11afe59902a1ec37e9310689cf546d5a49ddaa17914c226dbf6df09fa129d168a1f90d983
|
7
|
+
data.tar.gz: 991b6e47428b65ab45200abb60cd72314acc8f0ff710d102d1947a25d80b86e75837c4310c9a9199ec2f39f9643fc46dd02b763bb02c8f5001692414e20e8e74
|
data/Gemfile.lock
CHANGED
@@ -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.
|
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
|
|
data/lib/big_keeper/version.rb
CHANGED
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.
|
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-
|
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
|
-
|
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.
|