roadie 2.1.0.pre1 → 2.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
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.pre1...master)
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
@@ -1,3 +1,3 @@
1
1
  module Roadie
2
- VERSION = '2.1.0.pre1'
2
+ VERSION = '2.1.0.pre2'
3
3
  end
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.pre1
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-11-24 00:00:00 +01:00
13
+ date: 2011-12-09 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency