canonical-rails 0.2.5 → 0.2.6

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
2
  SHA256:
3
- metadata.gz: 0dec5645d51ed0ad35587260417f914f20d4ec3b4a10a082e29aa6a824b5f4a6
4
- data.tar.gz: 1d6bf6bd72105ab1790b1afb4383b27048f49aae8efaab50f5ef2fa4c07ef90e
3
+ metadata.gz: 38067fe7096258dd5090045db04194d4ab089758ebcda87b3863011535893d7e
4
+ data.tar.gz: 16567396612642f5640dc28dc45c65be6702bb1a37389e2d200d52987ef2fea0
5
5
  SHA512:
6
- metadata.gz: 33a696b21575481f8c2a1d8303200f9ab576605f02c7fa65ef43a02febce9937b0843a2c6b5fcb20ddc9a19f17e63784462aabd9805c12d883d489dd7eb52b38
7
- data.tar.gz: 96884877d1a604b141d492477ab3bca7feb78c934961c6d03f10a4f31742aa271c9b9832893cb742edfd0ec5552d6fae8a5e3eecb243822646f89edde8b91740
6
+ metadata.gz: ac96b6a583c455be2407383812ab84bf0670a51cf8debc17c435997a8f66f976b6b2ff4274ca1b539ef3e3079f0d42d0932b90a7b29cdf36fbce61da58ade1fb
7
+ data.tar.gz: 5347b6cf1356f000144da898cd8d5ddb78bba658cbf3ef35d40a270174d202b7a06a61e70bb51d7b8abe70c8ae86739e6c11c887cbd33feeea1a1c198bdb9480
@@ -29,7 +29,7 @@ module CanonicalRails
29
29
  def canonical_href(host = canonical_host, port = canonical_port)
30
30
  default_ports = { 'https://' => 443, 'http://' => 80 }
31
31
  port = port.present? && port.to_i != default_ports[canonical_protocol] ? ":#{port}" : ''
32
- raw "#{canonical_protocol}#{host}#{port}#{path_without_html_extension}#{trailing_slash_if_needed}#{whitelisted_query_string}".downcase
32
+ raw "#{canonical_protocol}#{host}#{port}#{path_without_html_extension}#{trailing_slash_if_needed}#{whitelisted_query_string}"
33
33
  end
34
34
 
35
35
  def canonical_path
@@ -1,3 +1,3 @@
1
1
  module CanonicalRails
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Ivanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-21 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails