glub 0.1.3 → 0.1.5
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/VERSION +1 -1
- data/lib/glub.rb +4 -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: 7406d71ec8dbcfb6c2e3692792e61c5c5b98f88f
|
|
4
|
+
data.tar.gz: 873f3447a5d16ce8adc86a81ae668eaf69906fab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4e62e55889813623cee37b4e5db3da47ed1dd8a6ff3406d548116bca9cac189840f34b303dc70104e098d9c16429b44ff472cf6ab22d00e5173718a80846ec3
|
|
7
|
+
data.tar.gz: 33dba21bb5e3ea10bce3805b9678e2e03ff5577ac6ba44351d65d1b2f8d62fe5dd7c6be746dfbe35398a51813b2466b4c6fcf76a092bc1d77cbbf7a2cd1657d4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
data/lib/glub.rb
CHANGED
|
@@ -177,15 +177,18 @@ class Glub < Sif::Loader
|
|
|
177
177
|
)
|
|
178
178
|
|
|
179
179
|
response = JSON.parse response.body
|
|
180
|
+
response = response.sort_by {|r| r['name']}
|
|
180
181
|
|
|
181
182
|
projects = []
|
|
182
183
|
response.each_with_index do |project, idx|
|
|
183
184
|
idx+=1
|
|
184
185
|
projects << { id: idx, name: project['name'], ssh_repo: project['ssh_url_to_repo'] }
|
|
185
186
|
end
|
|
187
|
+
|
|
186
188
|
puts "Projects: "
|
|
189
|
+
|
|
187
190
|
projects.each { |project| puts " #{project[:id]} Name:#{project[:name]}"}
|
|
188
|
-
|
|
191
|
+
|
|
189
192
|
puts 'Which project do you want to clone? (enter the number)'
|
|
190
193
|
clone_response = $stdin.gets.chomp.to_i
|
|
191
194
|
if !clone_response.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: glub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- George McIntosh
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-11-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: webmock
|