gito 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gito.rb +0 -1
- data/lib/gito/project.rb +5 -5
- data/lib/gito/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0838fb4e8600ad656c53a678d75dc794cdde1a0a'
|
4
|
+
data.tar.gz: ecc81ababf24d6af18ce5fc0d18ca3e60ba77055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75fcd0dddecbd0c88da9928f35aa549106266bfaf0f2ac2b8fafee109b38a993fb471612376d395ce23b26234d8dd628436a4040cbaa9ffd5188fc6298e9442f
|
7
|
+
data.tar.gz: 1af9cca5a67adaf239394620ce43f2f1227c96a8f3c1ca378d2f5286268ffb6257fc6086944b348ab2d003620bdbe9e6137fcba436b722cc5cbef1126cf1adf7
|
data/lib/gito.rb
CHANGED
data/lib/gito/project.rb
CHANGED
@@ -54,7 +54,7 @@ class Project
|
|
54
54
|
# AppUtils::execute 'rm -rf ' + temp_script_name
|
55
55
|
|
56
56
|
puts "\nPlease change directory into the project"
|
57
|
-
puts "cd #{destination.
|
57
|
+
puts "cd #{destination.yellow}"
|
58
58
|
end
|
59
59
|
|
60
60
|
def detect_project_type
|
@@ -69,6 +69,8 @@ class Project
|
|
69
69
|
elsif File.exists?('Gemfile')
|
70
70
|
@project_type = :ruby
|
71
71
|
end
|
72
|
+
|
73
|
+
puts "Detected #{@project_type}...".yellow
|
72
74
|
@project_type
|
73
75
|
end
|
74
76
|
|
@@ -80,9 +82,7 @@ class Project
|
|
80
82
|
go_inside_and_run('npm install')
|
81
83
|
when :ruby
|
82
84
|
go_inside_and_run('bundle install')
|
83
|
-
|
84
|
-
puts 'Unknown project type'
|
85
|
-
end
|
85
|
+
end
|
86
86
|
end
|
87
87
|
|
88
88
|
def cloneable_url
|
@@ -121,7 +121,7 @@ class Project
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def open_folder
|
124
|
-
puts 'Opening folder'.yellow
|
124
|
+
puts 'Opening folder...'.yellow
|
125
125
|
go_inside_and_run 'open .'
|
126
126
|
end
|
127
127
|
|
data/lib/gito/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.6.
|
125
|
+
rubygems_version: 2.6.10
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: git helper tool to clone/open/install/edit a git project with a one-liner
|