dirty_url 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -0
- data.tar.gz.sig +0 -0
- data/LICENSE.txt +19 -0
- data/lib/dirty_url/railtie.rb +1 -0
- data/lib/dirty_url/version.rb +1 -1
- metadata +41 -20
- metadata.gz.sig +2 -0
- data/LICENSE +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d3e10257fb112cedd2543d1b3ba027e2137a06b
|
4
|
+
data.tar.gz: 8804a6556647288f893ea2db6a38aed01992a0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68ab28475e758f37eb55a52af3d8c7028938537b0e326ecc3caa4bb399812ce4025198846c7c54a6ac6b8315d3602f99cdd45141d5474b4dd96cd51edd47b142
|
7
|
+
data.tar.gz: 90daaa13aff714010433c9185fd0da8abbaa5ec0d795d080b6bb0584f66db2d5c4b5c448ce13a7b4445d66b0e168b367455d6f454cc73076449fcf90fa620f84
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2010-2016 The Kompanee, Ltd
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/lib/dirty_url/railtie.rb
CHANGED
@@ -12,6 +12,7 @@ module DirtyUrl
|
|
12
12
|
|
13
13
|
application.config.action_dispatch.default_url_options = url_components
|
14
14
|
application.config.action_mailer.default_url_options = url_components
|
15
|
+
application.routes.default_url_options = url_components
|
15
16
|
|
16
17
|
if ActionMailer::Base.respond_to?(:'default_url_options=')
|
17
18
|
ActionMailer::Base.default_url_options = url_components
|
data/lib/dirty_url/version.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dirty_url
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jfelchner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDrjCCApagAwIBAgIBATANBgkqhkiG9w0BAQUFADBOMRowGAYDVQQDDBFhY2Nv
|
14
|
+
dW50c19ydWJ5Z2VtczEbMBkGCgmSJomT8ixkARkWC3RoZWtvbXBhbmVlMRMwEQYK
|
15
|
+
CZImiZPyLGQBGRYDY29tMB4XDTE2MDQyNDAyN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4lwJ4u93XJ7Cdyw7itvaEPnn8HpCfzsiLcw
|
31
|
+
QwSfDGz6+zsImi5N3UT71+mk7YcviQSgvMRl3VkAv8MZ6wcJ5SQRpf9w0OeFH6Ln
|
32
|
+
nNbCoHiYeXX/lz/M6AIbxDIZZTwxcyvF7bdrQ2fbH5MsfQ==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2016-05-20 00:00:00.000000000 Z
|
12
35
|
dependencies:
|
13
36
|
- !ruby/object:Gem::Dependency
|
14
37
|
name: rails
|
15
38
|
requirement: !ruby/object:Gem::Requirement
|
16
39
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.1'
|
20
40
|
- - "<"
|
21
41
|
- !ruby/object:Gem::Version
|
22
42
|
version: '5.0'
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.1'
|
23
46
|
type: :runtime
|
24
47
|
prerelease: false
|
25
48
|
version_requirements: !ruby/object:Gem::Requirement
|
26
49
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.1'
|
30
50
|
- - "<"
|
31
51
|
- !ruby/object:Gem::Version
|
32
52
|
version: '5.0'
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '3.1'
|
33
56
|
- !ruby/object:Gem::Dependency
|
34
57
|
name: rspec
|
35
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,29 +67,27 @@ dependencies:
|
|
44
67
|
- - "~>"
|
45
68
|
- !ruby/object:Gem::Version
|
46
69
|
version: '3.2'
|
47
|
-
description:
|
48
|
-
|
49
|
-
show relative URLs in mailers and even when doing comparisons in specs, the URL
|
70
|
+
description: By 'default', Rails has a difficult time figuring out when it is supposed
|
71
|
+
to show relative URLs in mailers and even when doing comparisons in specs, the URL
|
50
72
|
returned tends to be non-deterministic. Using this gem, Rails will always return
|
51
73
|
the proper URL based on the environment you are executing in.
|
52
74
|
email: accounts+git@thekompanee.com
|
53
75
|
executables: []
|
54
76
|
extensions: []
|
55
|
-
extra_rdoc_files:
|
56
|
-
- README.md
|
77
|
+
extra_rdoc_files: []
|
57
78
|
files:
|
58
|
-
- LICENSE
|
79
|
+
- LICENSE.txt
|
59
80
|
- README.md
|
60
81
|
- Rakefile
|
61
82
|
- lib/dirty_url.rb
|
62
83
|
- lib/dirty_url/railtie.rb
|
63
84
|
- lib/dirty_url/version.rb
|
64
85
|
homepage: https://github.com/thekompanee/dirty_url
|
65
|
-
licenses:
|
86
|
+
licenses:
|
87
|
+
- MIT
|
66
88
|
metadata: {}
|
67
89
|
post_install_message:
|
68
|
-
rdoc_options:
|
69
|
-
- "--charset = UTF-8"
|
90
|
+
rdoc_options: []
|
70
91
|
require_paths:
|
71
92
|
- lib
|
72
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -80,8 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
101
|
- !ruby/object:Gem::Version
|
81
102
|
version: '0'
|
82
103
|
requirements: []
|
83
|
-
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
104
|
+
rubyforge_project:
|
105
|
+
rubygems_version: 2.5.1
|
85
106
|
signing_key:
|
86
107
|
specification_version: 4
|
87
108
|
summary: Make URLs work properly in Rails mailers and controllers.
|
metadata.gz.sig
ADDED
data/LICENSE
DELETED
File without changes
|