easyoperate 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/easyoperate.gemspec CHANGED
@@ -2,29 +2,28 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{easyoperate}
5
- s.version = "0.6.5"
5
+ s.version = "0.6.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jinzhu Zhang"]
9
- s.date = %q{2009-09-17}
9
+ s.date = %q{2009-11-29}
10
10
  s.default_executable = %q{eo}
11
11
  s.description = %q{Eo_oE}
12
12
  s.email = %q{wosmvp@gmail.com}
13
13
  s.executables = ["eo"]
14
14
  s.extra_rdoc_files = ["bin/eo", "lib/version.rb", "lib/eo.rb", "lib/eo/scm/git-svn.rb", "lib/eo/scm/git.rb", "lib/eo/scm/svn.rb", "lib/eo/eo.rb", "lib/eo/repository.rb", "lib/eo/gem.rb", "README.rdoc"]
15
15
  s.files = ["Manifest", "test/test_helper.rb", "test/test_eo_cli.rb", "test/test_easyoperate.rb", "bin/eo", "Rakefile", "History.txt", "lib/version.rb", "lib/eo.rb", "lib/eo/scm/git-svn.rb", "lib/eo/scm/git.rb", "lib/eo/scm/svn.rb", "lib/eo/eo.rb", "lib/eo/repository.rb", "lib/eo/gem.rb", "README.rdoc", "easyoperate.gemspec"]
16
- s.has_rdoc = true
17
16
  s.homepage = %q{http://www.zhangjinzhu.com}
18
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Easyoperate", "--main", "README.rdoc"]
19
18
  s.require_paths = ["lib"]
20
19
  s.rubyforge_project = %q{easyoperate}
21
- s.rubygems_version = %q{1.3.1}
20
+ s.rubygems_version = %q{1.3.5}
22
21
  s.summary = %q{Eo_oE}
23
22
  s.test_files = ["test/test_helper.rb", "test/test_eo_cli.rb", "test/test_easyoperate.rb"]
24
23
 
25
24
  if s.respond_to? :specification_version then
26
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
27
- s.specification_version = 2
26
+ s.specification_version = 3
28
27
 
29
28
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
30
29
  else
data/lib/eo/gem.rb CHANGED
@@ -18,7 +18,7 @@ module Gem
18
18
  def gempick(args)
19
19
  gem = choose_one( scangem(args) )[0]
20
20
  # Got The Gem's Path
21
- gem ? `gem content #{gem} | sed -n 1p`.match(/(.*?\w-\d.*?\/)/) : false
21
+ gem ? `gem content #{gem} #{RUBY_VERSION > "1.9" ? '' : '--prefix'} | sed -n 1p`.match(/(.*?\w-\d.*?\/)/) : false
22
22
  end
23
23
 
24
24
  def scangem(args)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Easyoperate
2
- VERSION = '0.6.5'
2
+ VERSION = '0.6.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easyoperate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jinzhu Zhang
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-17 00:00:00 +08:00
12
+ date: 2009-11-29 00:00:00 +08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -50,6 +50,8 @@ files:
50
50
  - easyoperate.gemspec
51
51
  has_rdoc: true
52
52
  homepage: http://www.zhangjinzhu.com
53
+ licenses: []
54
+
53
55
  post_install_message:
54
56
  rdoc_options:
55
57
  - --line-numbers
@@ -75,9 +77,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
77
  requirements: []
76
78
 
77
79
  rubyforge_project: easyoperate
78
- rubygems_version: 1.3.1
80
+ rubygems_version: 1.3.5
79
81
  signing_key:
80
- specification_version: 2
82
+ specification_version: 3
81
83
  summary: Eo_oE
82
84
  test_files:
83
85
  - test/test_helper.rb