rake-gem-ghost 0.0.1.1 → 0.0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,16 +1,20 @@
1
1
  require 'rubygems'
2
+ require 'rake'
2
3
  require 'jeweler'
4
+ $: << File.join(File.dirname(__FILE__), 'lib')
5
+ require 'rake/gem_ghost_task'
6
+
7
+ name = 'rake-gem-ghost'
8
+
3
9
  Jeweler::Tasks.new do |gem|
4
- gem.name = "rake-gem-ghost"
10
+ gem.name = name
5
11
  gem.summary = %Q{Help gem developers to test created gems}
6
12
  gem.description = %Q{Help gem developers to test created gems — creates symlink from installed gem to current folder.}
7
- gem.homepage = "http://github.com/toy/rake-gem-ghost"
8
- gem.license = "MIT"
9
- gem.authors = ["Boba Fat"]
10
- gem.add_development_dependency "jeweler", "~> 1.5.1"
13
+ gem.homepage = "http://github.com/toy/#{name}"
14
+ gem.license = 'MIT'
15
+ gem.authors = ['Boba Fat']
16
+ gem.add_runtime_dependency 'rake'
17
+ gem.add_development_dependency 'jeweler', '~> 1.5.1'
11
18
  end
12
19
  Jeweler::RubygemsDotOrgTasks.new
13
-
14
- $: << File.join(File.dirname(__FILE__), 'lib')
15
- require 'rake/gem_ghost_task'
16
20
  Rake::GemGhostTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.1
1
+ 0.0.1.2
@@ -1,3 +1,6 @@
1
+ require 'rake/tasklib'
2
+ require 'pathname'
3
+
1
4
  module Rake
2
5
  class GemGhostTask < TaskLib
3
6
  attr_reader :name
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rake-gem-ghost}
8
- s.version = "0.0.1.1"
8
+ s.version = "0.0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Boba Fat"]
@@ -34,11 +34,14 @@ Gem::Specification.new do |s|
34
34
  s.specification_version = 3
35
35
 
36
36
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
37
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
37
38
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
38
39
  else
40
+ s.add_dependency(%q<rake>, [">= 0"])
39
41
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
40
42
  end
41
43
  else
44
+ s.add_dependency(%q<rake>, [">= 0"])
42
45
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
43
46
  end
44
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-gem-ghost
3
3
  version: !ruby/object:Gem::Version
4
- hash: 73
4
+ hash: 79
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 1
10
- - 1
11
- version: 0.0.1.1
10
+ - 2
11
+ version: 0.0.1.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Boba Fat
@@ -20,9 +20,23 @@ date: 2010-12-05 00:00:00 +03:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
- name: jeweler
23
+ name: rake
24
24
  prerelease: false
25
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: jeweler
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
26
40
  none: false
27
41
  requirements:
28
42
  - - ~>
@@ -34,7 +48,7 @@ dependencies:
34
48
  - 1
35
49
  version: 1.5.1
36
50
  type: :development
37
- version_requirements: *id001
51
+ version_requirements: *id002
38
52
  description: "Help gem developers to test created gems \xE2\x80\x94 creates symlink from installed gem to current folder."
39
53
  email:
40
54
  executables: []