railhead_permalink 0.2.6 → 0.2.7

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
  SHA1:
3
- metadata.gz: 549d9aa8e21d99cb4d72701d2aacadd3bda8e8df
4
- data.tar.gz: 1977ce57de8503fce94ded930055f8b782bc92ab
3
+ metadata.gz: b5cb05a65d4458fb272ca2370bbdec5edecd2d87
4
+ data.tar.gz: 24e179aec7e8c65797bfc5497520b68b465fc958
5
5
  SHA512:
6
- metadata.gz: 204dd294b43b9b914f292cf30739d612f01bdba5c638d97d0bf048b9bd94ded93dc4430565e3f2898ec257fbb63187f673ac85e4d67ae2466b6f98c908e1583b
7
- data.tar.gz: fd1c052349c2bfa2ca62689765f67de9f22c016ebd4728c95c7a9c035177b0ffc0155203fdc3637db2a65a6aa89da56c15c1aaa31ed0d8d988d636c0612be258
6
+ metadata.gz: 924e77492ee2599253e40490c522af84aae97ffbbca4554d24cfaa402a212975579e7ea0fdf9c26727768cf10aed7352747b963ef9d45ff9462ce4c40d895720
7
+ data.tar.gz: 57c59e84877f31773d05b413e9b7b523eb92921fea5208d2a903afb7e1e9b9d6f2805329daf4272e48b57a5f0f5b307d5dad92bec600d0f440e41b17d5f0e21a
@@ -1,5 +1,11 @@
1
1
  begin
2
2
  require 'stringex_lite'
3
+ # stringex fix
4
+ class String
5
+ def to_url
6
+ Stringex::Unidecoder.decode(self).parameterize
7
+ end
8
+ end
3
9
  rescue LoadError
4
10
  class String
5
11
  alias_method :to_url, :parameterize
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_permalink"
3
- s.version = "0.2.6"
4
- s.date = "2016-09-15"
3
+ s.version = "0.2.7"
4
+ s.date = "2017-03-28"
5
5
  s.summary = "RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecord objects with permalink."
6
6
  s.email = "bence.nagy@gmail.com"
7
7
  s.homepage = "http://github.com/nagybence/railhead_permalink"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railhead_permalink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-15 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: bence.nagy@gmail.com
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
- rubygems_version: 2.5.1
45
+ rubygems_version: 2.6.8
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecord