urlify 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +23 -0
- data/README.md +2 -23
- data/lib/urlify/version.rb +5 -0
- data/test/urlify_test.rb +7 -0
- metadata +27 -20
- data/Rakefile +0 -32
- data/VERSION.yml +0 -4
- data/pkg/.gitignore +0 -1
- data/urlify.gemspec +0 -46
data/LICENSE
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (c) 2009, Benedict Eastaugh. All rights reserved.
|
2
|
+
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
4
|
+
modification, are permitted provided that the following conditions are met:
|
5
|
+
|
6
|
+
* Redistributions of source code must retain the above copyright notice, this
|
7
|
+
list of conditions and the following disclaimer.
|
8
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
9
|
+
this list of conditions and the following disclaimer in the documentation
|
10
|
+
and/or other materials provided with the distribution.
|
11
|
+
* The name of the author may not be used to endorse or promote products
|
12
|
+
derived from this software without specific prior written permission.
|
13
|
+
|
14
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
15
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
16
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
17
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
18
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
19
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
20
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
21
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
22
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
23
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
@@ -49,26 +49,5 @@ particular conversion, please consider forking the project and adding it.
|
|
49
49
|
Licence
|
50
50
|
-------
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
Redistribution and use in source and binary forms, with or without
|
55
|
-
modification, are permitted provided that the following conditions are met:
|
56
|
-
|
57
|
-
* Redistributions of source code must retain the above copyright notice, this
|
58
|
-
list of conditions and the following disclaimer.
|
59
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
60
|
-
this list of conditions and the following disclaimer in the documentation
|
61
|
-
and/or other materials provided with the distribution.
|
62
|
-
* The name of the author may not be used to endorse or promote products
|
63
|
-
derived from this software without specific prior written permission.
|
64
|
-
|
65
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
66
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
67
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
68
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
69
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
70
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
71
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
72
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
73
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
74
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
52
|
+
URLify is released under the BSD license. Please see the `LICENSE` file for
|
53
|
+
details.
|
data/test/urlify_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urlify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 2
|
9
|
+
version: 0.2.2
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Benedict Eastaugh
|
@@ -9,52 +14,54 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-04-14 00:00:00 +01:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
16
|
-
description:
|
21
|
+
description: |-
|
22
|
+
A small library for converting accented characters to
|
23
|
+
their ASCII equivalents.
|
17
24
|
email: benedict@eastaugh.net
|
18
25
|
executables: []
|
19
26
|
|
20
27
|
extensions: []
|
21
28
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
29
|
+
extra_rdoc_files: []
|
30
|
+
|
24
31
|
files:
|
25
|
-
- README.md
|
26
|
-
- Rakefile
|
27
|
-
- VERSION.yml
|
28
|
-
- lib/urlify.rb
|
29
32
|
- lib/urlify/accents.rb
|
30
|
-
-
|
31
|
-
-
|
32
|
-
-
|
33
|
+
- lib/urlify/version.rb
|
34
|
+
- lib/urlify.rb
|
35
|
+
- LICENSE
|
36
|
+
- README.md
|
33
37
|
has_rdoc: true
|
34
38
|
homepage: http://github.com/ionfish/urlify
|
35
|
-
licenses:
|
36
|
-
|
39
|
+
licenses:
|
40
|
+
- BSD
|
37
41
|
post_install_message:
|
38
|
-
rdoc_options:
|
39
|
-
|
42
|
+
rdoc_options: []
|
43
|
+
|
40
44
|
require_paths:
|
41
45
|
- lib
|
42
46
|
required_ruby_version: !ruby/object:Gem::Requirement
|
43
47
|
requirements:
|
44
48
|
- - ">="
|
45
49
|
- !ruby/object:Gem::Version
|
50
|
+
segments:
|
51
|
+
- 0
|
46
52
|
version: "0"
|
47
|
-
version:
|
48
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
54
|
requirements:
|
50
55
|
- - ">="
|
51
56
|
- !ruby/object:Gem::Version
|
52
|
-
|
53
|
-
|
57
|
+
segments:
|
58
|
+
- 1
|
59
|
+
- 3
|
60
|
+
version: "1.3"
|
54
61
|
requirements: []
|
55
62
|
|
56
63
|
rubyforge_project:
|
57
|
-
rubygems_version: 1.3.
|
64
|
+
rubygems_version: 1.3.6
|
58
65
|
signing_key:
|
59
66
|
specification_version: 3
|
60
67
|
summary: Convert accented characters to their ASCII equivalents
|
data/Rakefile
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
require 'lib/urlify'
|
2
|
-
|
3
|
-
begin
|
4
|
-
require 'jeweler'
|
5
|
-
Jeweler::Tasks.new do |s|
|
6
|
-
s.name = "urlify"
|
7
|
-
s.summary = "Convert accented characters to their ASCII equivalents"
|
8
|
-
s.email = "benedict@eastaugh.net"
|
9
|
-
s.homepage = "http://github.com/ionfish/urlify"
|
10
|
-
s.description = "A small library for converting accented characters " +
|
11
|
-
"to their ASCII equivalents."
|
12
|
-
s.authors = ["Benedict Eastaugh"]
|
13
|
-
end
|
14
|
-
rescue LoadError
|
15
|
-
puts "Jeweler not available. Install it with: sudo gem install " +
|
16
|
-
"technicalpickles-jeweler -s http://gems.github.com"
|
17
|
-
end
|
18
|
-
|
19
|
-
task :default => :test
|
20
|
-
|
21
|
-
desc "Run the URLify test suite"
|
22
|
-
task :test do
|
23
|
-
require 'test/unit'
|
24
|
-
|
25
|
-
testdir = "test"
|
26
|
-
Dir.foreach(testdir) do |f|
|
27
|
-
path = "#{testdir}/#{f}"
|
28
|
-
if File.ftype(path) == "file" && File.basename(f).match(/_test.rb$/)
|
29
|
-
load path
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
data/VERSION.yml
DELETED
data/pkg/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.gem
|
data/urlify.gemspec
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{urlify}
|
8
|
-
s.version = "0.2.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Benedict Eastaugh"]
|
12
|
-
s.date = %q{2009-10-09}
|
13
|
-
s.description = %q{A small library for converting accented characters to their ASCII equivalents.}
|
14
|
-
s.email = %q{benedict@eastaugh.net}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.md"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
"README.md",
|
20
|
-
"Rakefile",
|
21
|
-
"VERSION.yml",
|
22
|
-
"lib/urlify.rb",
|
23
|
-
"lib/urlify/accents.rb",
|
24
|
-
"pkg/.gitignore",
|
25
|
-
"test/urlify_test.rb",
|
26
|
-
"urlify.gemspec"
|
27
|
-
]
|
28
|
-
s.homepage = %q{http://github.com/ionfish/urlify}
|
29
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
30
|
-
s.require_paths = ["lib"]
|
31
|
-
s.rubygems_version = %q{1.3.5}
|
32
|
-
s.summary = %q{Convert accented characters to their ASCII equivalents}
|
33
|
-
s.test_files = [
|
34
|
-
"test/urlify_test.rb"
|
35
|
-
]
|
36
|
-
|
37
|
-
if s.respond_to? :specification_version then
|
38
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
39
|
-
s.specification_version = 3
|
40
|
-
|
41
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
42
|
-
else
|
43
|
-
end
|
44
|
-
else
|
45
|
-
end
|
46
|
-
end
|