turbograft 0.4.7 → 0.4.8

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: 151e2b8deeb6da6a8e1b5c732e236c8db0df7427c3bf7f763b9eecf863d1bbe6
4
- data.tar.gz: 4ffff77fc18c82fb496446492617a6acab056e767afc77c660208eb6cd26630f
3
+ metadata.gz: fba255993ff4ba3b193a70109a4635ebe5c672b2baa82e788f9e94f8d1d79fe5
4
+ data.tar.gz: 024e4089a512cfcaf3f3c1233eb58a44535f67be2a99257f7575c7880861fac5
5
5
  SHA512:
6
- metadata.gz: fbe47332102f1fff3ebd2deb9c706e47f463f99d51fdb7ba35c9acceaca030e2c04a50eb227671c47a7c4231086e403f2fbcafaabfdb034129f92453f0ea01b2
7
- data.tar.gz: d10f83071df4a30ae08b8cf1327e20119bbba40297eac5496e32cd3f84bcf00be2bdd330d0dda5d7ba96e629dc4cf5b42b48868b7679ffe94a2bc6af9e31948e
6
+ metadata.gz: e638743501bff1821d16afca2ee426081e85ff70d69b15647568c6fe2a766b089ee85f43d7138a60afe1cad2a235cdfeb25afb04c7d6dac92a42767bc125eb35
7
+ data.tar.gz: f6a539ce14d10aefb28f500a2e9834a8a888851762ffa143667a6c1bc54a22948609c6498a7f611ab3208065e3e7680370de41f9ad79e038177f4a54de1a0c8b
@@ -1,3 +1,3 @@
1
1
  module TurboGraft
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.8'
3
3
  end
@@ -5,8 +5,8 @@ module TurboGraft
5
5
  module XDomainBlocker
6
6
  private
7
7
  def same_origin?(a, b)
8
- a = URI.parse URI.escape(a)
9
- b = URI.parse URI.escape(b)
8
+ a = URI.parse URI::DEFAULT_PARSER.escape(a)
9
+ b = URI.parse URI::DEFAULT_PARSER.escape(b)
10
10
  [a.scheme, a.host, a.port] == [b.scheme, b.host, b.port]
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbograft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristian Plettenberg-Dussault
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2020-09-01 00:00:00.000000000 Z
18
+ date: 2021-03-19 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: coffee-rails
@@ -256,7 +256,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
257
  - - ">="
258
258
  - !ruby/object:Gem::Version
259
- version: '2.1'
259
+ version: '2.5'
260
260
  required_rubygems_version: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - ">="