postage 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/INFO +3 -3
- data/README +4 -0
- data/lib/postage/post.rb +1 -0
- data/lib/postage.rb +0 -4
- data/tasks/package.rake +6 -1
- metadata +2 -2
data/INFO
CHANGED
data/README
CHANGED
data/lib/postage/post.rb
CHANGED
data/lib/postage.rb
CHANGED
@@ -8,10 +8,6 @@ module Postage
|
|
8
8
|
require dependency
|
9
9
|
end
|
10
10
|
|
11
|
-
%w(ruby-debug).map do |optional|
|
12
|
-
require optional
|
13
|
-
end
|
14
|
-
|
15
11
|
# Root directory for references library.
|
16
12
|
ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
17
13
|
INFO = YAML.load_file(File.join(ROOT, "INFO"))
|
data/tasks/package.rake
CHANGED
@@ -55,11 +55,16 @@ task :manifest do |file|
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
desc "Install gem
|
58
|
+
desc "Install gem package."
|
59
59
|
task :install => [ :manifest, :gem ] do
|
60
60
|
`gem install pkg/#{spec.name}-#{spec.version}.gem --local`
|
61
61
|
end
|
62
62
|
|
63
|
+
desc "Uninstall gem package."
|
64
|
+
task :uninstall do
|
65
|
+
`gem uninstall #{spec.name}`
|
66
|
+
end
|
67
|
+
|
63
68
|
desc 'Publish gem and tarball to rubyforge.org.'
|
64
69
|
task :release => [ :gem, :package] do |t|
|
65
70
|
sh <<-end_sh.gsub(/^[ ]{4}/,'')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hallison Batista
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-21 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|