fix_microsoft_links 0.1.5 → 0.1.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fix_microsoft_links.rb +1 -1
  3. metadata +8 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae681c3cacd8365dbed9320ff8c342b9fd308e47
4
- data.tar.gz: 93dd466c718d8f3551f1ab9b36f192e9277b2f46
3
+ metadata.gz: 70479b1d05408b19665064c83028a8691ee9133a
4
+ data.tar.gz: afcf1d52f6a99d85f05ad0013b05904115d445e9
5
5
  SHA512:
6
- metadata.gz: c5115c882a2f35d794a96ca873bc44cbd1250276314c9d3b8a55224cf0541662b2dea5f440b2c17f112e74b0c7181f892fa6b904af30151db23f9b1aecaebd86
7
- data.tar.gz: c4a3015bf73c9036992326a5367509f33e800f742fcefffd16cb6ce087c5cea708ec487da9c7fb33b32de384d324f2b3124152daffad81bb3b3a1080991d76ad
6
+ metadata.gz: 4bdc0aa149b5c6def8d9d1c74522193ccfafe3ebc98ad01e65caaef44052bc56d7e849fdc041be4091ecd539e213458a1dcbabf5317a06ccd519acc8b5ec6213
7
+ data.tar.gz: 7ca69c7ecc5ac72328d021ff8d4fd57b48cc624fd0f13fae8a15868354456bd5a14bf30f4e99c34f4e8ba2af7b811545011dfc84d02fa3b59eaa0014e6b093f5
@@ -1,7 +1,7 @@
1
1
  module FixMicrosoftLinks
2
2
  module Rack
3
3
  class Response
4
- USER_AGENTS_REGEX = /[^\w](Word|Excel|PowerPoint|ms-office|Konqueror)([^\w]|\z)/
4
+ USER_AGENTS_REGEX = /[^\w](Word|Excel|PowerPoint|ms-office|Konqueror.+KIO)([^\w]|\z)/
5
5
  EXCLUDE_USER_AGENTS_REGEX = /Microsoft Outlook/
6
6
 
7
7
  def initialize(app)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix_microsoft_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Kloepping
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-27 00:00:00.000000000 Z
12
+ date: 2018-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.1.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.1.1
28
28
  description:
@@ -44,19 +44,20 @@ require_paths:
44
44
  - lib
45
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.5.2.1
57
+ rubygems_version: 2.4.8
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Fixes redirects to login pages when a user clicks a link to your site from
61
61
  a Microsoft application like Word or Excel
62
62
  test_files: []
63
+ has_rdoc: