g5gem 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/g5gem +8 -2
- data/lib/g5gem/version.rb +1 -1
- metadata +7 -7
data/bin/g5gem
CHANGED
@@ -11,7 +11,7 @@ class App < Thor
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
desc "release GEM", "release gem
|
14
|
+
desc "release [PATH TO .GEM]", "release gem"
|
15
15
|
method_options :force => :boolean
|
16
16
|
def release(name)
|
17
17
|
if is_gem?(name)
|
@@ -23,7 +23,7 @@ class App < Thor
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
desc "yank GEM", "yank gem
|
26
|
+
desc "yank [PATH TO .GEM]", "yank gem"
|
27
27
|
def yank(name)
|
28
28
|
if is_gem?(name)
|
29
29
|
G5gem.yank_gem_from_server(name)
|
@@ -36,5 +36,11 @@ class App < Thor
|
|
36
36
|
say "Sorry dude. Needs to be a gem", :red
|
37
37
|
end
|
38
38
|
end
|
39
|
+
|
40
|
+
desc "list", "list gems"
|
41
|
+
def list
|
42
|
+
say "Gems on server:", :green
|
43
|
+
G5gem.list_gems
|
44
|
+
end
|
39
45
|
end
|
40
46
|
App.start
|
data/lib/g5gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mark Turner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-13 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements: []
|
101
101
|
|
102
102
|
rubyforge_project: g5gem
|
103
|
-
rubygems_version: 1.
|
103
|
+
rubygems_version: 1.6.2
|
104
104
|
signing_key:
|
105
105
|
specification_version: 3
|
106
106
|
summary: An easy way to install/update gems on the g5platform
|