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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03c01f42b62607d7c4fd6e4802612c04b768ee5afc39c4012f505eacb9f6bb53
4
- data.tar.gz: 1251294cc98c0af51887e0231b54fb0c40ea9429f36db38424e54e41ee88500f
3
+ metadata.gz: 72d400921128c46a663d82f8eb0dbeb4dd552aa944db7f9b85d90ae50e516468
4
+ data.tar.gz: cea475b1be1ab3a7e21ed34f24d6dad2ca1aa8c82b375c1c44962f17576641a4
5
5
  SHA512:
6
- metadata.gz: 1ffb6be59ca0629ab9beeae2a5abbe768129d3e2a018b92d2ad3551a9d584ef51c79d4d6c04db51ed3ae18265b1c46914dca06d07f87eebb591843eec46673d5
7
- data.tar.gz: 07a7fdb8b209f938db0b3cde35430f851452e391989740d082d5cdf0c1b43b5af60057f05c31184d87cc86856e722bcdb454260cc958d00b4a6d4d2597a8854c
6
+ metadata.gz: 83687497b1340e8c287365afeb38f6bbfaec5b96a8ed69736b20181e51af150cc6707d865f462b186625525a9416b2bbad8549b66f2aa2b62cc87e7bbc15c303
7
+ data.tar.gz: 822bb23d1688e802757807a1de20054c615c036370dc98dcd7a9a4857028bec5c9fae01952080938fbe6415651ee9ee25e417c815a47e059547a6a73e9ec7f0e
@@ -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
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll_slugify (0.4.2)
5
- i18n (~> 1.6.0)
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.6.0)
14
+ i18n (1.7.0)
15
15
  concurrent-ruby (~> 1.0)
16
- jaro_winkler (1.5.3)
16
+ jaro_winkler (1.5.4)
17
17
  json (2.2.0)
18
- parallel (1.17.0)
19
- parser (2.6.4.0)
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 (12.3.3)
23
- rspec (3.8.0)
24
- rspec-core (~> 3.8.0)
25
- rspec-expectations (~> 3.8.0)
26
- rspec-mocks (~> 3.8.0)
27
- rspec-core (3.8.2)
28
- rspec-support (~> 3.8.0)
29
- rspec-expectations (3.8.4)
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.8.0)
32
- rspec-mocks (3.8.1)
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.8.0)
35
- rspec-support (3.8.2)
36
- rubocop (0.74.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.0)
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 (~> 12.3)
59
+ rake (~> 13.0)
59
60
  rspec (~> 3.8)
60
- rubocop (~> 0.74.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
- => 'hello-worlds'
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
@@ -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', '~> 12.3'
35
+ spec.add_development_dependency 'rake', '~> 13.0'
36
36
  spec.add_development_dependency 'rspec', '~> 3.8'
37
- spec.add_development_dependency 'rubocop', '~> 0.74.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', '~> 1.6.0'
41
+ spec.add_dependency 'i18n', '>= 1.6', '< 2'
42
42
  end
@@ -3,7 +3,7 @@
3
3
  # An extension to Ruby's String class that adds Jekyll-style `slugify` method.
4
4
  module JekyllSlugify
5
5
  # Sets the current version of the gem
6
- @version = '0.4.2'
6
+ @version = '0.4.3'
7
7
 
8
8
  # Returns the Gem's current version.
9
9
  #
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.2
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-09-07 00:00:00.000000000 Z
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: '12.3'
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: '12.3'
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.74.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.74.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: 1.6.0
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: 1.6.0
116
+ version: '2'
111
117
  description: An extension to Ruby's `String` class that adds Jekyll-style `#slugify`
112
118
  method.
113
119
  email: