slugify 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/slugify.rb +1 -7
- metadata +28 -51
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: db58bd6a408bbe0ca07e367ab4001d171c539a86
|
4
|
+
data.tar.gz: 611f4390359d96e4050893d643dd7c54a31594ea
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 032c89a7fa3f4c682916599628d438228be4cc2035257a2a457e678fa774faed66d06e093192347a0e991ecd41fdc418838d6a847ae59bde3f7c85d50be2937a
|
7
|
+
data.tar.gz: 63817531ab58035fb47752d90688e8b5f57a4dda6a1e68f625d10e550ffd9dfb9156b9b029f39372a29a41f788cb7994d4b41905c3eed17e85cc4b47694dee32
|
data/lib/slugify.rb
CHANGED
@@ -66,9 +66,6 @@ class Slugify
|
|
66
66
|
'X' => 'x',
|
67
67
|
'Y' => 'y',
|
68
68
|
'Z' => 'z',
|
69
|
-
'[' => '-',
|
70
|
-
']' => '-',
|
71
|
-
'_' => '-',
|
72
69
|
'a' => 'a',
|
73
70
|
'b' => 'b',
|
74
71
|
'c' => 'c',
|
@@ -95,9 +92,6 @@ class Slugify
|
|
95
92
|
'x' => 'x',
|
96
93
|
'y' => 'y',
|
97
94
|
'z' => 'z',
|
98
|
-
'{' => '-',
|
99
|
-
'}' => '-',
|
100
|
-
'~' => '-',
|
101
95
|
'À' => 'a',
|
102
96
|
'Á' => 'a',
|
103
97
|
'Â' => 'a',
|
@@ -949,4 +943,4 @@ class Slugify
|
|
949
943
|
result
|
950
944
|
end
|
951
945
|
|
952
|
-
end
|
946
|
+
end
|
metadata
CHANGED
@@ -1,72 +1,49 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: slugify
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 5
|
10
|
-
version: 1.0.5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.6
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Stefaan Colman
|
14
|
-
autorequire:
|
8
|
+
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-10-26 00:00:00 +02:00
|
19
|
-
default_executable:
|
11
|
+
date: 2015-03-21 00:00:00.000000000 Z
|
20
12
|
dependencies: []
|
21
|
-
|
22
13
|
description: Adds a method slugify to the string class that converts the string to a slug
|
23
|
-
email:
|
14
|
+
email:
|
24
15
|
executables: []
|
25
|
-
|
26
16
|
extensions: []
|
27
|
-
|
28
17
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
31
|
-
- lib/slugify.rb
|
18
|
+
files:
|
32
19
|
- lib/slugify_string.rb
|
20
|
+
- lib/slugify.rb
|
33
21
|
- tests/string_slugify_test.rb
|
34
22
|
- tests/slugify_test.rb
|
35
23
|
- README
|
36
|
-
|
37
|
-
homepage:
|
24
|
+
homepage:
|
38
25
|
licenses: []
|
39
|
-
|
40
|
-
post_install_message:
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
41
28
|
rdoc_options: []
|
42
|
-
|
43
|
-
require_paths:
|
29
|
+
require_paths:
|
44
30
|
- lib
|
45
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
none: false
|
56
|
-
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
hash: 3
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
version: "0"
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
63
41
|
requirements: []
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
specification_version: 3
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 2.1.9
|
44
|
+
signing_key:
|
45
|
+
specification_version: 4
|
69
46
|
summary: Adds String#slugify method
|
70
|
-
test_files:
|
47
|
+
test_files:
|
71
48
|
- tests/string_slugify_test.rb
|
72
49
|
- tests/slugify_test.rb
|