gemstub 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/gemstub.rb +6 -4
  2. metadata +54 -57
@@ -5,10 +5,10 @@ require 'genosaurus'
5
5
  require File.join(File.dirname(__FILE__), 'gemstub', 'gem_generator', 'gem_generator')
6
6
 
7
7
  require 'rake'
8
- require 'rake/gempackagetask'
8
+ require 'rubygems/package_task'
9
9
  require 'rake/clean'
10
10
  require 'rake/testtask'
11
- require 'rake/rdoctask'
11
+ require 'rdoc/task'
12
12
  require 'find'
13
13
  # require 'rubyforge'
14
14
  require 'rubygems'
@@ -20,6 +20,7 @@ require 'fileutils'
20
20
  module Gemstub
21
21
 
22
22
  class << self
23
+ include Rake::DSL
23
24
 
24
25
  attr_accessor :test_framework
25
26
 
@@ -72,7 +73,7 @@ module Gemstub
72
73
  end
73
74
 
74
75
  # rake package
75
- Rake::GemPackageTask.new(@gem_spec) do |pkg|
76
+ Gem::PackageTask.new(@gem_spec) do |pkg|
76
77
  pkg.need_zip = false
77
78
  pkg.need_tar = false
78
79
  rm_f FileList['pkg/**/*.*']
@@ -128,7 +129,8 @@ module Gemstub
128
129
  end # gem_spec
129
130
 
130
131
  def rdoc(&block)
131
- Rake::RDocTask.new do |rd|
132
+ RDoc::Task.new do |rd|
133
+ # Rake::RDocTask.new do |rd|
132
134
  rd.rdoc_files = Dir.glob(File.join('lib', '**', '*.rb'))
133
135
  rd.rdoc_files << 'LICENSE'
134
136
  rd.rdoc_dir = "doc"
metadata CHANGED
@@ -1,70 +1,69 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gemstub
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.5
4
5
  prerelease:
5
- version: 2.0.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Mark Bates
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-19 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-22 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rspec
17
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2169519480 !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
22
21
  version: 2.0.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *2169519480
25
+ - !ruby/object:Gem::Dependency
27
26
  name: activesupport
28
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &2169517400 !ruby/object:Gem::Requirement
29
28
  none: false
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
33
32
  version: 3.0.0
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *2169517400
36
+ - !ruby/object:Gem::Dependency
38
37
  name: mark_facets
39
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &2169515720 !ruby/object:Gem::Requirement
40
39
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *2169515720
47
+ - !ruby/object:Gem::Dependency
49
48
  name: genosaurus
50
- requirement: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &2169503260 !ruby/object:Gem::Requirement
51
50
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
56
55
  type: :runtime
57
56
  prerelease: false
58
- version_requirements: *id004
59
- description: "Gemstub is a very simple tool for creating the stub code you need to build a gem. Usage: at a command prompt simply type: gemstub your_gem_name_here That's it, after that, you all you have to do is the actual coding of your gem! Enjoy!"
57
+ version_requirements: *2169503260
58
+ description: ! 'Gemstub is a very simple tool for creating the stub code you need
59
+ to build a gem. Usage: at a command prompt simply type: gemstub your_gem_name_here That''s
60
+ it, after that, you all you have to do is the actual coding of your gem! Enjoy!'
60
61
  email: mark@markbates.com
61
- executables:
62
+ executables:
62
63
  - gemstub
63
64
  extensions: []
64
-
65
65
  extra_rdoc_files: []
66
-
67
- files:
66
+ files:
68
67
  - lib/gemstub/gem_generator/gem_generator.rb
69
68
  - lib/gemstub/gem_generator/manifest.yml
70
69
  - lib/gemstub/gem_generator/templates/app_gem.rb.template
@@ -84,33 +83,31 @@ files:
84
83
  - bin/gemstub
85
84
  homepage: http://www.mackframework.com
86
85
  licenses: []
87
-
88
86
  post_install_message:
89
87
  rdoc_options: []
90
-
91
- require_paths:
88
+ require_paths:
92
89
  - lib
93
- required_ruby_version: !ruby/object:Gem::Requirement
90
+ required_ruby_version: !ruby/object:Gem::Requirement
94
91
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: -1803132350154656026
99
- segments:
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ segments:
100
97
  - 0
101
- version: "0"
102
- required_rubygems_version: !ruby/object:Gem::Requirement
98
+ hash: -2292292666118059198
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
100
  none: false
104
- requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- version: "0"
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
108
105
  requirements: []
109
-
110
106
  rubyforge_project: gemstub
111
- rubygems_version: 1.8.2
107
+ rubygems_version: 1.8.10
112
108
  signing_key:
113
109
  specification_version: 3
114
- summary: "Gemstub is a very simple tool for creating the stub code you need to build a gem. Usage: at a command prompt simply type: gemstub your_gem_name_here That's it, after that, you all you have to do is the actual coding of your gem! Enjoy!"
110
+ summary: ! 'Gemstub is a very simple tool for creating the stub code you need to build
111
+ a gem. Usage: at a command prompt simply type: gemstub your_gem_name_here That''s
112
+ it, after that, you all you have to do is the actual coding of your gem! Enjoy!'
115
113
  test_files: []
116
-