gemmer 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/src/gemmer.rb +3 -3
- metadata +15 -6
data/src/gemmer.rb
CHANGED
@@ -144,7 +144,7 @@ module Gemmer #:nodoc:
|
|
144
144
|
def define_rubygems_release_task
|
145
145
|
namespace :release do
|
146
146
|
desc "Release #{@gem_name} to rubygems.org"
|
147
|
-
task :rubygems do
|
147
|
+
task :rubygems => @package do
|
148
148
|
sh "gem push #{@package}"
|
149
149
|
end
|
150
150
|
end
|
@@ -155,7 +155,7 @@ module Gemmer #:nodoc:
|
|
155
155
|
def define_ssh_release_task(options)
|
156
156
|
namespace :release do
|
157
157
|
desc "Release #{@gem_name} to #{options[:to]} via SSH"
|
158
|
-
task options[:to] do
|
158
|
+
task options[:to] => @package do
|
159
159
|
ssh_string = "#{options[:username]}@#{options[:host] || options[:to]}"
|
160
160
|
sh "scp #{@package} #{ssh_string}:/tmp/"
|
161
161
|
sh "ssh #{ssh_string} #{options[:use_sudo]} gem install /tmp/#{@file_name}"
|
@@ -168,7 +168,7 @@ module Gemmer #:nodoc:
|
|
168
168
|
def define_scatter_release_task(options)
|
169
169
|
namespace :release do
|
170
170
|
desc "Release #{@gem_name} to #{options[:to]} via scatter"
|
171
|
-
task options[:to] do
|
171
|
+
task options[:to] => @package do
|
172
172
|
sh "scatter push #{@package} #{options[:to]}"
|
173
173
|
end
|
174
174
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemmer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 9
|
9
|
+
version: 0.0.9
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Thomas Kadauke
|
@@ -9,7 +14,7 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-17 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
@@ -26,6 +31,8 @@ files:
|
|
26
31
|
- README.rdoc
|
27
32
|
has_rdoc: true
|
28
33
|
homepage: http://www.imedo.de/
|
34
|
+
licenses: []
|
35
|
+
|
29
36
|
post_install_message:
|
30
37
|
rdoc_options: []
|
31
38
|
|
@@ -35,20 +42,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
42
|
requirements:
|
36
43
|
- - ">="
|
37
44
|
- !ruby/object:Gem::Version
|
45
|
+
segments:
|
46
|
+
- 0
|
38
47
|
version: "0"
|
39
|
-
version:
|
40
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
49
|
requirements:
|
42
50
|
- - ">="
|
43
51
|
- !ruby/object:Gem::Version
|
52
|
+
segments:
|
53
|
+
- 0
|
44
54
|
version: "0"
|
45
|
-
version:
|
46
55
|
requirements: []
|
47
56
|
|
48
57
|
rubyforge_project:
|
49
|
-
rubygems_version: 1.3.
|
58
|
+
rubygems_version: 1.3.6
|
50
59
|
signing_key:
|
51
|
-
specification_version:
|
60
|
+
specification_version: 3
|
52
61
|
summary: Simple rake tasks for gems
|
53
62
|
test_files: []
|
54
63
|
|