stringex 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,6 @@ begin
11
11
  gem.authors = ["Russell Norris"]
12
12
  gem.email = "rsl@luckysneaks.com"
13
13
  gem.homepage = "http://github.com/rsl/stringex"
14
- gem.rubyforge_project = "stringex"
15
14
  gem.summary = "Some [hopefully] useful extensions to Ruby’s String class"
16
15
  gem.description = "Some [hopefully] useful extensions to Ruby’s String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class]."
17
16
  gem.has_rdoc = true
@@ -213,12 +212,9 @@ begin
213
212
  }
214
213
  gem.rdoc_options = %w{--main README.rdoc --charset utf-8 --line-numbers}
215
214
  gem.extra_rdoc_files = %w{MIT-LICENSE README.rdoc}
215
+ gem.version = "1.2.1"
216
216
  end
217
-
218
- Jeweler::RubyforgeTasks.new do |rubyforge|
219
- rubyforge.doc_task = "rdoc"
220
- end
221
-
217
+
222
218
  Jeweler::GemcutterTasks.new
223
219
  rescue LoadError
224
220
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
@@ -247,7 +243,7 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
247
243
  else
248
244
  version = ""
249
245
  end
250
-
246
+
251
247
  rdoc.rdoc_dir = 'rdoc'
252
248
  rdoc.title = 'Stringex: A String Extension Pack [#{version}]'
253
249
  rdoc.options << '--line-numbers' << '--inline-source'
@@ -42,7 +42,7 @@ module LuckySneaks
42
42
  # Performs multiple text manipulations. Essentially a shortcut for typing them all. View source
43
43
  # below to see which methods are run.
44
44
  def remove_formatting
45
- strip_html_tags.convert_accented_entities.convert_misc_entities.convert_misc_characters.to_ascii.collapse
45
+ strip_html_tags.convert_smart_punctuation.convert_accented_entities.convert_misc_entities.convert_misc_characters.to_ascii.collapse
46
46
  end
47
47
 
48
48
  # Removes HTML tags from text. This code is simplified from Tobias Luettke's regular expression
@@ -1,226 +1,224 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{stringex}
8
- s.version = "1.2.0"
8
+ s.version = "1.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Russell Norris"]
12
- s.date = %q{2010-10-20}
12
+ s.date = %q{2011-03-14}
13
13
  s.description = %q{Some [hopefully] useful extensions to Ruby’s String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class].}
14
14
  s.email = %q{rsl@luckysneaks.com}
15
15
  s.extra_rdoc_files = [
16
16
  "MIT-LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  "MIT-LICENSE",
21
- "README.rdoc",
22
- "Rakefile",
23
- "init.rb",
24
- "lib/lucky_sneaks/acts_as_url.rb",
25
- "lib/lucky_sneaks/string_extensions.rb",
26
- "lib/lucky_sneaks/unidecoder.rb",
27
- "lib/lucky_sneaks/unidecoder_data/x00.yml",
28
- "lib/lucky_sneaks/unidecoder_data/x01.yml",
29
- "lib/lucky_sneaks/unidecoder_data/x02.yml",
30
- "lib/lucky_sneaks/unidecoder_data/x03.yml",
31
- "lib/lucky_sneaks/unidecoder_data/x04.yml",
32
- "lib/lucky_sneaks/unidecoder_data/x05.yml",
33
- "lib/lucky_sneaks/unidecoder_data/x06.yml",
34
- "lib/lucky_sneaks/unidecoder_data/x07.yml",
35
- "lib/lucky_sneaks/unidecoder_data/x09.yml",
36
- "lib/lucky_sneaks/unidecoder_data/x0a.yml",
37
- "lib/lucky_sneaks/unidecoder_data/x0b.yml",
38
- "lib/lucky_sneaks/unidecoder_data/x0c.yml",
39
- "lib/lucky_sneaks/unidecoder_data/x0d.yml",
40
- "lib/lucky_sneaks/unidecoder_data/x0e.yml",
41
- "lib/lucky_sneaks/unidecoder_data/x0f.yml",
42
- "lib/lucky_sneaks/unidecoder_data/x10.yml",
43
- "lib/lucky_sneaks/unidecoder_data/x11.yml",
44
- "lib/lucky_sneaks/unidecoder_data/x12.yml",
45
- "lib/lucky_sneaks/unidecoder_data/x13.yml",
46
- "lib/lucky_sneaks/unidecoder_data/x14.yml",
47
- "lib/lucky_sneaks/unidecoder_data/x15.yml",
48
- "lib/lucky_sneaks/unidecoder_data/x16.yml",
49
- "lib/lucky_sneaks/unidecoder_data/x17.yml",
50
- "lib/lucky_sneaks/unidecoder_data/x18.yml",
51
- "lib/lucky_sneaks/unidecoder_data/x1e.yml",
52
- "lib/lucky_sneaks/unidecoder_data/x1f.yml",
53
- "lib/lucky_sneaks/unidecoder_data/x20.yml",
54
- "lib/lucky_sneaks/unidecoder_data/x21.yml",
55
- "lib/lucky_sneaks/unidecoder_data/x22.yml",
56
- "lib/lucky_sneaks/unidecoder_data/x23.yml",
57
- "lib/lucky_sneaks/unidecoder_data/x24.yml",
58
- "lib/lucky_sneaks/unidecoder_data/x25.yml",
59
- "lib/lucky_sneaks/unidecoder_data/x26.yml",
60
- "lib/lucky_sneaks/unidecoder_data/x27.yml",
61
- "lib/lucky_sneaks/unidecoder_data/x28.yml",
62
- "lib/lucky_sneaks/unidecoder_data/x2e.yml",
63
- "lib/lucky_sneaks/unidecoder_data/x2f.yml",
64
- "lib/lucky_sneaks/unidecoder_data/x30.yml",
65
- "lib/lucky_sneaks/unidecoder_data/x31.yml",
66
- "lib/lucky_sneaks/unidecoder_data/x32.yml",
67
- "lib/lucky_sneaks/unidecoder_data/x33.yml",
68
- "lib/lucky_sneaks/unidecoder_data/x4d.yml",
69
- "lib/lucky_sneaks/unidecoder_data/x4e.yml",
70
- "lib/lucky_sneaks/unidecoder_data/x4f.yml",
71
- "lib/lucky_sneaks/unidecoder_data/x50.yml",
72
- "lib/lucky_sneaks/unidecoder_data/x51.yml",
73
- "lib/lucky_sneaks/unidecoder_data/x52.yml",
74
- "lib/lucky_sneaks/unidecoder_data/x53.yml",
75
- "lib/lucky_sneaks/unidecoder_data/x54.yml",
76
- "lib/lucky_sneaks/unidecoder_data/x55.yml",
77
- "lib/lucky_sneaks/unidecoder_data/x56.yml",
78
- "lib/lucky_sneaks/unidecoder_data/x57.yml",
79
- "lib/lucky_sneaks/unidecoder_data/x58.yml",
80
- "lib/lucky_sneaks/unidecoder_data/x59.yml",
81
- "lib/lucky_sneaks/unidecoder_data/x5a.yml",
82
- "lib/lucky_sneaks/unidecoder_data/x5b.yml",
83
- "lib/lucky_sneaks/unidecoder_data/x5c.yml",
84
- "lib/lucky_sneaks/unidecoder_data/x5d.yml",
85
- "lib/lucky_sneaks/unidecoder_data/x5e.yml",
86
- "lib/lucky_sneaks/unidecoder_data/x5f.yml",
87
- "lib/lucky_sneaks/unidecoder_data/x60.yml",
88
- "lib/lucky_sneaks/unidecoder_data/x61.yml",
89
- "lib/lucky_sneaks/unidecoder_data/x62.yml",
90
- "lib/lucky_sneaks/unidecoder_data/x63.yml",
91
- "lib/lucky_sneaks/unidecoder_data/x64.yml",
92
- "lib/lucky_sneaks/unidecoder_data/x65.yml",
93
- "lib/lucky_sneaks/unidecoder_data/x66.yml",
94
- "lib/lucky_sneaks/unidecoder_data/x67.yml",
95
- "lib/lucky_sneaks/unidecoder_data/x68.yml",
96
- "lib/lucky_sneaks/unidecoder_data/x69.yml",
97
- "lib/lucky_sneaks/unidecoder_data/x6a.yml",
98
- "lib/lucky_sneaks/unidecoder_data/x6b.yml",
99
- "lib/lucky_sneaks/unidecoder_data/x6c.yml",
100
- "lib/lucky_sneaks/unidecoder_data/x6d.yml",
101
- "lib/lucky_sneaks/unidecoder_data/x6e.yml",
102
- "lib/lucky_sneaks/unidecoder_data/x6f.yml",
103
- "lib/lucky_sneaks/unidecoder_data/x70.yml",
104
- "lib/lucky_sneaks/unidecoder_data/x71.yml",
105
- "lib/lucky_sneaks/unidecoder_data/x72.yml",
106
- "lib/lucky_sneaks/unidecoder_data/x73.yml",
107
- "lib/lucky_sneaks/unidecoder_data/x74.yml",
108
- "lib/lucky_sneaks/unidecoder_data/x75.yml",
109
- "lib/lucky_sneaks/unidecoder_data/x76.yml",
110
- "lib/lucky_sneaks/unidecoder_data/x77.yml",
111
- "lib/lucky_sneaks/unidecoder_data/x78.yml",
112
- "lib/lucky_sneaks/unidecoder_data/x79.yml",
113
- "lib/lucky_sneaks/unidecoder_data/x7a.yml",
114
- "lib/lucky_sneaks/unidecoder_data/x7b.yml",
115
- "lib/lucky_sneaks/unidecoder_data/x7c.yml",
116
- "lib/lucky_sneaks/unidecoder_data/x7d.yml",
117
- "lib/lucky_sneaks/unidecoder_data/x7e.yml",
118
- "lib/lucky_sneaks/unidecoder_data/x7f.yml",
119
- "lib/lucky_sneaks/unidecoder_data/x80.yml",
120
- "lib/lucky_sneaks/unidecoder_data/x81.yml",
121
- "lib/lucky_sneaks/unidecoder_data/x82.yml",
122
- "lib/lucky_sneaks/unidecoder_data/x83.yml",
123
- "lib/lucky_sneaks/unidecoder_data/x84.yml",
124
- "lib/lucky_sneaks/unidecoder_data/x85.yml",
125
- "lib/lucky_sneaks/unidecoder_data/x86.yml",
126
- "lib/lucky_sneaks/unidecoder_data/x87.yml",
127
- "lib/lucky_sneaks/unidecoder_data/x88.yml",
128
- "lib/lucky_sneaks/unidecoder_data/x89.yml",
129
- "lib/lucky_sneaks/unidecoder_data/x8a.yml",
130
- "lib/lucky_sneaks/unidecoder_data/x8b.yml",
131
- "lib/lucky_sneaks/unidecoder_data/x8c.yml",
132
- "lib/lucky_sneaks/unidecoder_data/x8d.yml",
133
- "lib/lucky_sneaks/unidecoder_data/x8e.yml",
134
- "lib/lucky_sneaks/unidecoder_data/x8f.yml",
135
- "lib/lucky_sneaks/unidecoder_data/x90.yml",
136
- "lib/lucky_sneaks/unidecoder_data/x91.yml",
137
- "lib/lucky_sneaks/unidecoder_data/x92.yml",
138
- "lib/lucky_sneaks/unidecoder_data/x93.yml",
139
- "lib/lucky_sneaks/unidecoder_data/x94.yml",
140
- "lib/lucky_sneaks/unidecoder_data/x95.yml",
141
- "lib/lucky_sneaks/unidecoder_data/x96.yml",
142
- "lib/lucky_sneaks/unidecoder_data/x97.yml",
143
- "lib/lucky_sneaks/unidecoder_data/x98.yml",
144
- "lib/lucky_sneaks/unidecoder_data/x99.yml",
145
- "lib/lucky_sneaks/unidecoder_data/x9a.yml",
146
- "lib/lucky_sneaks/unidecoder_data/x9b.yml",
147
- "lib/lucky_sneaks/unidecoder_data/x9c.yml",
148
- "lib/lucky_sneaks/unidecoder_data/x9d.yml",
149
- "lib/lucky_sneaks/unidecoder_data/x9e.yml",
150
- "lib/lucky_sneaks/unidecoder_data/x9f.yml",
151
- "lib/lucky_sneaks/unidecoder_data/xa0.yml",
152
- "lib/lucky_sneaks/unidecoder_data/xa1.yml",
153
- "lib/lucky_sneaks/unidecoder_data/xa2.yml",
154
- "lib/lucky_sneaks/unidecoder_data/xa3.yml",
155
- "lib/lucky_sneaks/unidecoder_data/xa4.yml",
156
- "lib/lucky_sneaks/unidecoder_data/xac.yml",
157
- "lib/lucky_sneaks/unidecoder_data/xad.yml",
158
- "lib/lucky_sneaks/unidecoder_data/xae.yml",
159
- "lib/lucky_sneaks/unidecoder_data/xaf.yml",
160
- "lib/lucky_sneaks/unidecoder_data/xb0.yml",
161
- "lib/lucky_sneaks/unidecoder_data/xb1.yml",
162
- "lib/lucky_sneaks/unidecoder_data/xb2.yml",
163
- "lib/lucky_sneaks/unidecoder_data/xb3.yml",
164
- "lib/lucky_sneaks/unidecoder_data/xb4.yml",
165
- "lib/lucky_sneaks/unidecoder_data/xb5.yml",
166
- "lib/lucky_sneaks/unidecoder_data/xb6.yml",
167
- "lib/lucky_sneaks/unidecoder_data/xb7.yml",
168
- "lib/lucky_sneaks/unidecoder_data/xb8.yml",
169
- "lib/lucky_sneaks/unidecoder_data/xb9.yml",
170
- "lib/lucky_sneaks/unidecoder_data/xba.yml",
171
- "lib/lucky_sneaks/unidecoder_data/xbb.yml",
172
- "lib/lucky_sneaks/unidecoder_data/xbc.yml",
173
- "lib/lucky_sneaks/unidecoder_data/xbd.yml",
174
- "lib/lucky_sneaks/unidecoder_data/xbe.yml",
175
- "lib/lucky_sneaks/unidecoder_data/xbf.yml",
176
- "lib/lucky_sneaks/unidecoder_data/xc0.yml",
177
- "lib/lucky_sneaks/unidecoder_data/xc1.yml",
178
- "lib/lucky_sneaks/unidecoder_data/xc2.yml",
179
- "lib/lucky_sneaks/unidecoder_data/xc3.yml",
180
- "lib/lucky_sneaks/unidecoder_data/xc4.yml",
181
- "lib/lucky_sneaks/unidecoder_data/xc5.yml",
182
- "lib/lucky_sneaks/unidecoder_data/xc6.yml",
183
- "lib/lucky_sneaks/unidecoder_data/xc7.yml",
184
- "lib/lucky_sneaks/unidecoder_data/xc8.yml",
185
- "lib/lucky_sneaks/unidecoder_data/xc9.yml",
186
- "lib/lucky_sneaks/unidecoder_data/xca.yml",
187
- "lib/lucky_sneaks/unidecoder_data/xcb.yml",
188
- "lib/lucky_sneaks/unidecoder_data/xcc.yml",
189
- "lib/lucky_sneaks/unidecoder_data/xcd.yml",
190
- "lib/lucky_sneaks/unidecoder_data/xce.yml",
191
- "lib/lucky_sneaks/unidecoder_data/xcf.yml",
192
- "lib/lucky_sneaks/unidecoder_data/xd0.yml",
193
- "lib/lucky_sneaks/unidecoder_data/xd1.yml",
194
- "lib/lucky_sneaks/unidecoder_data/xd2.yml",
195
- "lib/lucky_sneaks/unidecoder_data/xd3.yml",
196
- "lib/lucky_sneaks/unidecoder_data/xd4.yml",
197
- "lib/lucky_sneaks/unidecoder_data/xd5.yml",
198
- "lib/lucky_sneaks/unidecoder_data/xd6.yml",
199
- "lib/lucky_sneaks/unidecoder_data/xd7.yml",
200
- "lib/lucky_sneaks/unidecoder_data/xf9.yml",
201
- "lib/lucky_sneaks/unidecoder_data/xfa.yml",
202
- "lib/lucky_sneaks/unidecoder_data/xfb.yml",
203
- "lib/lucky_sneaks/unidecoder_data/xfc.yml",
204
- "lib/lucky_sneaks/unidecoder_data/xfd.yml",
205
- "lib/lucky_sneaks/unidecoder_data/xfe.yml",
206
- "lib/lucky_sneaks/unidecoder_data/xff.yml",
207
- "lib/stringex.rb",
208
- "stringex.gemspec"
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "init.rb",
24
+ "lib/lucky_sneaks/acts_as_url.rb",
25
+ "lib/lucky_sneaks/string_extensions.rb",
26
+ "lib/lucky_sneaks/unidecoder.rb",
27
+ "lib/lucky_sneaks/unidecoder_data/x00.yml",
28
+ "lib/lucky_sneaks/unidecoder_data/x01.yml",
29
+ "lib/lucky_sneaks/unidecoder_data/x02.yml",
30
+ "lib/lucky_sneaks/unidecoder_data/x03.yml",
31
+ "lib/lucky_sneaks/unidecoder_data/x04.yml",
32
+ "lib/lucky_sneaks/unidecoder_data/x05.yml",
33
+ "lib/lucky_sneaks/unidecoder_data/x06.yml",
34
+ "lib/lucky_sneaks/unidecoder_data/x07.yml",
35
+ "lib/lucky_sneaks/unidecoder_data/x09.yml",
36
+ "lib/lucky_sneaks/unidecoder_data/x0a.yml",
37
+ "lib/lucky_sneaks/unidecoder_data/x0b.yml",
38
+ "lib/lucky_sneaks/unidecoder_data/x0c.yml",
39
+ "lib/lucky_sneaks/unidecoder_data/x0d.yml",
40
+ "lib/lucky_sneaks/unidecoder_data/x0e.yml",
41
+ "lib/lucky_sneaks/unidecoder_data/x0f.yml",
42
+ "lib/lucky_sneaks/unidecoder_data/x10.yml",
43
+ "lib/lucky_sneaks/unidecoder_data/x11.yml",
44
+ "lib/lucky_sneaks/unidecoder_data/x12.yml",
45
+ "lib/lucky_sneaks/unidecoder_data/x13.yml",
46
+ "lib/lucky_sneaks/unidecoder_data/x14.yml",
47
+ "lib/lucky_sneaks/unidecoder_data/x15.yml",
48
+ "lib/lucky_sneaks/unidecoder_data/x16.yml",
49
+ "lib/lucky_sneaks/unidecoder_data/x17.yml",
50
+ "lib/lucky_sneaks/unidecoder_data/x18.yml",
51
+ "lib/lucky_sneaks/unidecoder_data/x1e.yml",
52
+ "lib/lucky_sneaks/unidecoder_data/x1f.yml",
53
+ "lib/lucky_sneaks/unidecoder_data/x20.yml",
54
+ "lib/lucky_sneaks/unidecoder_data/x21.yml",
55
+ "lib/lucky_sneaks/unidecoder_data/x22.yml",
56
+ "lib/lucky_sneaks/unidecoder_data/x23.yml",
57
+ "lib/lucky_sneaks/unidecoder_data/x24.yml",
58
+ "lib/lucky_sneaks/unidecoder_data/x25.yml",
59
+ "lib/lucky_sneaks/unidecoder_data/x26.yml",
60
+ "lib/lucky_sneaks/unidecoder_data/x27.yml",
61
+ "lib/lucky_sneaks/unidecoder_data/x28.yml",
62
+ "lib/lucky_sneaks/unidecoder_data/x2e.yml",
63
+ "lib/lucky_sneaks/unidecoder_data/x2f.yml",
64
+ "lib/lucky_sneaks/unidecoder_data/x30.yml",
65
+ "lib/lucky_sneaks/unidecoder_data/x31.yml",
66
+ "lib/lucky_sneaks/unidecoder_data/x32.yml",
67
+ "lib/lucky_sneaks/unidecoder_data/x33.yml",
68
+ "lib/lucky_sneaks/unidecoder_data/x4d.yml",
69
+ "lib/lucky_sneaks/unidecoder_data/x4e.yml",
70
+ "lib/lucky_sneaks/unidecoder_data/x4f.yml",
71
+ "lib/lucky_sneaks/unidecoder_data/x50.yml",
72
+ "lib/lucky_sneaks/unidecoder_data/x51.yml",
73
+ "lib/lucky_sneaks/unidecoder_data/x52.yml",
74
+ "lib/lucky_sneaks/unidecoder_data/x53.yml",
75
+ "lib/lucky_sneaks/unidecoder_data/x54.yml",
76
+ "lib/lucky_sneaks/unidecoder_data/x55.yml",
77
+ "lib/lucky_sneaks/unidecoder_data/x56.yml",
78
+ "lib/lucky_sneaks/unidecoder_data/x57.yml",
79
+ "lib/lucky_sneaks/unidecoder_data/x58.yml",
80
+ "lib/lucky_sneaks/unidecoder_data/x59.yml",
81
+ "lib/lucky_sneaks/unidecoder_data/x5a.yml",
82
+ "lib/lucky_sneaks/unidecoder_data/x5b.yml",
83
+ "lib/lucky_sneaks/unidecoder_data/x5c.yml",
84
+ "lib/lucky_sneaks/unidecoder_data/x5d.yml",
85
+ "lib/lucky_sneaks/unidecoder_data/x5e.yml",
86
+ "lib/lucky_sneaks/unidecoder_data/x5f.yml",
87
+ "lib/lucky_sneaks/unidecoder_data/x60.yml",
88
+ "lib/lucky_sneaks/unidecoder_data/x61.yml",
89
+ "lib/lucky_sneaks/unidecoder_data/x62.yml",
90
+ "lib/lucky_sneaks/unidecoder_data/x63.yml",
91
+ "lib/lucky_sneaks/unidecoder_data/x64.yml",
92
+ "lib/lucky_sneaks/unidecoder_data/x65.yml",
93
+ "lib/lucky_sneaks/unidecoder_data/x66.yml",
94
+ "lib/lucky_sneaks/unidecoder_data/x67.yml",
95
+ "lib/lucky_sneaks/unidecoder_data/x68.yml",
96
+ "lib/lucky_sneaks/unidecoder_data/x69.yml",
97
+ "lib/lucky_sneaks/unidecoder_data/x6a.yml",
98
+ "lib/lucky_sneaks/unidecoder_data/x6b.yml",
99
+ "lib/lucky_sneaks/unidecoder_data/x6c.yml",
100
+ "lib/lucky_sneaks/unidecoder_data/x6d.yml",
101
+ "lib/lucky_sneaks/unidecoder_data/x6e.yml",
102
+ "lib/lucky_sneaks/unidecoder_data/x6f.yml",
103
+ "lib/lucky_sneaks/unidecoder_data/x70.yml",
104
+ "lib/lucky_sneaks/unidecoder_data/x71.yml",
105
+ "lib/lucky_sneaks/unidecoder_data/x72.yml",
106
+ "lib/lucky_sneaks/unidecoder_data/x73.yml",
107
+ "lib/lucky_sneaks/unidecoder_data/x74.yml",
108
+ "lib/lucky_sneaks/unidecoder_data/x75.yml",
109
+ "lib/lucky_sneaks/unidecoder_data/x76.yml",
110
+ "lib/lucky_sneaks/unidecoder_data/x77.yml",
111
+ "lib/lucky_sneaks/unidecoder_data/x78.yml",
112
+ "lib/lucky_sneaks/unidecoder_data/x79.yml",
113
+ "lib/lucky_sneaks/unidecoder_data/x7a.yml",
114
+ "lib/lucky_sneaks/unidecoder_data/x7b.yml",
115
+ "lib/lucky_sneaks/unidecoder_data/x7c.yml",
116
+ "lib/lucky_sneaks/unidecoder_data/x7d.yml",
117
+ "lib/lucky_sneaks/unidecoder_data/x7e.yml",
118
+ "lib/lucky_sneaks/unidecoder_data/x7f.yml",
119
+ "lib/lucky_sneaks/unidecoder_data/x80.yml",
120
+ "lib/lucky_sneaks/unidecoder_data/x81.yml",
121
+ "lib/lucky_sneaks/unidecoder_data/x82.yml",
122
+ "lib/lucky_sneaks/unidecoder_data/x83.yml",
123
+ "lib/lucky_sneaks/unidecoder_data/x84.yml",
124
+ "lib/lucky_sneaks/unidecoder_data/x85.yml",
125
+ "lib/lucky_sneaks/unidecoder_data/x86.yml",
126
+ "lib/lucky_sneaks/unidecoder_data/x87.yml",
127
+ "lib/lucky_sneaks/unidecoder_data/x88.yml",
128
+ "lib/lucky_sneaks/unidecoder_data/x89.yml",
129
+ "lib/lucky_sneaks/unidecoder_data/x8a.yml",
130
+ "lib/lucky_sneaks/unidecoder_data/x8b.yml",
131
+ "lib/lucky_sneaks/unidecoder_data/x8c.yml",
132
+ "lib/lucky_sneaks/unidecoder_data/x8d.yml",
133
+ "lib/lucky_sneaks/unidecoder_data/x8e.yml",
134
+ "lib/lucky_sneaks/unidecoder_data/x8f.yml",
135
+ "lib/lucky_sneaks/unidecoder_data/x90.yml",
136
+ "lib/lucky_sneaks/unidecoder_data/x91.yml",
137
+ "lib/lucky_sneaks/unidecoder_data/x92.yml",
138
+ "lib/lucky_sneaks/unidecoder_data/x93.yml",
139
+ "lib/lucky_sneaks/unidecoder_data/x94.yml",
140
+ "lib/lucky_sneaks/unidecoder_data/x95.yml",
141
+ "lib/lucky_sneaks/unidecoder_data/x96.yml",
142
+ "lib/lucky_sneaks/unidecoder_data/x97.yml",
143
+ "lib/lucky_sneaks/unidecoder_data/x98.yml",
144
+ "lib/lucky_sneaks/unidecoder_data/x99.yml",
145
+ "lib/lucky_sneaks/unidecoder_data/x9a.yml",
146
+ "lib/lucky_sneaks/unidecoder_data/x9b.yml",
147
+ "lib/lucky_sneaks/unidecoder_data/x9c.yml",
148
+ "lib/lucky_sneaks/unidecoder_data/x9d.yml",
149
+ "lib/lucky_sneaks/unidecoder_data/x9e.yml",
150
+ "lib/lucky_sneaks/unidecoder_data/x9f.yml",
151
+ "lib/lucky_sneaks/unidecoder_data/xa0.yml",
152
+ "lib/lucky_sneaks/unidecoder_data/xa1.yml",
153
+ "lib/lucky_sneaks/unidecoder_data/xa2.yml",
154
+ "lib/lucky_sneaks/unidecoder_data/xa3.yml",
155
+ "lib/lucky_sneaks/unidecoder_data/xa4.yml",
156
+ "lib/lucky_sneaks/unidecoder_data/xac.yml",
157
+ "lib/lucky_sneaks/unidecoder_data/xad.yml",
158
+ "lib/lucky_sneaks/unidecoder_data/xae.yml",
159
+ "lib/lucky_sneaks/unidecoder_data/xaf.yml",
160
+ "lib/lucky_sneaks/unidecoder_data/xb0.yml",
161
+ "lib/lucky_sneaks/unidecoder_data/xb1.yml",
162
+ "lib/lucky_sneaks/unidecoder_data/xb2.yml",
163
+ "lib/lucky_sneaks/unidecoder_data/xb3.yml",
164
+ "lib/lucky_sneaks/unidecoder_data/xb4.yml",
165
+ "lib/lucky_sneaks/unidecoder_data/xb5.yml",
166
+ "lib/lucky_sneaks/unidecoder_data/xb6.yml",
167
+ "lib/lucky_sneaks/unidecoder_data/xb7.yml",
168
+ "lib/lucky_sneaks/unidecoder_data/xb8.yml",
169
+ "lib/lucky_sneaks/unidecoder_data/xb9.yml",
170
+ "lib/lucky_sneaks/unidecoder_data/xba.yml",
171
+ "lib/lucky_sneaks/unidecoder_data/xbb.yml",
172
+ "lib/lucky_sneaks/unidecoder_data/xbc.yml",
173
+ "lib/lucky_sneaks/unidecoder_data/xbd.yml",
174
+ "lib/lucky_sneaks/unidecoder_data/xbe.yml",
175
+ "lib/lucky_sneaks/unidecoder_data/xbf.yml",
176
+ "lib/lucky_sneaks/unidecoder_data/xc0.yml",
177
+ "lib/lucky_sneaks/unidecoder_data/xc1.yml",
178
+ "lib/lucky_sneaks/unidecoder_data/xc2.yml",
179
+ "lib/lucky_sneaks/unidecoder_data/xc3.yml",
180
+ "lib/lucky_sneaks/unidecoder_data/xc4.yml",
181
+ "lib/lucky_sneaks/unidecoder_data/xc5.yml",
182
+ "lib/lucky_sneaks/unidecoder_data/xc6.yml",
183
+ "lib/lucky_sneaks/unidecoder_data/xc7.yml",
184
+ "lib/lucky_sneaks/unidecoder_data/xc8.yml",
185
+ "lib/lucky_sneaks/unidecoder_data/xc9.yml",
186
+ "lib/lucky_sneaks/unidecoder_data/xca.yml",
187
+ "lib/lucky_sneaks/unidecoder_data/xcb.yml",
188
+ "lib/lucky_sneaks/unidecoder_data/xcc.yml",
189
+ "lib/lucky_sneaks/unidecoder_data/xcd.yml",
190
+ "lib/lucky_sneaks/unidecoder_data/xce.yml",
191
+ "lib/lucky_sneaks/unidecoder_data/xcf.yml",
192
+ "lib/lucky_sneaks/unidecoder_data/xd0.yml",
193
+ "lib/lucky_sneaks/unidecoder_data/xd1.yml",
194
+ "lib/lucky_sneaks/unidecoder_data/xd2.yml",
195
+ "lib/lucky_sneaks/unidecoder_data/xd3.yml",
196
+ "lib/lucky_sneaks/unidecoder_data/xd4.yml",
197
+ "lib/lucky_sneaks/unidecoder_data/xd5.yml",
198
+ "lib/lucky_sneaks/unidecoder_data/xd6.yml",
199
+ "lib/lucky_sneaks/unidecoder_data/xd7.yml",
200
+ "lib/lucky_sneaks/unidecoder_data/xf9.yml",
201
+ "lib/lucky_sneaks/unidecoder_data/xfa.yml",
202
+ "lib/lucky_sneaks/unidecoder_data/xfb.yml",
203
+ "lib/lucky_sneaks/unidecoder_data/xfc.yml",
204
+ "lib/lucky_sneaks/unidecoder_data/xfd.yml",
205
+ "lib/lucky_sneaks/unidecoder_data/xfe.yml",
206
+ "lib/lucky_sneaks/unidecoder_data/xff.yml",
207
+ "lib/stringex.rb",
208
+ "stringex.gemspec"
209
209
  ]
210
210
  s.homepage = %q{http://github.com/rsl/stringex}
211
211
  s.rdoc_options = ["--main", "README.rdoc", "--charset", "utf-8", "--line-numbers"]
212
212
  s.require_paths = ["lib"]
213
- s.rubyforge_project = %q{stringex}
214
- s.rubygems_version = %q{1.3.7}
213
+ s.rubygems_version = %q{1.6.2}
215
214
  s.summary = %q{Some [hopefully] useful extensions to Ruby’s String class}
216
215
  s.test_files = [
217
216
  "test/acts_as_url_test.rb",
218
- "test/string_extensions_test.rb",
219
- "test/unidecoder_test.rb"
217
+ "test/string_extensions_test.rb",
218
+ "test/unidecoder_test.rb"
220
219
  ]
221
220
 
222
221
  if s.respond_to? :specification_version then
223
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
224
222
  s.specification_version = 3
225
223
 
226
224
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -48,7 +48,9 @@ class StringExtensionsTest < Test::Unit::TestCase
48
48
  "I'm just making sure there's nothing wrong with things!" =>
49
49
  "im-just-making-sure-theres-nothing-wrong-with-things",
50
50
  "foo = bar and bar=foo" =>
51
- "foo-equals-bar-and-bar-equals-foo"
51
+ "foo-equals-bar-and-bar-equals-foo",
52
+ "Will…This Work?" =>
53
+ "will-dot-dot-dot-this-work"
52
54
  }.each do |html, plain|
53
55
  assert_equal plain, html.to_url
54
56
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Russell Norris
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-20 00:00:00 -04:00
18
+ date: 2011-03-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -254,8 +254,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
254
  version: "0"
255
255
  requirements: []
256
256
 
257
- rubyforge_project: stringex
258
- rubygems_version: 1.3.7
257
+ rubyforge_project:
258
+ rubygems_version: 1.6.2
259
259
  signing_key:
260
260
  specification_version: 3
261
261
  summary: "Some [hopefully] useful extensions to Ruby\xE2\x80\x99s String class"