raykit 0.0.44 → 0.0.45

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/git.rb +9 -9
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddd4b2a2c204ea8f77431de7419eb79cfed9f11d76b025a8772281a68206c501
4
- data.tar.gz: f054624294442b55af86b00540293f6756e0f7a00f9f0bf73b14b0c5874a3049
3
+ metadata.gz: ed6b79d50c4d9bfafe22385daed2c044f64ed0753d40165cead869869523a2eb
4
+ data.tar.gz: d702f3701c11e9a4c67b92b574e98d2954cef0bab040ca8a2405031ce6aa8d54
5
5
  SHA512:
6
- metadata.gz: e0560b926bd41ccffe5bf9d22fce98c79f86e50454c602b779d065499f544b45316aab12aa26bf5a1cde35e6dc131333b588b22c7bc63006ef6367447475a104
7
- data.tar.gz: 244f4456553eaf50eba28e16079817e965bae2ea9faf2483c6edb4f6aa7f83e872a3a7cf29859acda2691474082bebd01f6cca49c0b54ee72373cea8c74b7b21
6
+ metadata.gz: 641b2008ec0c9a726e8597608f5798fbd113eba5fffe49728bf4f8197b96ad5ed9e3d359495297f9251c25c36215c7291db3cca82479eccc430dc0c9166f4ee8
7
+ data.tar.gz: 064f0efbc199a8f72c8f9f9cd79a83a717864453aecd5f40ffb13e50bb55bb5a2eeffdd4d909e38db626ce67081d35ed012ba807c916e006cfea5e09412b4d18
data/lib/raykit/git.rb CHANGED
@@ -38,9 +38,9 @@ module Raykit
38
38
  if(text.include?('HEAD detached'))
39
39
  return 'master'
40
40
  end
41
- puts "get_current_branch text=#{text}"
41
+ #puts "get_current_branch text=#{text}"
42
42
  scan=text.scan(/\*\s([\w\.-]+)/)
43
- puts "scan=#{scan}"
43
+ #puts "scan=#{scan}"
44
44
  scan[0][0].to_s
45
45
  end
46
46
 
@@ -51,11 +51,11 @@ module Raykit
51
51
  if(!Dir.exist?(parent_dir))
52
52
  FileUtils.mkdir_p(parent_dir)
53
53
  end
54
- cmd = Command.new("git clone #{remote} #{clone_dir}")
55
- puts "cmd.command=#{cmd.command}"
56
- puts "cmd.exitstatus=#{cmd.exitstatus}"
57
- puts "cmd.output=#{cmd.output}"
58
- puts "cmd.error=#{cmd.error}"
54
+ Command.new("git clone #{remote} #{clone_dir}")
55
+ #puts "cmd.command=#{cmd.command}"
56
+ #puts "cmd.exitstatus=#{cmd.exitstatus}"
57
+ #puts "cmd.output=#{cmd.output}"
58
+ #puts "cmd.error=#{cmd.error}"
59
59
  end
60
60
  Dir.chdir(clone_dir) do
61
61
  Command.new('git pull')
@@ -63,9 +63,9 @@ module Raykit
63
63
  Command.new("git checkout #{branch}")
64
64
  end
65
65
  text=`git log --name-status HEAD^..HEAD`
66
- puts "get_latest_commit text: #{text}"
66
+ #puts "get_latest_commit text: #{text}"
67
67
  scan=text.scan(/commit ([\w]+)\s/)
68
- puts "scan: #{scan}"
68
+ #puts "scan: #{scan}"
69
69
  return scan[0][0].to_s
70
70
  end
71
71
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow