fix_microsoft_links 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/fix_microsoft_links.rb +1 -1
- metadata +14 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ae681c3cacd8365dbed9320ff8c342b9fd308e47
|
4
|
+
data.tar.gz: 93dd466c718d8f3551f1ab9b36f192e9277b2f46
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c5115c882a2f35d794a96ca873bc44cbd1250276314c9d3b8a55224cf0541662b2dea5f440b2c17f112e74b0c7181f892fa6b904af30151db23f9b1aecaebd86
|
7
|
+
data.tar.gz: c4a3015bf73c9036992326a5367509f33e800f742fcefffd16cb6ce087c5cea708ec487da9c7fb33b32de384d324f2b3124152daffad81bb3b3a1080991d76ad
|
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)([^\w]|\z)/
|
4
|
+
USER_AGENTS_REGEX = /[^\w](Word|Excel|PowerPoint|ms-office|Konqueror)([^\w]|\z)/
|
5
5
|
EXCLUDE_USER_AGENTS_REGEX = /Microsoft Outlook/
|
6
6
|
|
7
7
|
def initialize(app)
|
metadata
CHANGED
@@ -1,8 +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
|
-
prerelease:
|
4
|
+
version: 0.1.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Zachary Kloepping
|
@@ -10,19 +9,22 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2018-04-27 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rack
|
17
|
-
requirement:
|
18
|
-
none: false
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - ">="
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: 1.1.1
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
|
-
version_requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.1.1
|
26
28
|
description:
|
27
29
|
email:
|
28
30
|
executables: []
|
@@ -35,27 +37,26 @@ files:
|
|
35
37
|
homepage: https://github.com/spilliton/fix_microsoft_links
|
36
38
|
licenses:
|
37
39
|
- MIT
|
40
|
+
metadata: {}
|
38
41
|
post_install_message:
|
39
42
|
rdoc_options: []
|
40
43
|
require_paths:
|
41
44
|
- lib
|
42
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
46
|
requirements:
|
45
|
-
- -
|
47
|
+
- - ">="
|
46
48
|
- !ruby/object:Gem::Version
|
47
49
|
version: '0'
|
48
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
51
|
requirements:
|
51
|
-
- -
|
52
|
+
- - ">="
|
52
53
|
- !ruby/object:Gem::Version
|
53
54
|
version: '0'
|
54
55
|
requirements: []
|
55
56
|
rubyforge_project:
|
56
|
-
rubygems_version:
|
57
|
+
rubygems_version: 2.5.2.1
|
57
58
|
signing_key:
|
58
|
-
specification_version:
|
59
|
+
specification_version: 4
|
59
60
|
summary: Fixes redirects to login pages when a user clicks a link to your site from
|
60
61
|
a Microsoft application like Word or Excel
|
61
62
|
test_files: []
|