inky-rb 1.3.7.3 → 1.3.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f128cd66f4c50d6498301a720c686a24f75afb6121f7574fcf38ae4e4197e39
4
- data.tar.gz: 9953f571f49f8fe6712a89331726eca0e1c6756129d75d782e12685190549487
3
+ metadata.gz: 48af980ab18545c232dc3fd4f4ee2ebedbfeca066aabe1faa4c3455c2aa4c152
4
+ data.tar.gz: f0b985c040dea524b0004cc90edb81ce8f4920e135d9def3253896a38b75099c
5
5
  SHA512:
6
- metadata.gz: a0c09ee38d1611662c935d09e4326fde73ff2261ff1cd45f457e693d37b640f4303da063269ae663fdf574564cdc368f0877a8219ade38a174d0f474e6e2ca61
7
- data.tar.gz: b3154afa14af608c817f92b20a2763de1e681eb8b253aae12e76c85b5c7859e937afd7da7cee3243a86842f20611b69e151ae15291301f0a6d907f2dc66e745c
6
+ metadata.gz: 3de872ab2036bd2ffcfb7c6c13aa8a58aee0b208e89da68281547e60a61acc8eaaf7b7f587d08d9672b6c84ad18219e61d7c227a71d47b3a6396c59ebb9dd840
7
+ data.tar.gz: f278877cc37ddf979b7f68fb35d3f333881095203eb40a95b330e217c28cc9708ba658a5466fcb2b171ace3ffd83b60270ec64b781d6a9b6ccdd64a37d728223
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg
3
3
  spec/_cases_output
4
4
  spec/test_app/log/*.log
5
5
  spec/test_app/tmp/
6
+ Gemfile.lock
@@ -153,5 +153,8 @@ Metrics/BlockLength:
153
153
  - 'Rakefile'
154
154
  - 'spec/**/*.rb'
155
155
 
156
+ Style/MutableConstant:
157
+ Enabled: false
158
+
156
159
  Style/Encoding:
157
160
  Enabled: false
@@ -2,15 +2,17 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.0.0
5
- - 2.4.1
5
+ - 2.6.1
6
6
  gemfile:
7
7
  - gemfiles/rails_3.gemfile
8
8
  - gemfiles/rails_4.gemfile
9
9
  - gemfiles/rails_5.gemfile
10
+ - gemfiles/rails_6.gemfile
10
11
  matrix:
11
12
  exclude:
12
13
  - rvm: 2.0.0
13
14
  gemfile: gemfiles/rails_5.gemfile
15
+ - rvm: 2.0.0
16
+ gemfile: gemfiles/rails_6.gemfile
14
17
  before_install:
15
- - gem install bundler
16
18
  - 'npm install -g inky-cli'
data/README.md CHANGED
@@ -163,4 +163,4 @@ The Inky parser can be accessed directly for programmatic use.
163
163
  Inky-rb currently requires:
164
164
 
165
165
  * Ruby 2.0+
166
- * Rails 3, 4 or 5
166
+ * Rails 3, 4, 5 or 6
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", ">=6.0.0.beta"
4
+
5
+ gemspec path: "../"
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.add_dependency "foundation_emails", "~> 2"
20
20
  s.add_dependency "nokogiri"
21
- s.add_development_dependency "bundler", "~> 1.6"
21
+ s.add_development_dependency "bundler"
22
22
  s.add_development_dependency "capybara"
23
23
  s.add_development_dependency "rails"
24
24
  s.add_development_dependency "rake"
@@ -21,7 +21,7 @@ module Inky
21
21
  spacer: 'spacer',
22
22
  wrapper: 'wrapper',
23
23
  menu_item: 'item'
24
- }.merge(options[:components] || {})
24
+ }.merge(::Inky.configuration.components).merge(options[:components] || {})
25
25
 
26
26
  self.component_lookup = components.invert
27
27
 
@@ -40,6 +40,7 @@ module Inky
40
40
  html = Nokogiri::HTML.public_send(parse_cmd, str)
41
41
  transform_doc(html)
42
42
  string = html.to_html
43
+ string.gsub!(INTERIM_TH_TAG_REGEX, 'th')
43
44
  Inky::Core.re_inject_raws(string, raws)
44
45
  end
45
46
 
@@ -12,6 +12,11 @@ module Inky
12
12
  tags = tags.to_set if tags.respond_to? :to_set
13
13
  IGNORED_ON_PASSTHROUGH = tags.freeze
14
14
 
15
+ # These constants are used to circumvent an issue with JRuby Nokogiri.
16
+ # For more details see https://github.com/zurb/inky-rb/pull/94
17
+ INTERIM_TH_TAG = 'inky-interim-th'.freeze
18
+ INTERIM_TH_TAG_REGEX = %r{(?<=\<|\<\/)#{Regexp.escape(INTERIM_TH_TAG)}}
19
+
15
20
  def _pass_through_attributes(elem)
16
21
  elem.attributes.reject { |e| IGNORED_ON_PASSTHROUGH.include?(e.downcase) }.map do |name, value|
17
22
  %{#{name}="#{value}" }
@@ -60,7 +65,7 @@ module Inky
60
65
  def _transform_menu_item(component, inner)
61
66
  target = _target_attribute(component)
62
67
  attributes = _combine_attributes(component, 'menu-item')
63
- %{<th #{attributes}><a href="#{component.attr('href')}"#{target}>#{inner}</a></th>}
68
+ %{<#{INTERIM_TH_TAG} #{attributes}><a href="#{component.attr('href')}"#{target}>#{inner}</a></#{INTERIM_TH_TAG}>}
64
69
  end
65
70
 
66
71
  def _transform_container(component, inner)
@@ -91,7 +96,7 @@ module Inky
91
96
  subrows = component.elements.css(".row").to_a.concat(component.elements.css("row").to_a)
92
97
  expander = %{<th class="expander"></th>} if large_size.to_i == column_count && subrows.empty?
93
98
 
94
- %{<th class="#{classes}" #{_pass_through_attributes(component)}><table><tr><th>#{inner}</th>#{expander}</tr></table></th>}
99
+ %{<#{INTERIM_TH_TAG} class="#{classes}" #{_pass_through_attributes(component)}><table><tr><th>#{inner}</th>#{expander}</tr></table></#{INTERIM_TH_TAG}>}
95
100
  end
96
101
 
97
102
  def _transform_block_grid(component, inner)
@@ -121,7 +126,7 @@ module Inky
121
126
 
122
127
  def _transform_spacer(component, _inner)
123
128
  classes = _combine_classes(component, 'spacer')
124
- build_table = ->(size, extra) { %{<table class="#{classes} #{extra}"><tbody><tr><td height="#{size}px" style="font-size:#{size}px;line-height:#{size}px;">&#xA0;</td></tr></tbody></table>} }
129
+ build_table = ->(size, extra) { %{<table class="#{classes} #{extra}"><tbody><tr><td height="#{size}" style="font-size:#{size}px;line-height:#{size}px;">&#xA0;</td></tr></tbody></table>} }
125
130
  size = component.attr('size')
126
131
  size_sm = component.attr('size-sm')
127
132
  size_lg = component.attr('size-lg')
@@ -7,6 +7,8 @@ module Inky
7
7
  # Set Inky's configuration
8
8
  # @param config [Inky::Configuration]
9
9
  def self.configuration=(config)
10
+ raise TypeError, "Not an Inky::Configuration" unless config.is_a?(Configuration)
11
+
10
12
  @configuration = config
11
13
  end
12
14
 
@@ -23,11 +25,30 @@ module Inky
23
25
  end
24
26
 
25
27
  class Configuration
26
- attr_accessor :template_engine, :column_count
28
+ attr_reader :template_engine, :column_count, :components
27
29
 
28
30
  def initialize
29
31
  @template_engine = :erb
30
32
  @column_count = 12
33
+ @components = {}
34
+ end
35
+
36
+ def template_engine=(value)
37
+ raise TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_sym'" unless value.respond_to?(:to_sym)
38
+
39
+ @template_engine = value.to_sym
40
+ end
41
+
42
+ def components=(value)
43
+ raise TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_hash'" unless value.respond_to?(:to_hash)
44
+
45
+ @components = value.to_hash
46
+ end
47
+
48
+ def column_count=(value)
49
+ raise TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_int'" unless value.respond_to?(:to_int)
50
+
51
+ @column_count = value.to_int
31
52
  end
32
53
  end
33
54
  end
@@ -13,9 +13,13 @@ module Inky
13
13
  raise("No template handler found for #{type}")
14
14
  end
15
15
 
16
- def call(template)
17
- compiled_source = engine_handler.call(template)
18
-
16
+ def call(template, source = nil)
17
+ compiled_source =
18
+ if source
19
+ engine_handler.call(template, source)
20
+ else
21
+ engine_handler.call(template)
22
+ end
19
23
  "Inky::Core.new.release_the_kraken(begin; #{compiled_source};end)"
20
24
  end
21
25
 
@@ -1,6 +1,6 @@
1
1
  module Inky
2
2
  module Rails
3
- VERSION = '1.3.7.3'.freeze
3
+ VERSION = '1.3.8.0'.freeze
4
4
  end
5
5
  NODE_VERSION, GEM_VERSION = Rails::VERSION.rpartition('.').map(&:freeze)
6
6
  end
@@ -259,7 +259,7 @@ RSpec.describe "Spacer" do
259
259
  <table class="spacer">
260
260
  <tbody>
261
261
  <tr>
262
- <td height="10px" style="font-size:10px;line-height:10px;">&#xA0;</td>
262
+ <td height="10" style="font-size:10px;line-height:10px;">&#xA0;</td>
263
263
  </tr>
264
264
  </tbody>
265
265
  </table>
@@ -274,7 +274,7 @@ RSpec.describe "Spacer" do
274
274
  <table class="spacer hide-for-large">
275
275
  <tbody>
276
276
  <tr>
277
- <td height="10px" style="font-size:10px;line-height:10px;">&#xA0;</td>
277
+ <td height="10" style="font-size:10px;line-height:10px;">&#xA0;</td>
278
278
  </tr>
279
279
  </tbody>
280
280
  </table>
@@ -289,7 +289,7 @@ RSpec.describe "Spacer" do
289
289
  <table class="spacer show-for-large">
290
290
  <tbody>
291
291
  <tr>
292
- <td height="20px" style="font-size:20px;line-height:20px;">&#xA0;</td>
292
+ <td height="20" style="font-size:20px;line-height:20px;">&#xA0;</td>
293
293
  </tr>
294
294
  </tbody>
295
295
  </table>
@@ -304,14 +304,14 @@ RSpec.describe "Spacer" do
304
304
  <table class="spacer hide-for-large">
305
305
  <tbody>
306
306
  <tr>
307
- <td height="10px" style="font-size:10px;line-height:10px;">&#xA0;</td>
307
+ <td height="10" style="font-size:10px;line-height:10px;">&#xA0;</td>
308
308
  </tr>
309
309
  </tbody>
310
310
  </table>
311
311
  <table class="spacer show-for-large">
312
312
  <tbody>
313
313
  <tr>
314
- <td height="20px" style="font-size:20px;line-height:20px;">&#xA0;</td>
314
+ <td height="20" style="font-size:20px;line-height:20px;">&#xA0;</td>
315
315
  </tr>
316
316
  </tbody>
317
317
  </table>
@@ -326,7 +326,7 @@ RSpec.describe "Spacer" do
326
326
  <table class="spacer bgcolor">
327
327
  <tbody>
328
328
  <tr>
329
- <td height="10px" style="font-size:10px;line-height:10px;">&#xA0;</td>
329
+ <td height="10" style="font-size:10px;line-height:10px;">&#xA0;</td>
330
330
  </tr>
331
331
  </tbody>
332
332
  </table>
@@ -1,44 +1,114 @@
1
1
  require 'spec_helper'
2
2
 
3
- RSpec.describe "Configuration" do
4
- around do |spec|
5
- Inky.configure do |config|
6
- old = config.template_engine
7
- spec.run
8
- config.template_engine = old
3
+ RSpec.describe "Inky.configuration" do
4
+ it "returns an Inky::Configuration object" do
5
+ expect(Inky.configuration).to be_an_instance_of Inky::Configuration
6
+ end
7
+
8
+ describe "=" do
9
+ it "accepts an Inky::Configuration" do
10
+ current_config = Inky.configuration
11
+ config = Inky::Configuration.new
12
+
13
+ expect { Inky.configuration = config }.to_not raise_error
14
+ expect(Inky.configuration).to_not eq(current_config)
15
+ expect(Inky.configuration).to eq(config)
16
+
17
+ expect { Inky.configuration = {} }.to raise_error(TypeError, "Not an Inky::Configuration")
18
+ expect(Inky.configuration).to eq(config)
19
+
20
+ expect { Inky.configuration = current_config }.to_not raise_error
21
+ expect(Inky.configuration).to eq(current_config)
9
22
  end
10
23
  end
11
24
 
12
- it "default value is :erb" do
13
- Inky::Configuration.new.template_engine = :erb
25
+ describe "&block" do
26
+ it "yields the current configuration" do
27
+ current_config = Inky.configuration
28
+ new_config = Inky::Configuration.new
29
+
30
+ Inky.configuration = new_config
31
+
32
+ Inky.configuration do |config|
33
+ expect(config).to be_an_instance_of Inky::Configuration
34
+ expect(config).to_not eq(current_config)
35
+ expect(config).to eq(new_config)
36
+ end
37
+
38
+ Inky.configuration = current_config
39
+ end
40
+ end
41
+ end
42
+
43
+ RSpec.describe "Configuration" do
44
+ describe "#template_engine" do
45
+ it "default value is :erb" do
46
+ expect(Inky::Configuration.new.template_engine).to eq(:erb)
47
+ end
14
48
  end
15
49
 
16
- describe "#configuration=" do
17
- it "can set template_engine" do
50
+ describe "#template_engine=" do
51
+ it "sets/updates the template_engine" do
18
52
  config = Inky::Configuration.new
19
53
  config.template_engine = :haml
20
54
  expect(config.template_engine).to eq(:haml)
21
55
  end
22
56
 
23
- it "can set column_count" do
57
+ it "accepts symbols" do
24
58
  config = Inky::Configuration.new
25
- config.column_count = 4
26
- expect(config.column_count).to eq(4)
59
+ value = []
60
+ expect { config.template_engine = value }.to raise_error(TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_sym'")
61
+ expect(config.template_engine).to eq(:erb)
27
62
  end
28
63
  end
29
64
 
30
- describe "#configuration=" do
31
- before do
32
- Inky.configure do |config|
33
- config.template_engine = :haml
34
- end
65
+ describe "#column_count" do
66
+ it "default value is 12" do
67
+ expect(Inky::Configuration.new.column_count).to eq(12)
35
68
  end
69
+ end
36
70
 
37
- it "returns :haml as configured template_engine" do
38
- template_engine = Inky.configuration.template_engine
71
+ describe "#column_count=" do
72
+ it "sets/updates the column_count" do
73
+ config = Inky::Configuration.new
74
+ config.column_count = 24
75
+ expect(config.column_count).to eq(24)
76
+ end
39
77
 
40
- expect(template_engine).to be_a(Symbol)
41
- expect(template_engine).to eq(:haml)
78
+ it "accepts integers" do
79
+ config = Inky::Configuration.new
80
+ value = :haml
81
+ expect { config.column_count = value }.to raise_error(TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_int'")
82
+ expect(config.column_count).to eq(12)
83
+ end
84
+ end
85
+
86
+ describe "#components" do
87
+ it "defaults to an empty hash" do
88
+ config = Inky::Configuration.new
89
+ expect(config.components).to eq({})
90
+ end
91
+ end
92
+
93
+ describe "#components=" do
94
+ it "can set overriden component tags" do
95
+ config = Inky::Configuration.new
96
+ config.components = { button: 'inky-button' }
97
+ expect(config.components).to eq(button: 'inky-button')
98
+ end
99
+
100
+ it "will not set an invalid components override" do
101
+ config = Inky::Configuration.new
102
+ [
103
+ nil,
104
+ 1,
105
+ "{}",
106
+ false,
107
+ true
108
+ ].each do |value|
109
+ expect { config.components = value }.to raise_error(TypeError, "#{value.inspect} (#{value.class}) does not respond to 'to_hash'")
110
+ expect(config.components).to eq({})
111
+ end
42
112
  end
43
113
  end
44
114
  end
@@ -10,12 +10,16 @@ def reformat_html(html)
10
10
  .gsub(/ "/, '"').gsub(/\=" /, '="') # Remove leading/trailing spaces inside attributes
11
11
  .gsub(/ </, '<').gsub(/> /, '>') # Remove leading/trailing spaces inside tags
12
12
  .gsub(' data-parsed=""', '') # Don't consider this known inky-node artefact
13
+ .gsub(' data-parsed>', '>') # Ditto
13
14
  .gsub('&#xA0;', ' ') # These are the same entity...
14
15
  .gsub(/(align="[^"]+") (class="[^"]+")/, '\2 \1') # Tweak order to match inky-node on container
15
16
  .gsub(/class\="([^"]+)"/) do # Sort class names
16
17
  classes = $1.split(' ').sort.join(' ')
17
18
  %{class="#{classes}"}
18
19
  end
20
+ .gsub(/<td height=".+?px"/) do |m| # Tweak out px until https://github.com/zurb/inky/pull/106 resolved
21
+ m.gsub('px', '')
22
+ end
19
23
  end
20
24
 
21
25
  def expect_same_html(input, expected)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inky-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7.3
4
+ version: 1.3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZURB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2020-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foundation_emails
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.6'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.6'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capybara
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -149,13 +149,13 @@ files:
149
149
  - ".rubocop.yml"
150
150
  - ".travis.yml"
151
151
  - Gemfile
152
- - Gemfile.lock
153
152
  - LICENSE.txt
154
153
  - README.md
155
154
  - Rakefile
156
155
  - gemfiles/rails_3.gemfile
157
156
  - gemfiles/rails_4.gemfile
158
157
  - gemfiles/rails_5.gemfile
158
+ - gemfiles/rails_6.gemfile
159
159
  - inky.gemspec
160
160
  - lib/generators/inky/install_generator.rb
161
161
  - lib/generators/inky/templates/foundation_emails.scss
@@ -168,6 +168,35 @@ files:
168
168
  - lib/inky/rails/engine.rb
169
169
  - lib/inky/rails/template_handler.rb
170
170
  - lib/inky/rails/version.rb
171
+ - spec/_cases_output/button/no_link.inky
172
+ - spec/_cases_output/button/with_expand_class.inky
173
+ - spec/_cases_output/button/with_image.inky
174
+ - spec/_cases_output/button/with_link.inky
175
+ - spec/_cases_output/button/with_tricky_class.inky
176
+ - spec/_cases_output/callout/basic.inky
177
+ - spec/_cases_output/callout/with_attributes.inky
178
+ - spec/_cases_output/general/empty_attributes.inky
179
+ - spec/_cases_output/general/multiple_root.inky
180
+ - spec/_cases_output/general/no_tag.inky
181
+ - spec/_cases_output/general/root_within_text.inky
182
+ - spec/_cases_output/general/void_html_elements.inky
183
+ - spec/_cases_output/grid/columns.inky
184
+ - spec/_cases_output/grid/container.inky
185
+ - spec/_cases_output/grid/container_with_align.inky
186
+ - spec/_cases_output/grid/row.inky
187
+ - spec/_cases_output/grid/row_with_columns.inky
188
+ - spec/_cases_output/menu/item.inky
189
+ - spec/_cases_output/menu/menu.inky
190
+ - spec/_cases_output/menu/menu_with_align.inky
191
+ - spec/_cases_output/menu/menu_with_items.inky
192
+ - spec/_cases_output/spacer/basic.inky
193
+ - spec/_cases_output/spacer/with_size.inky
194
+ - spec/_cases_output/spacer/with_size_lg.inky
195
+ - spec/_cases_output/spacer/with_size_sm.inky
196
+ - spec/_cases_output/spacer/with_size_sm_and_lg.inky
197
+ - spec/_cases_output/wrapper/basic.inky
198
+ - spec/_cases_output/wrapper/with_align.inky
199
+ - spec/_cases_output/wrapper/with_attributes.inky
171
200
  - spec/cases/button/no_link.inky
172
201
  - spec/cases/button/with_expand_class.inky
173
202
  - spec/cases/button/with_image.inky
@@ -242,6 +271,7 @@ files:
242
271
  - spec/test_app/config/secrets.yml
243
272
  - spec/test_app/config/spring.rb
244
273
  - spec/test_app/log/.keep
274
+ - spec/test_app/log/test.log
245
275
  - spec/test_app/spec/features/inky_spec.rb
246
276
  - spec/test_app/spec/helper.rb
247
277
  homepage: https://github.com/zurb/inky-rb
@@ -263,8 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
293
  - !ruby/object:Gem::Version
264
294
  version: '0'
265
295
  requirements: []
266
- rubyforge_project:
267
- rubygems_version: 2.7.6
296
+ rubygems_version: 3.1.2
268
297
  signing_key:
269
298
  specification_version: 4
270
299
  summary: Inky is an HTML-based templating language that converts simple HTML into
@@ -313,9 +342,39 @@ test_files:
313
342
  - spec/test_app/spec/helper.rb
314
343
  - spec/test_app/spec/features/inky_spec.rb
315
344
  - spec/test_app/Rakefile
345
+ - spec/test_app/log/test.log
316
346
  - spec/cases_spec.rb
317
347
  - spec/grid_spec.rb
318
348
  - spec/configuration_spec.rb
349
+ - spec/_cases_output/wrapper/basic.inky
350
+ - spec/_cases_output/wrapper/with_align.inky
351
+ - spec/_cases_output/wrapper/with_attributes.inky
352
+ - spec/_cases_output/general/no_tag.inky
353
+ - spec/_cases_output/general/multiple_root.inky
354
+ - spec/_cases_output/general/void_html_elements.inky
355
+ - spec/_cases_output/general/empty_attributes.inky
356
+ - spec/_cases_output/general/root_within_text.inky
357
+ - spec/_cases_output/spacer/basic.inky
358
+ - spec/_cases_output/spacer/with_size_sm.inky
359
+ - spec/_cases_output/spacer/with_size_lg.inky
360
+ - spec/_cases_output/spacer/with_size_sm_and_lg.inky
361
+ - spec/_cases_output/spacer/with_size.inky
362
+ - spec/_cases_output/callout/basic.inky
363
+ - spec/_cases_output/callout/with_attributes.inky
364
+ - spec/_cases_output/button/with_tricky_class.inky
365
+ - spec/_cases_output/button/with_expand_class.inky
366
+ - spec/_cases_output/button/with_link.inky
367
+ - spec/_cases_output/button/no_link.inky
368
+ - spec/_cases_output/button/with_image.inky
369
+ - spec/_cases_output/menu/menu_with_items.inky
370
+ - spec/_cases_output/menu/menu_with_align.inky
371
+ - spec/_cases_output/menu/menu.inky
372
+ - spec/_cases_output/menu/item.inky
373
+ - spec/_cases_output/grid/row.inky
374
+ - spec/_cases_output/grid/row_with_columns.inky
375
+ - spec/_cases_output/grid/columns.inky
376
+ - spec/_cases_output/grid/container.inky
377
+ - spec/_cases_output/grid/container_with_align.inky
319
378
  - spec/cases/wrapper/basic.inky
320
379
  - spec/cases/wrapper/with_align.inky
321
380
  - spec/cases/wrapper/with_attributes.inky
@@ -1,188 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- inky-rb (1.3.7.2)
5
- foundation_emails (~> 2)
6
- nokogiri
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (5.2.1)
12
- actionpack (= 5.2.1)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.1)
16
- actionpack (= 5.2.1)
17
- actionview (= 5.2.1)
18
- activejob (= 5.2.1)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.2.1)
22
- actionview (= 5.2.1)
23
- activesupport (= 5.2.1)
24
- rack (~> 2.0)
25
- rack-test (>= 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.1)
29
- activesupport (= 5.2.1)
30
- builder (~> 3.1)
31
- erubi (~> 1.4)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.1)
35
- activesupport (= 5.2.1)
36
- globalid (>= 0.3.6)
37
- activemodel (5.2.1)
38
- activesupport (= 5.2.1)
39
- activerecord (5.2.1)
40
- activemodel (= 5.2.1)
41
- activesupport (= 5.2.1)
42
- arel (>= 9.0)
43
- activestorage (5.2.1)
44
- actionpack (= 5.2.1)
45
- activerecord (= 5.2.1)
46
- marcel (~> 0.3.1)
47
- activesupport (5.2.1)
48
- concurrent-ruby (~> 1.0, >= 1.0.2)
49
- i18n (>= 0.7, < 2)
50
- minitest (~> 5.1)
51
- tzinfo (~> 1.1)
52
- addressable (2.5.2)
53
- public_suffix (>= 2.0.2, < 4.0)
54
- arel (9.0.0)
55
- ast (2.4.0)
56
- builder (3.2.3)
57
- capybara (3.9.0)
58
- addressable
59
- mini_mime (>= 0.1.3)
60
- nokogiri (~> 1.8)
61
- rack (>= 1.6.0)
62
- rack-test (>= 0.6.3)
63
- xpath (~> 3.1)
64
- concurrent-ruby (1.0.5)
65
- crass (1.0.4)
66
- diff-lcs (1.3)
67
- erubi (1.7.1)
68
- foundation_emails (2.2.1.0)
69
- globalid (0.4.1)
70
- activesupport (>= 4.2.0)
71
- i18n (1.1.1)
72
- concurrent-ruby (~> 1.0)
73
- jaro_winkler (1.5.1)
74
- loofah (2.2.2)
75
- crass (~> 1.0.2)
76
- nokogiri (>= 1.5.9)
77
- mail (2.7.1)
78
- mini_mime (>= 0.1.1)
79
- marcel (0.3.3)
80
- mimemagic (~> 0.3.2)
81
- method_source (0.9.0)
82
- mimemagic (0.3.2)
83
- mini_mime (1.0.1)
84
- mini_portile2 (2.3.0)
85
- minitest (5.11.3)
86
- nio4r (2.3.1)
87
- nokogiri (1.8.5)
88
- mini_portile2 (~> 2.3.0)
89
- parallel (1.12.1)
90
- parser (2.5.1.2)
91
- ast (~> 2.4.0)
92
- powerpack (0.1.2)
93
- public_suffix (3.0.3)
94
- rack (2.0.5)
95
- rack-test (1.1.0)
96
- rack (>= 1.0, < 3)
97
- rails (5.2.1)
98
- actioncable (= 5.2.1)
99
- actionmailer (= 5.2.1)
100
- actionpack (= 5.2.1)
101
- actionview (= 5.2.1)
102
- activejob (= 5.2.1)
103
- activemodel (= 5.2.1)
104
- activerecord (= 5.2.1)
105
- activestorage (= 5.2.1)
106
- activesupport (= 5.2.1)
107
- bundler (>= 1.3.0)
108
- railties (= 5.2.1)
109
- sprockets-rails (>= 2.0.0)
110
- rails-dom-testing (2.0.3)
111
- activesupport (>= 4.2.0)
112
- nokogiri (>= 1.6)
113
- rails-html-sanitizer (1.0.4)
114
- loofah (~> 2.2, >= 2.2.2)
115
- railties (5.2.1)
116
- actionpack (= 5.2.1)
117
- activesupport (= 5.2.1)
118
- method_source
119
- rake (>= 0.8.7)
120
- thor (>= 0.19.0, < 2.0)
121
- rainbow (3.0.0)
122
- rake (12.3.1)
123
- rspec-core (3.8.0)
124
- rspec-support (~> 3.8.0)
125
- rspec-expectations (3.8.2)
126
- diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.8.0)
128
- rspec-mocks (3.8.0)
129
- diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.8.0)
131
- rspec-rails (3.8.0)
132
- actionpack (>= 3.0)
133
- activesupport (>= 3.0)
134
- railties (>= 3.0)
135
- rspec-core (~> 3.8.0)
136
- rspec-expectations (~> 3.8.0)
137
- rspec-mocks (~> 3.8.0)
138
- rspec-support (~> 3.8.0)
139
- rspec-support (3.8.0)
140
- rubocop (0.59.2)
141
- jaro_winkler (~> 1.5.1)
142
- parallel (~> 1.10)
143
- parser (>= 2.5, != 2.5.1.1)
144
- powerpack (~> 0.1)
145
- rainbow (>= 2.2.2, < 4.0)
146
- ruby-progressbar (~> 1.7)
147
- unicode-display_width (~> 1.0, >= 1.0.1)
148
- ruby-progressbar (1.10.0)
149
- slim (4.0.1)
150
- temple (>= 0.7.6, < 0.9)
151
- tilt (>= 2.0.6, < 2.1)
152
- sprockets (3.7.2)
153
- concurrent-ruby (~> 1.0)
154
- rack (> 1, < 3)
155
- sprockets-rails (3.2.1)
156
- actionpack (>= 4.0)
157
- activesupport (>= 4.0)
158
- sprockets (>= 3.0.0)
159
- temple (0.8.0)
160
- thor (0.20.0)
161
- thread_safe (0.3.6)
162
- tilt (2.0.8)
163
- tzinfo (1.2.5)
164
- thread_safe (~> 0.1)
165
- unicode-display_width (1.4.0)
166
- websocket-driver (0.7.0)
167
- websocket-extensions (>= 0.1.0)
168
- websocket-extensions (0.1.3)
169
- xpath (3.2.0)
170
- nokogiri (~> 1.8)
171
-
172
- PLATFORMS
173
- ruby
174
-
175
- DEPENDENCIES
176
- bundler (~> 1.6)
177
- capybara
178
- inky-rb!
179
- rails
180
- rake
181
- rspec-core
182
- rspec-expectations
183
- rspec-rails
184
- rubocop
185
- slim
186
-
187
- BUNDLED WITH
188
- 1.16.4