corn_starch 1.9.20 → 1.9.21

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: 799138eb4bb88880462df26f5b8b84141bb8f528
4
- data.tar.gz: 4351df78298c510e2d4dc8b89c0805baf062bf16
3
+ metadata.gz: 80c7ce82ba5ac0d13e7ca2229ad821e130d6d4df
4
+ data.tar.gz: 4caa12492a109e4c730309d175c9255e8358cf90
5
5
  SHA512:
6
- metadata.gz: 09fdf565bf9a4210f5df982706392bbb36460cf674735efec8e9594adba34ecd0c08227ab12582cf3b5a330387a2b3e21265125a039a102da240b7c6ab37fb71
7
- data.tar.gz: cab1cae2985877edaa8f28e5f790268592d2828a7a1f9422eead8068dee862f55f02302d80deca4b722865e2d7cecd2394d4255e89a89314418646a050ccee1e
6
+ metadata.gz: b097b7cfdf9c72ae17529aa60e63cb3e4c32aec1cd8f852b016bc0dd6b84b1460c453c24e29ed7ed34a4bd962faef81a534128a1742dd3f19934a920b3a6b3dd
7
+ data.tar.gz: 5b7ea80c1598635f7f1fbc430f756d2f34250a502efb05e1fe60312155e9988565ac2e2a506eb0454ab4ea72a5d9575c4fccbaafea38caabb554f10b4b3db313
@@ -9,7 +9,10 @@ module CornStarch
9
9
 
10
10
  # Show Field Tag
11
11
  def field_dsp_tag name, v = nil, &block
12
- span_tag(name, class: 'cs-field-name') + (v ? span_tag(v, class: 'cs-field-value') : span_tag(class: 'cs-field-value') { yield })
12
+ args = []
13
+ args.push v if v
14
+ args.push class: 'cs-field-value'
15
+ span_tag(name, class: 'cs-field-name') + span_tag(*args, &block)
13
16
  end
14
17
  end
15
- end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.20'
2
+ VERSION = '1.9.21'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.20
4
+ version: 1.9.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse