gem-open 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,8 @@ Then add the following lines to your <tt>~/.bash_profile</tt> file.
10
10
 
11
11
  export GEM_EDITOR="mate"
12
12
 
13
+ It will default to <tt>ENV["EDITOR"]</tt>, though.
14
+
13
15
  Finally, run <tt>gem open GEMNAME</tt> to open that gem.
14
16
 
15
17
  == Usage
@@ -52,7 +54,7 @@ Want some completion? Add this snippet to your <tt>~/.bash_profile</tt> file.
52
54
 
53
55
  Copyright © 2010:
54
56
 
55
- * Nando Vieira - http://simplesideias.com.br
57
+ * Nando Vieira - http://nandovieira.com.br
56
58
 
57
59
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
58
60
 
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "gem-open"
6
- s.version = "0.1.3"
6
+ s.version = "0.1.4"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Nando Vieira"]
9
9
  s.email = ["fnando.vieira@gmail.com"]
@@ -52,7 +52,7 @@ class Gem::Commands::OpenCommand < Gem::Command
52
52
 
53
53
  return unless gemspec
54
54
 
55
- Gem::SourceIndex.load_specification(gemspec)
55
+ Gem::Specification.load(gemspec)
56
56
  end
57
57
 
58
58
  def open(spec)
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-open
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 3
10
- version: 0.1.3
4
+ prerelease:
5
+ version: 0.1.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - Nando Vieira
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-11-13 00:00:00 -02:00
19
- default_executable:
13
+ date: 2011-05-05 00:00:00 Z
20
14
  dependencies: []
21
15
 
22
16
  description: Open gems on your favorite editor by running a specific gem command like `gem open nokogiri`.
@@ -41,7 +35,6 @@ files:
41
35
  - test/resources/rails-2.3.5.gemspec
42
36
  - test/resources/sinatra-1.0.gemspec
43
37
  - test/resources/sinatra-sugar-0.4.1.gemspec
44
- has_rdoc: true
45
38
  homepage: http://rubygems.org/gems/gem-open
46
39
  licenses: []
47
40
 
@@ -55,23 +48,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
48
  requirements:
56
49
  - - ">="
57
50
  - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
51
  version: "0"
62
52
  required_rubygems_version: !ruby/object:Gem::Requirement
63
53
  none: false
64
54
  requirements:
65
55
  - - ">="
66
56
  - !ruby/object:Gem::Version
67
- hash: 3
68
- segments:
69
- - 0
70
57
  version: "0"
71
58
  requirements: []
72
59
 
73
60
  rubyforge_project:
74
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.7.2
75
62
  signing_key:
76
63
  specification_version: 3
77
64
  summary: Open gems on your favorite editor by running a specific gem command like `gem open nokogiri`.