markbates-gemstub 1.5.3.2.20090813155753 → 1.5.3.20090724143216

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 +3 -4
  2. metadata +3 -4
data/lib/gemstub.rb CHANGED
@@ -61,7 +61,6 @@ module Gemstub
61
61
  s.homepage = ""
62
62
  s.files = FileList['lib/**/*.*', 'README', 'LICENSE', 'bin/**/*.*']
63
63
  s.require_paths = ['lib']
64
- s.bindir = 'bin'
65
64
  s.extra_rdoc_files = ['README', 'LICENSE']
66
65
  s.has_rdoc = true
67
66
  yield s
@@ -125,21 +124,21 @@ module Gemstub
125
124
 
126
125
  # txt.gsub!(/[\s](@\S+@)[\s]/, "<tt>#{$1}</tt>")
127
126
  txt.scan(/[\s]@(\S+)@[\s|\.]/).flatten.each do |word|
128
- # puts "replacing: @#{word}@ w/ <tt>#{word}</tt>"
127
+ puts "replacing: @#{word}@ w/ <tt>#{word}</tt>"
129
128
  txt.gsub!("@#{word}@", "<tt>#{word}</tt>")
130
129
  end
131
130
 
132
131
  ['h1', 'h2', 'h3'].each_with_index do |h, i|
133
132
  txt.scan(/(#{h}.\s)/).flatten.each do |word|
134
133
  eq = '=' * (i + 1)
135
- # puts "replacing: '#{word}' w/ #{eq}"
134
+ puts "replacing: '#{word}' w/ #{eq}"
136
135
  txt.gsub!(word, eq)
137
136
  end
138
137
  end
139
138
 
140
139
  ['<pre><code>', '</code></pre>'].each do |h|
141
140
  txt.scan(/(#{h}.*$)/).flatten.each do |word|
142
- # puts "replacing: '#{word}' with nothing"
141
+ puts "replacing: '#{word}' with nothing"
143
142
  txt.gsub!(word, '')
144
143
  end
145
144
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markbates-gemstub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3.2.20090813155753
4
+ version: 1.5.3.20090724143216
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Bates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-13 00:00:00 -07:00
12
+ date: 2009-07-24 00:00:00 -07:00
13
13
  default_executable: gemstub
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -68,7 +68,6 @@ files:
68
68
  - bin/gemstub
69
69
  has_rdoc: false
70
70
  homepage: http://www.mackframework.com
71
- licenses:
72
71
  post_install_message:
73
72
  rdoc_options: []
74
73
 
@@ -89,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
88
  requirements: []
90
89
 
91
90
  rubyforge_project: gemstub
92
- rubygems_version: 1.3.5
91
+ rubygems_version: 1.2.0
93
92
  signing_key:
94
93
  specification_version: 3
95
94
  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!"