gemcd 0.0.2 → 0.0.5

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.
data/gemcd.gemspec CHANGED
@@ -1,11 +1,10 @@
1
1
  lib = File.expand_path('../lib', __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'gemcd/version'
4
3
 
5
4
  Gem::Specification.new do |gem|
6
5
  gem.name = 'gemcd'
7
6
  gem.date = '2012-10-22'
8
- gem.version = GemCd::VERSION
7
+ gem.version = '0.0.5'
9
8
  gem.authors = ['Nick Barth']
10
9
  gem.email = ['nick@nickbarth.ca']
11
10
  gem.summary = 'A Ruby Gem for navigating your Gem directory.'
data/lib/gemcd.rb CHANGED
@@ -1,5 +1,4 @@
1
- require 'gemcd/version'
2
1
  require 'rubygems/command_manager'
3
2
  require 'rubygems/commands/cd'
4
3
 
5
- Gem::CommandManager.instance.register_command :open
4
+ Gem::CommandManager.instance.register_command :cd
@@ -1,10 +1,10 @@
1
- class Gem::Commands::OpenCommand < Gem::Command
1
+ class Gem::Commands::CdCommand < Gem::Command
2
2
  def initialize
3
3
  super 'cd', "Navigates to the gem's source directory."
4
4
  end
5
5
 
6
6
  def arguments
7
- "GEM gem name"
7
+ "GEM gem to open"
8
8
  end
9
9
 
10
10
  def execute
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemcd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -23,7 +23,6 @@ files:
23
23
  - Gemfile
24
24
  - gemcd.gemspec
25
25
  - lib/gemcd.rb
26
- - lib/gemcd/version.rb
27
26
  - lib/rubygems/commands/cd.rb
28
27
  - readme.md
29
28
  homepage: https://github.com/nickbarth/GemCd
data/lib/gemcd/version.rb DELETED
@@ -1,3 +0,0 @@
1
- class GemCd
2
- VERSION = '0.0.2'
3
- end