middleman-roadie 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b01018853f90d7db34d1bab0a18295fcbec7fba5
4
- data.tar.gz: b0f6b0aaac26b83b66e722f8f7c4e0bbb8bf0692
3
+ metadata.gz: 8772ea8da3a77483451b0999a351eda91de42c8b
4
+ data.tar.gz: 9d27e1b90c46d8b358ba6ead8e196f964821dc17
5
5
  SHA512:
6
- metadata.gz: 3c78d2b5638e46dd974e482e365cc74bd2cac743355c7607e735dfa5a7a10bbf7cdab8becca012e0aea9a897088db688513687301f9ae9f73187d45cba8dc9aa
7
- data.tar.gz: 175e78e0f5fd4d8b4a7822c4c48f740c31454f3d500f49caea40717dd06c6126ce56d8e05fa545071111b871c09bce5191fc0333748413723c504d12c44d053f
6
+ metadata.gz: 2a84b132f64e7ccccb1c1be052aab31174c1ede4d9c7d287dbc36ea89d477756d4b7a85c6bafd98066c8ce59188dd83ae34afb82ca2249efa9fccd27ab6580f2
7
+ data.tar.gz: 8ddec24ca49da07022ad6825c0e399d1100a34fe4e838a88cc68c3a5bbde21aa9b9060387e8bad1721963dae7b4a998826a1ce92441dcc6955cc32d6298421f8
data/README.md CHANGED
@@ -16,6 +16,11 @@ Use a custom layout for email rendering `page '/email/*', layout: :email` in con
16
16
 
17
17
  If for some reason you need to include styles but don't want to be inlined on html, just include with `stylesheet_inline_tag your_styles, false`
18
18
 
19
+ ## TODO
20
+
21
+ * Add layout setting for override default email layout
22
+ * Add possibility to pass options to roadie
23
+
19
24
  ## Contributing
20
25
 
21
26
  1. Fork it
@@ -28,7 +28,8 @@ class RackInliner
28
28
  private
29
29
 
30
30
  def transform_html(old_html)
31
+ nbsp = Nokogiri::HTML(" ").text
31
32
  document = ::Roadie::Document.new old_html
32
- document.transform
33
+ document.transform.gsub(nbsp, " ")
33
34
  end
34
35
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Roadie
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-roadie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Ortiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.4.5.1
78
+ rubygems_version: 2.5.1
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Roadie Middleman extension adaptor