git_cli 0.5.0 → 0.6.0

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: f1bc52f0f2d65c28d608a1242ed33798a68432c3e8656a1d26e483bb68c25e3f
4
- data.tar.gz: 97627db423f1349bcb7a92a4254ca78919308b08c561c3142544f3584b0036bf
3
+ metadata.gz: 8d1a8df0f367e6bab1d2104b430a26afe853504a567c1ec5b4f8ec75a42007ec
4
+ data.tar.gz: f5b2c424923b04ecc56db1d5d70edcfcebd2feb71803f6f9c4505f7afa8ff01b
5
5
  SHA512:
6
- metadata.gz: 1a6a03d7a909402eefc1b836fe0fe0e2a31735e2e3c58feab4b5d7a11d02ab8a9d66dbaee081f360c0a3e2d7a62b8498583befd321c0d7861f6f06717baffaf3
7
- data.tar.gz: 4c55cbd6993e0bb8dcef1104de2997f86f0eeb40a841e41cc4f482dd0c144b1add17e453d241ade09e9fc4107b577e8e0094419d3a9f54bb599cd015de8d2495
6
+ metadata.gz: 28dc72d776c060413be663d0481c32bc4bdbdc8d51bceb8d93b7578a621bd57ecc838cff0cc95b7ad114a0b55e9441d60aec238c51ffd211f322e8b9b551ca66
7
+ data.tar.gz: 2e6a4a9613268dfc56946e58ace954caabe77f7413664baaf74ad74859dc779ada0ef1f18bfa1ae6c87796f6771c13ca37c0dba6c225c53636c3f168a73cdcef
@@ -97,6 +97,7 @@ module GitCli
97
97
  check_vcs
98
98
 
99
99
  files = opts[:files] || []
100
+ [files] if not files.is_a?(Array)
100
101
  # have to escape the message for command line purposes
101
102
  msg = message.gsub("\"","\\\"").gsub("\\","\\\\")
102
103
 
@@ -24,8 +24,15 @@ module GitCli
24
24
 
25
25
  attr_reader :logger
26
26
  def initialize
27
- @logger = Tlogger.new
27
+ debug = ENV['GitCli_Debug']
28
+ debugOut = ENV['GitCli_DebugOut'] || STDOUT
29
+ if debug.nil?
30
+ @logger = Tlogger.new('git_cli.log', 5, 1024*1024*10)
31
+ else
32
+ @logger = Tlogger.new(debugOut)
33
+ end
28
34
  end
35
+
29
36
  end
30
37
 
31
38
  class GitCliException < StandardError; end
@@ -15,5 +15,5 @@
15
15
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
17
  module GitCli
18
- VERSION = "0.5.0"
18
+ VERSION = "0.6.0"
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Liaw
@@ -11,56 +11,56 @@ cert_chain: []
11
11
  date: 2020-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: tlogger
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '0.21'
19
- name: tlogger
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.21'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: toolrack
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: 0.4.0
33
- name: toolrack
34
- prerelease: false
35
34
  type: :runtime
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
+ name: gvcs
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: 0.1.0
47
- name: gvcs
48
- prerelease: false
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.1.0
55
55
  - !ruby/object:Gem::Dependency
56
+ name: ptools
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
59
60
  - !ruby/object:Gem::Version
60
61
  version: 1.4.0
61
- name: ptools
62
- prerelease: false
63
62
  type: :runtime
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
@@ -122,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.7.10
125
+ rubygems_version: 3.1.4
127
126
  signing_key:
128
127
  specification_version: 4
129
128
  summary: GIT command line interface