fix_microsoft_links 0.1.4 → 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 +7 -0
  2. data/lib/fix_microsoft_links.rb +1 -1
  3. metadata +15 -13
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 70479b1d05408b19665064c83028a8691ee9133a
4
+ data.tar.gz: afcf1d52f6a99d85f05ad0013b05904115d445e9
5
+ SHA512:
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)([^\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,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.4
5
- prerelease:
4
+ version: 0.1.6
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: 2013-08-21 00:00:00.000000000 Z
12
+ date: 2018-05-03 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rack
17
- requirement: &70278371879040 !ruby/object:Gem::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: *70278371879040
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,27 @@ 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: 1.8.15
57
+ rubygems_version: 2.4.8
57
58
  signing_key:
58
- specification_version: 3
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: []
63
+ has_rdoc: