jekyll_slugify 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +23 -22
- data/README.md +11 -1
- data/jekyll_slugify.gemspec +3 -3
- data/lib/jekyll_slugify/version.rb +1 -1
- metadata +16 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d400921128c46a663d82f8eb0dbeb4dd552aa944db7f9b85d90ae50e516468
|
4
|
+
data.tar.gz: cea475b1be1ab3a7e21ed34f24d6dad2ca1aa8c82b375c1c44962f17576641a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83687497b1340e8c287365afeb38f6bbfaec5b96a8ed69736b20181e51af150cc6707d865f462b186625525a9416b2bbad8549b66f2aa2b62cc87e7bbc15c303
|
7
|
+
data.tar.gz: 822bb23d1688e802757807a1de20054c615c036370dc98dcd7a9a4857028bec5c9fae01952080938fbe6415651ee9ee25e417c815a47e059547a6a73e9ec7f0e
|
data/CHANGELOG.md
CHANGED
@@ -26,6 +26,11 @@ Principles of a change log, excerpted from [Keep a Changelog](http://keepachange
|
|
26
26
|
|
27
27
|
## [Unreleased]
|
28
28
|
|
29
|
+
## [0.4.3] - `2019-10-02`
|
30
|
+
|
31
|
+
### Changed
|
32
|
+
* Bump `i18n` version and update its version requirement.
|
33
|
+
|
29
34
|
## [0.4.2] - `2019-09-07`
|
30
35
|
|
31
36
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jekyll_slugify (0.4.
|
5
|
-
i18n (
|
4
|
+
jekyll_slugify (0.4.3)
|
5
|
+
i18n (>= 1.6, < 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -11,29 +11,29 @@ GEM
|
|
11
11
|
concurrent-ruby (1.1.5)
|
12
12
|
diff-lcs (1.3)
|
13
13
|
docile (1.3.2)
|
14
|
-
i18n (1.
|
14
|
+
i18n (1.7.0)
|
15
15
|
concurrent-ruby (~> 1.0)
|
16
|
-
jaro_winkler (1.5.
|
16
|
+
jaro_winkler (1.5.4)
|
17
17
|
json (2.2.0)
|
18
|
-
parallel (1.
|
19
|
-
parser (2.6.
|
18
|
+
parallel (1.18.0)
|
19
|
+
parser (2.6.5.0)
|
20
20
|
ast (~> 2.4.0)
|
21
21
|
rainbow (3.0.0)
|
22
|
-
rake (
|
23
|
-
rspec (3.
|
24
|
-
rspec-core (~> 3.
|
25
|
-
rspec-expectations (~> 3.
|
26
|
-
rspec-mocks (~> 3.
|
27
|
-
rspec-core (3.
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-expectations (3.
|
22
|
+
rake (13.0.0)
|
23
|
+
rspec (3.9.0)
|
24
|
+
rspec-core (~> 3.9.0)
|
25
|
+
rspec-expectations (~> 3.9.0)
|
26
|
+
rspec-mocks (~> 3.9.0)
|
27
|
+
rspec-core (3.9.0)
|
28
|
+
rspec-support (~> 3.9.0)
|
29
|
+
rspec-expectations (3.9.0)
|
30
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-mocks (3.
|
31
|
+
rspec-support (~> 3.9.0)
|
32
|
+
rspec-mocks (3.9.0)
|
33
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-support (3.
|
36
|
-
rubocop (0.
|
34
|
+
rspec-support (~> 3.9.0)
|
35
|
+
rspec-support (3.9.0)
|
36
|
+
rubocop (0.76.0)
|
37
37
|
jaro_winkler (~> 1.5.1)
|
38
38
|
parallel (~> 1.10)
|
39
39
|
parser (>= 2.6)
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
ruby-progressbar (~> 1.7)
|
42
42
|
unicode-display_width (>= 1.4.0, < 1.7)
|
43
43
|
ruby-progressbar (1.10.1)
|
44
|
-
simplecov (0.17.
|
44
|
+
simplecov (0.17.1)
|
45
45
|
docile (~> 1.1)
|
46
46
|
json (>= 1.8, < 3)
|
47
47
|
simplecov-html (~> 0.10.0)
|
@@ -50,14 +50,15 @@ GEM
|
|
50
50
|
yard (0.9.20)
|
51
51
|
|
52
52
|
PLATFORMS
|
53
|
+
ruby
|
53
54
|
x64-mingw32
|
54
55
|
|
55
56
|
DEPENDENCIES
|
56
57
|
bundler (~> 2.0.2)
|
57
58
|
jekyll_slugify!
|
58
|
-
rake (~>
|
59
|
+
rake (~> 13.0)
|
59
60
|
rspec (~> 3.8)
|
60
|
-
rubocop (~> 0.
|
61
|
+
rubocop (~> 0.76.0)
|
61
62
|
simplecov (~> 0.17.0)
|
62
63
|
yard (~> 0.9.20)
|
63
64
|
|
data/README.md
CHANGED
@@ -22,7 +22,17 @@ An extension to Ruby's `String` class that adds Jekyll-style `#slugify` method.
|
|
22
22
|
```ruby
|
23
23
|
@foo = 'Hello Worlds!'
|
24
24
|
puts @foo.slugify
|
25
|
-
=>
|
25
|
+
=> hello-worlds
|
26
|
+
```
|
27
|
+
|
28
|
+
Do note, however, that the `slugify` method will not work on ideograms - an ideogram-only word will actually raise an error!
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
puts 'Ærøskøbing'.slugify # Works
|
32
|
+
=> aeroskobing
|
33
|
+
|
34
|
+
puts '指事字'.slugify # Raises a Runtime error
|
35
|
+
=> Empty `slug` generated for given String (RuntimeError)
|
26
36
|
```
|
27
37
|
|
28
38
|
## Contributing
|
data/jekyll_slugify.gemspec
CHANGED
@@ -32,11 +32,11 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.required_ruby_version = '>= 2.5.0'
|
33
33
|
|
34
34
|
spec.add_development_dependency 'bundler', '~> 2.0.2'
|
35
|
-
spec.add_development_dependency 'rake', '~>
|
35
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
36
36
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
37
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
37
|
+
spec.add_development_dependency 'rubocop', '~> 0.76.0'
|
38
38
|
spec.add_development_dependency 'simplecov', '~> 0.17.0'
|
39
39
|
spec.add_development_dependency 'yard', '~> 0.9.20'
|
40
40
|
|
41
|
-
spec.add_dependency 'i18n', '
|
41
|
+
spec.add_dependency 'i18n', '>= 1.6', '< 2'
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_slugify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Padoim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.76.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.76.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,16 +98,22 @@ dependencies:
|
|
98
98
|
name: i18n
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.6'
|
104
|
+
- - "<"
|
102
105
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
106
|
+
version: '2'
|
104
107
|
type: :runtime
|
105
108
|
prerelease: false
|
106
109
|
version_requirements: !ruby/object:Gem::Requirement
|
107
110
|
requirements:
|
108
|
-
- - "
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '1.6'
|
114
|
+
- - "<"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
116
|
+
version: '2'
|
111
117
|
description: An extension to Ruby's `String` class that adds Jekyll-style `#slugify`
|
112
118
|
method.
|
113
119
|
email:
|