fix_microsoft_links 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fix_microsoft_links.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70479b1d05408b19665064c83028a8691ee9133a
|
4
|
+
data.tar.gz: afcf1d52f6a99d85f05ad0013b05904115d445e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bdc0aa149b5c6def8d9d1c74522193ccfafe3ebc98ad01e65caaef44052bc56d7e849fdc041be4091ecd539e213458a1dcbabf5317a06ccd519acc8b5ec6213
|
7
|
+
data.tar.gz: 7ca69c7ecc5ac72328d021ff8d4fd57b48cc624fd0f13fae8a15868354456bd5a14bf30f4e99c34f4e8ba2af7b811545011dfc84d02fa3b59eaa0014e6b093f5
|
data/lib/fix_microsoft_links.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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:
|