renuo-cli 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 0d92678e27b040700c39bfbd9297d537555d233e
4
- data.tar.gz: 18f9648cac1cb5ff446783e57d3ff63145a8e2cb
3
+ metadata.gz: 1fac779506221d987c28935ef6a8e0623d75a45b
4
+ data.tar.gz: a0a5cef444ddc58aebf0970827ca28cb49ea14e2
5
5
  SHA512:
6
- metadata.gz: 69dd57ad7996e50ec818df7c65f077d105a85c3aad0b747504c06094a0dcf1b245220f3f2a6beabe85da354e8765934941c1f3a05f9832de1974d1493c1de169
7
- data.tar.gz: 4b46f3930db3cefc3a2068e1a39fde045014c7302a975453188716f70d4e4f8c9f14e1f6a30acff953bbb069d3484112d1b2baf8c74424fa531211ce7e121b56
6
+ metadata.gz: c6862ee44a7470fb30e33e79eef15dee60af7c82614b77555679f2caec3ed2e046e5529a6ee8dc3e8d2bef1eb8d9491dd34e04e13cf376f89676ffb340c30b35
7
+ data.tar.gz: 34bb158427e1f70e269d04a27ae52e9864d0736f9b6bdcae8e6894d622b956fecdb3554bdf9040bccb5e5d69b61d8e6d017071020fba825b37565b249fc1d033
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- renuo-cli (0.0.4)
4
+ renuo-cli (0.0.5)
5
5
  commander
6
6
 
7
7
  GEM
@@ -34,22 +34,22 @@ class MigrateToGithub
34
34
  end
35
35
 
36
36
  def transfer_git
37
- `git clone --mirror git@git.renuo.ch:renuo/#{@project_name}.git`
38
- `cd #{@project_name}.git && hub create -p renuo/#{@project_name}`
39
- `cd #{@project_name}.git && git push --mirror git@github.com:renuo/#{@project_name}.git`
37
+ puts `git clone --mirror git@git.renuo.ch:renuo/#{@project_name}.git`
38
+ puts `cd #{@project_name}.git && hub create -p renuo/#{@project_name}`
39
+ puts `cd #{@project_name}.git && git push --mirror git@github.com:renuo/#{@project_name}.git`
40
40
  `rm -rf #{@project_name}.git`
41
41
  end
42
42
 
43
43
  def update_readme
44
44
  agree('Let us update the README.md now. Ready?')
45
45
 
46
- `git clone git@github.com:renuo/#{@project_name}.git`
47
- `cd #{@project_name} && git fetch --all && git checkout develop && git pull && git flow init -d`
46
+ puts `git clone git@github.com:renuo/#{@project_name}.git`
47
+ puts `cd #{@project_name} && git fetch --all && git checkout develop && git pull && git flow init -d`
48
48
  File.write("#{@project_name}/README.md", File.read("#{@project_name}/README.md").gsub('git.renuo.ch', 'github.com'))
49
49
 
50
50
  update_readme_loop
51
51
 
52
- `cd #{@project_name} && git commit -m 'migrate to github' && git push --set-upstream origin develop`
52
+ puts `cd #{@project_name} && git commit -m 'migrate to github' && git push --set-upstream origin develop`
53
53
  `rm -rf #{@project_name}`
54
54
  end
55
55
 
@@ -1,5 +1,5 @@
1
1
  module Renuo
2
2
  module Cli
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuo-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Elmer