scrivito_advanced_editors 0.0.18 → 0.0.19

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: 4e432e6e2a15688c4349d027bfde76389486447d
4
- data.tar.gz: 90d53fad3de75ba0fc7b46380ba187c37c56e7ec
3
+ metadata.gz: ce0439a1c00e83fa4c24030ea6d01c154d894f50
4
+ data.tar.gz: 152c4a78a8cd5c6535d177121406bd7447aa2366
5
5
  SHA512:
6
- metadata.gz: 2e958561e51608394997d934ca20757b418ae0023fad5ffc13da600c6f4a43046437e38564f9aa500f7910425f8a00f8ccf7e2c448049eb674cd845bbc852b91
7
- data.tar.gz: 91cc3dc405a95186eba0c5f3ab38bab398ef4032625c10260631fd4e8f9f48f6c16dc8f44da9026daa55d1aac47c1926f4b0f3ed3daf5626ef6377de7b042449
6
+ metadata.gz: 3c2f59b66ea1591392056bc09694dfcd58a80c7a52282210512afd8032cb8e093921abdfd27e1d7acb8b832dff9392d0cf452a5998716d65f95c4274daa18ea3
7
+ data.tar.gz: 7d72db5291ee68618f13e2645d9e111d927328ba619804c5868b53b50d6815f722d55deb3c30230954e11cfde3ea9feb1702f3900dc706f9a7f1c2c6b0bf9d32
@@ -76,7 +76,7 @@ module ScrivitoAdvancedEditors
76
76
  def css_class(elem, active)
77
77
  return '' if active.nil?
78
78
  return active == elem[:content] ? 'active' : '' if elem.is_a? Hash
79
- return active == elem.to_s ? 'active' : '' if (elem.is_a?(String) || elem.is_a?(Fixnum))
79
+ return active == elem.to_s ? 'active' : '' if (active.is_a?(String) || active.is_a?(Fixnum))
80
80
  active.include?(elem) ? 'active' : ''
81
81
  end
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module ScrivitoAdvancedEditors
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_advanced_editors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler