gemstub 1.5.3 → 1.5.3.1

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 -3
  2. metadata +2 -2
data/lib/gemstub.rb CHANGED
@@ -124,21 +124,21 @@ module Gemstub
124
124
 
125
125
  # txt.gsub!(/[\s](@\S+@)[\s]/, "<tt>#{$1}</tt>")
126
126
  txt.scan(/[\s]@(\S+)@[\s|\.]/).flatten.each do |word|
127
- puts "replacing: @#{word}@ w/ <tt>#{word}</tt>"
127
+ # puts "replacing: @#{word}@ w/ <tt>#{word}</tt>"
128
128
  txt.gsub!("@#{word}@", "<tt>#{word}</tt>")
129
129
  end
130
130
 
131
131
  ['h1', 'h2', 'h3'].each_with_index do |h, i|
132
132
  txt.scan(/(#{h}.\s)/).flatten.each do |word|
133
133
  eq = '=' * (i + 1)
134
- puts "replacing: '#{word}' w/ #{eq}"
134
+ # puts "replacing: '#{word}' w/ #{eq}"
135
135
  txt.gsub!(word, eq)
136
136
  end
137
137
  end
138
138
 
139
139
  ['<pre><code>', '</code></pre>'].each do |h|
140
140
  txt.scan(/(#{h}.*$)/).flatten.each do |word|
141
- puts "replacing: '#{word}' with nothing"
141
+ # puts "replacing: '#{word}' with nothing"
142
142
  txt.gsub!(word, '')
143
143
  end
144
144
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemstub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.3.1
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-07-24 00:00:00 -04:00
12
+ date: 2009-07-26 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency