tell-them 0.2.2 → 0.3.2

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: 19c88a8a7f48f14e57a01b2313c12c32212a4d88
4
- data.tar.gz: fb6065488269fc16ac1fa6c61071c1c31de3e7fb
3
+ metadata.gz: 57fcbb4894e21105e91f9d0a1b9bd03db6c72488
4
+ data.tar.gz: ef79de9024e1c7123157b804b52d33269b1d1d59
5
5
  SHA512:
6
- metadata.gz: a02ef11f7784b1aef86fb2e438d15fe52beb55fe7eb7b358b19bdf0bc6dc076b91c1fbd6385505386a87b554792432b664a4e4ff23718ae7781319b6695382f2
7
- data.tar.gz: bef9b5e6f39de678d39fd29138346b1c64c00ac66d5cec60bc46cf39a21d2d5e7572c727d194efe8d0dcc7a7b234cf821a9e9fde22b81c1b4feca002c0bb4069
6
+ metadata.gz: 478ba1fd87a296f7a7aeea5850746568bec309767bace103aeb5b0383794fc520bf92f096d808e97ba75c57a22511cf2b38e61122d11bcf01a65d69ee0261e6a
7
+ data.tar.gz: c995c555664c41604994589058be470c730bfdc5c31a2dc4d3767be25ca5ce7be6da02733ccea182a32225a33f8fe12b0eaf394d1e4322c9952d05bd2d8404b3
@@ -87,7 +87,10 @@ module TellThem
87
87
  style_box += "(min-width: #{query_data[:min]}) " if query_data[:min]
88
88
  style_box += ' and ' if query_data[:min] && query_data[:max]
89
89
  style_box += "(max-width: #{query_data[:max]}) " if query_data[:max]
90
- style_box += "{ \#tell-them-box .#{query_data[:name]} { display: block; } } \n"
90
+ style_box += "{ \n"
91
+ style_box += " \#tell-them-box:before { content: \"#{query_data[:initial]}\"; }\n" if query_data[:initial]
92
+ style_box += " \#tell-them-box .#{query_data[:name]} { display: block; }\n"
93
+ style_box += " } \n"
91
94
  end
92
95
  style_box += "</style>"
93
96
  end
@@ -1,5 +1,5 @@
1
1
  module TellThem
2
2
  module Rails
3
- VERSION = "0.2.2"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tell-them
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - K M Lawrence
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-02 00:00:00.000000000 Z
11
+ date: 2015-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties