dodo 0.0.0 → 0.0.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/dodo +7 -1
  3. data/dodo.gemspec +44 -0
  4. metadata +2 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/bin/dodo CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ STDOUT.sync = true
3
+
2
4
  require 'rubygems/format'
3
5
 
4
6
  ARGV[0]
@@ -8,5 +10,9 @@ gemspec = Gem::Format.from_file_by_path(path).spec
8
10
 
9
11
  gemcutter = `gem push #{path}`
10
12
  gemcutter.split("\n").each { |line| print("#{line}\n") }
13
+
14
+ print("Pushing gem to Rubyforge...\n")
11
15
  rubyforge = `rubyforge add_release #{gemspec.name} #{gemspec.name} #{gemspec.version} #{path}`
12
- rubyforge.split("\n").each { |line| print("#{line}\n") }
16
+ if $?.exitstatus == 0
17
+ print("Successfully pushed gem: #{gemspec.name} (#{gemspec.version})\n")
18
+ end
data/dodo.gemspec ADDED
@@ -0,0 +1,44 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{dodo}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Wesley Beary"]
12
+ s.date = %q{2009-10-31}
13
+ s.default_executable = %q{dodo}
14
+ s.description = %q{ pushes gems to rubyforge and gemcutter}
15
+ s.email = %q{wbeary@engineyard.com}
16
+ s.executables = ["dodo"]
17
+ s.extra_rdoc_files = [
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".gitignore",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "bin/dodo",
27
+ "dodo.gemspec"
28
+ ]
29
+ s.homepage = %q{http://github.com/geemus/dodo}
30
+ s.rdoc_options = ["--charset=UTF-8"]
31
+ s.require_paths = ["lib"]
32
+ s.rubygems_version = %q{1.3.5}
33
+ s.summary = %q{pushes gems to rubyforge and gemcutter, til you don't have to}
34
+
35
+ if s.respond_to? :specification_version then
36
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
37
+ s.specification_version = 3
38
+
39
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
40
+ else
41
+ end
42
+ else
43
+ end
44
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dodo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wesley Beary
@@ -28,6 +28,7 @@ files:
28
28
  - Rakefile
29
29
  - VERSION
30
30
  - bin/dodo
31
+ - dodo.gemspec
31
32
  has_rdoc: true
32
33
  homepage: http://github.com/geemus/dodo
33
34
  licenses: []