canonical-rails 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fa4362adb7bca7471140f68ea3a41ba9c7f60cdd
4
- data.tar.gz: 82fd190e01d161736c55e7499581aea05cfe90f8
2
+ SHA256:
3
+ metadata.gz: f0d9ef773da11596654f1a0c5417e77410bcbac6594dc1adccb544edef085d66
4
+ data.tar.gz: f900d781c65c89cab82b65885ab0b07bcc7bab959929d2b91508ed5295579c4e
5
5
  SHA512:
6
- metadata.gz: 33118788a0d9ade0589936426ff67b47bff47e833696a9f96dfb04a67e840b1e6665123d80d6077f1e664f7a61bafd6c328582d2056c9bc3f9310481225a9a93
7
- data.tar.gz: 539ec70a3a69a559bd8acf0188ad4ab35a069b9394b29a0b9af47cffadbaf1f04745442856fda0267ee43ea1c13135f1723804e01ca3aa6d03bda4ea7bbf1bef
6
+ metadata.gz: 78ab25beac66412f2437f19aa34309e0374a1d115ccfffb7b0d1dffb42cc9a9a73f5cc7f3d44a35ae1ce62ca989197bafec3f1f11590a7ef7dd0b27b46141b7a
7
+ data.tar.gz: d360b87780f9e2c663a18a553961b658f3defade38f7c4724c6b1c838bec7e9d9c91680030eae8016cd87145814d8a495a2cdda60b85cb3f1f521b89a8b48a1d
data/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  CanonicalRails
2
2
  ==============
3
- [![Dependency Status](https://gemnasium.com/jumph4x/canonical-rails.png)](https://gemnasium.com/jumph4x/canonical-rails)
4
3
  [![Build Status](https://travis-ci.org/jumph4x/canonical-rails.svg?branch=master)](https://travis-ci.org/jumph4x/canonical-rails)
5
4
 
6
5
  A number of articles exist explaining the issue concisely and at length:
@@ -27,7 +27,7 @@ module CanonicalRails
27
27
  def canonical_href(host = canonical_host, port = canonical_port)
28
28
  default_ports = { 'https://' => 443, 'http://' => 80 }
29
29
  port = port.present? && port.to_i != default_ports[canonical_protocol] ? ":#{port}" : ''
30
- raw "#{canonical_protocol}#{host}#{port}#{path_without_html_extension}#{trailing_slash_if_needed}#{whitelisted_query_string}"
30
+ raw "#{canonical_protocol}#{host}#{port}#{path_without_html_extension}#{trailing_slash_if_needed}#{whitelisted_query_string}".downcase
31
31
  end
32
32
 
33
33
  def canonical_path
@@ -1,3 +1,3 @@
1
1
  module CanonicalRails
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonical-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Ivanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-12 00:00:00.000000000 Z
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.11
128
+ rubygems_version: 2.7.7
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Simple and configurable Rails canonical ref tag helper