cannery 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 0.1.1 / 2009-04-30
2
+
3
+ * Bug Fixes
4
+ * 'gem can' command now actually works.
5
+
1
6
  == 0.1.0 / 2009-04-29
2
7
 
3
8
  * Feature Improvements
@@ -1,7 +1,7 @@
1
1
  module Cannery
2
2
 
3
3
  # :stopdoc:
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
6
6
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
7
7
  # :startdoc:
@@ -1,16 +1,18 @@
1
1
  require 'fileutils'
2
+ require 'tmpdir'
2
3
  require 'rake'
4
+ require 'rubygems/installer'
3
5
  require 'rubygems/version_option'
4
6
 
5
- class Gem::Commands::Can < Gem::Command
7
+ class Gem::Commands::CanCommand < Gem::Command
6
8
  include Gem::VersionOption
7
9
 
8
10
  def initialize
9
11
  super 'can', 'Can an installed gem into a .jar file',
10
12
  :version => Gem::Requirement.default,
11
- :target => Dir.pwd,
13
+ :target => Dir.pwd
12
14
 
13
- add_option('--target=DIR', 'target directory for the .jar') do |value, options|
15
+ add_option('--target DIR', 'target directory for the .jar') do |value, options|
14
16
  options[:target] = value
15
17
  end
16
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cannery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson