tidy 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ V 1.0.1
2
+
3
+ .sub calls changed to .gsub
4
+
1
5
  V 1.0.0
2
6
 
3
7
  Oct/18/2004 - Declared stable, now packaged as a RubyGem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/lib/tidy/tidylib.rb CHANGED
@@ -107,7 +107,7 @@ module Tidylib
107
107
  # :output_xml becomes 'output-xml'
108
108
  #
109
109
  def translate_name(name)
110
- name.to_s.sub('_', '-')
110
+ name.to_s.gsub('_', '-')
111
111
  end
112
112
 
113
113
  end
data/lib/tidy/tidyopt.rb CHANGED
@@ -23,7 +23,7 @@ class Tidyopt
23
23
  # Reader/Writer for options (Object syntax)
24
24
  #
25
25
  def method_missing(name, value=:none, *args)
26
- name = name.to_s.sub('=', '')
26
+ name = name.to_s.gsub('=', '')
27
27
  return self[name] if value == :none
28
28
  self[name] = value
29
29
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.1
3
3
  specification_version: 1
4
4
  name: tidy
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
7
- date: 2004-11-04
6
+ version: 1.0.1
7
+ date: 2005-01-13
8
8
  summary: Ruby interface to HTML Tidy Library Project
9
9
  require_paths:
10
10
  - lib
@@ -26,21 +26,21 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
26
26
  version:
27
27
  platform: ruby
28
28
  files:
29
- - lib
30
29
  - test
31
- - CHANGES
32
- - MANIFEST
33
- - README.txt.en
30
+ - lib
34
31
  - VERSION
32
+ - MANIFEST
33
+ - CHANGES
35
34
  - tidy.gemspec
35
+ - README.txt.en
36
+ - test/usage.rb
36
37
  - lib/tidy
37
38
  - lib/tidy.rb
38
- - lib/tidy/tidyopt.rb
39
- - lib/tidy/tidyobj.rb
40
39
  - lib/tidy/tidylib.rb
41
40
  - lib/tidy/tidyerr.rb
41
+ - lib/tidy/tidyobj.rb
42
42
  - lib/tidy/tidybuf.rb
43
- - test/usage.rb
43
+ - lib/tidy/tidyopt.rb
44
44
  test_files: []
45
45
  rdoc_options: []
46
46
  extra_rdoc_files: []