roadie 2.1.0.pre1 → 2.1.0.pre2
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.
- data/Changelog.md +7 -1
- data/lib/roadie/action_mailer_extensions.rb +1 -4
- data/lib/roadie/version.rb +1 -1
- metadata +2 -2
data/Changelog.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
### dev
|
|
2
2
|
|
|
3
|
-
[full changelog](https://github.com/Mange/roadie/compare/v2.1.0.
|
|
3
|
+
[full changelog](https://github.com/Mange/roadie/compare/v2.1.0.pre2...master)
|
|
4
4
|
|
|
5
5
|
* Nothing yet
|
|
6
6
|
|
|
7
|
+
### 2.1.0.pre2
|
|
8
|
+
|
|
9
|
+
[full changelog](https://github.com/Mange/roadie/compare/v2.1.0.pre1...v2.1.0.pre2)
|
|
10
|
+
|
|
11
|
+
* Bug: Roadie broke url_for inside mailer views
|
|
12
|
+
|
|
7
13
|
### 2.1.0.pre1
|
|
8
14
|
|
|
9
15
|
[full changelog](https://github.com/Mange/roadie/compare/v2.0.0...v2.1.0.pre1)
|
|
@@ -37,11 +37,8 @@ module Roadie
|
|
|
37
37
|
self.class.default[:css]
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
def url_options
|
|
41
|
-
Rails.application.config.action_mailer.default_url_options
|
|
42
|
-
end
|
|
43
|
-
|
|
44
40
|
def inline_style_response(response)
|
|
41
|
+
url_options = Rails.application.config.action_mailer.default_url_options
|
|
45
42
|
if response[:content_type] == 'text/html'
|
|
46
43
|
response.merge :body => Roadie.inline_css(Roadie.current_provider, css_targets, response[:body], url_options)
|
|
47
44
|
else
|
data/lib/roadie/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: roadie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: 6
|
|
5
|
-
version: 2.1.0.
|
|
5
|
+
version: 2.1.0.pre2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Magnus Bergmark
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-
|
|
13
|
+
date: 2011-12-09 00:00:00 +01:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|