tenon 1.0.69 → 1.0.70

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
  SHA1:
3
- metadata.gz: 1e8a3a0f94907c5b8af16fd5f75d1cab83056c63
4
- data.tar.gz: 35b2c12bcab49c0f63e413f4b02770230cd66715
3
+ metadata.gz: 0378db22c299a6f50d59da184cfd040fb19d2364
4
+ data.tar.gz: dcb735d06fcca9fc5c77fe4b9694874941680174
5
5
  SHA512:
6
- metadata.gz: a1d27539edc0b7fe3607061a68376e32fc16a92d4c7e4428bf6a486c676e4d319ab5b9efe43ffd943ac46fdb9ed0a9f6e9dd5f9d4b01ddcbf7e57e05abfdfdf8
7
- data.tar.gz: 28a2f3e942bae4f0748c0c151bcac90642c083dd606857b1deaf8ce6576f4d583f1b0009714793e51494a5aa292c076038a61279c68216ece6f3e21ecc30eed4
6
+ metadata.gz: acf0858902b9a2afe44b482e1e629eb729dd35061ab3a6b36daef38dde3a8aea9032485d4155b061f475ba1931c5777155b1410bc0e85b381bf8b18a491316e3
7
+ data.tar.gz: 5ace0cfa567211b1d4044493f61ef67b5d3a256d6c02898ece0738c347b669b1335aa99e56a739f0359335ff909fb3a5a49e8e8e83931dab28eacca1ba382fc1
@@ -1,4 +1,4 @@
1
- .tn-tc-row.four-column-text.tn-tc-multi-text
1
+ .tn-tc-row.four-column-text.multi-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.three{class: cycle('', '', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-left-image-right-text.tn-tc-image-and-text
1
+ .tn-tc-row.left-image-right-text.image-and-text
2
2
  - row.pieces.each do |piece|
3
3
  - if piece.piece_type == "Image"
4
4
  .tn-tc-piece.tn-tc-asset-field{:class => piece.size}
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-left-text-right-image.tn-tc-image-and-text
1
+ .tn-tc-row.left-text-right-image.image-and-text
2
2
  - row.pieces.each do |piece|
3
3
  - if piece.piece_type == "Text"
4
4
  .tn-tc-piece{class: piece.size}
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-left-wrapped-image-with-text.tn-tc-wrapped-image-with-text
1
+ .tn-tc-row.left-wrapped-image-with-text.wrapped-image-with-text
2
2
  .twelve
3
3
  - row.pieces.each do |piece|
4
4
  - if piece.piece_type == "Image"
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-right-wrapped-image-with-text.tn-tc-wrapped-image-with-text
1
+ .tn-tc-row.right-wrapped-image-with-text.wrapped-image-with-text
2
2
  .twelve
3
3
  - row.pieces.each do |piece|
4
4
  - if piece.piece_type == "Image"
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-six-column-image
1
+ .tn-tc-row.six-column-image
2
2
  - [ [0, 1], [2, 3], [4, 5] ].each_with_index do |columns, i|
3
3
  .tn-tc-piece.four{class: i == 2 ? 'omega' : ''}
4
4
  - columns.each do |position|
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tcsix-column-image-and-text.stacked-image-and-text
1
+ .tn-tc-row.six-column-image-and-text.stacked-image-and-text
2
2
  - [ [ [0,1], [2,3] ], [ [4,5], [6,7] ], [ [8,9], [10,11] ] ].each_with_index do |columns, i|
3
3
  .four{class: i == 2 ? 'omega' : ''}
4
4
  - columns.each do |positions|
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-three-column-image
1
+ .tn-tc-row.three-column-image
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.tn-tc-asset-field.four{class: cycle('', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/image", piece: piece
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-three-column-image-and-text.stacked-image-and-text
1
+ .tn-tc-row.three-column-image-and-text.stacked-image-and-text
2
2
  -[[0,1], [2,3], [4,5]].each do |positions|
3
3
  .four{class: cycle('', '', 'omega')}
4
4
  - row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-three-column-text.tn-tc-multi-text
1
+ .tn-tc-row.three-column-text.multi-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.four{class: cycle('', '', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-two-column-image
1
+ .tn-tc-row.two-column-image
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.tn-tc-asset-field{ class: [piece.size, cycle('', 'omega')] }
4
4
  = render "tenon/tenon_content/piece_types/display/image", piece: piece
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-two-column-image-and-text.stacked-image-and-text
1
+ .tn-tc-row.two-column-image-and-text.stacked-image-and-text
2
2
  -[[0,1], [2,3]].each do |positions|
3
3
  .six{class: cycle('', 'omega')}
4
4
  - row.pieces.select { |p| positions.include?(p.position) }.each do |piece|
@@ -1,4 +1,4 @@
1
- .tn-tc-row.tn-tc-two-column-text
1
+ .tn-tc-row.two-column-text
2
2
  - row.pieces.each do |piece|
3
3
  .tn-tc-piece.six{class: cycle('', 'omega')}
4
4
  = render "tenon/tenon_content/piece_types/display/text", piece: piece
@@ -1,5 +1,6 @@
1
- .tn-tc-row.tn-tc-two-column-with-background-image.tn-tc-background-image{style: "background-image: url(#{row.pieces.first.image.url})"}
2
- - row.pieces[1..-1].each do |piece|
3
- .tn-tc-piece.six{class: cycle('', 'omega')}
4
- = render "tenon/tenon_content/piece_types/display/text", piece: piece
1
+ .tn-tc-row.two-column-with-background-image.tn-tc-background-image{style: "background-image: url(#{row.pieces.first.image.url})"}
2
+ .tn-tc-background-content
3
+ - row.pieces[1..-1].each do |piece|
4
+ .tn-tc-piece.six{class: cycle('', 'omega')}
5
+ = render "tenon/tenon_content/piece_types/display/text", piece: piece
5
6
  .spacer
data/lib/tenon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tenon
2
- VERSION = '1.0.69'
2
+ VERSION = '1.0.70'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.69
4
+ version: 1.0.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - factor[e] design initiative