gem-release 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ module GemRelease
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,20 @@
1
+ class Gem::Commands::ReleaseCommand < Gem::Command
2
+ def initialize
3
+ super 'release', 'Build a gem from a gemspec and push to rubygems.org'
4
+ end
5
+
6
+ def arguments # :nodoc:
7
+ "GEMSPEC_FILE optional (will use the first *.gemspec if not specified)"
8
+ end
9
+
10
+ def usage # :nodoc:
11
+ "#{program_name} [GEMSPEC_FILE]"
12
+ end
13
+
14
+ def execute
15
+ p args
16
+ exit
17
+ BuildCommand.new.execute
18
+ PushCommand.new.execute
19
+ end
20
+ end
@@ -0,0 +1,3 @@
1
+ require 'rubygems/command_manager'
2
+
3
+ Gem::CommandManager.instance.register_command :release
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gem-release
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Sven Fuchs
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-04-03 00:00:00 +02:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Release your ruby gems with ease.
22
+ email: svenfuchs@artweb-design.de
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - lib/gem_release/version.rb
31
+ - lib/rubygems/commands/gem_release.rb
32
+ - lib/rubygems_plugin.rb
33
+ has_rdoc: true
34
+ homepage: http://github.com/svenfuchs/gem-release
35
+ licenses: []
36
+
37
+ post_install_message:
38
+ rdoc_options: []
39
+
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ segments:
54
+ - 1
55
+ - 3
56
+ - 6
57
+ version: 1.3.6
58
+ requirements: []
59
+
60
+ rubyforge_project: "[none]"
61
+ rubygems_version: 1.3.6
62
+ signing_key:
63
+ specification_version: 3
64
+ summary: Release your ruby gems with ease
65
+ test_files: []
66
+