piggybak_variants 0.1.2 → 0.1.3

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: 87debeb4647ebc3a7e6ffa3adb0158b4f65026b9
4
- data.tar.gz: e9ca3257dbf0f07f6c14c098fc6fa6a450dfbd10
3
+ metadata.gz: c51fc99ead71bc308ccd9068cf73f251869becac
4
+ data.tar.gz: 28f6a8d4fad082599a9f0c8a073da900758567a6
5
5
  SHA512:
6
- metadata.gz: 07b3afd8787fa1202d218ef1d148d906b80349aa177f117aa3cad827ae2390e7eead251ac2259444623962a27156e8e398528844381a5b423c3bf9d07aedbcde
7
- data.tar.gz: e1563ee6e7b7d028635416f8c515016121e5e483419a3b2d7a316860750c63cd23710ecc0bb5e9f0d51342a6485b829c05c468eca76250073f2ab2118d28d244
6
+ metadata.gz: f8fa6a3c3fc7b9f805f3630b74739e05350363d1bc4e93d3cd930dc5bbd1041df6f14e16cc33dbe8928ccee597d91189839c67b3a3d8f64b5181ea2c601b8539
7
+ data.tar.gz: d86d52df586438f79c169be910ad6ac1c105338cf0045f0ab3fb03a6c17eba0e2c5cfd38dac8204e1cc7ad72ab1965102b15f56f897e0e54ef4512b90c45caf4
@@ -1,4 +1,4 @@
1
- <% if object.reflections.keys.include?(:variants) -%>
1
+ <% if object.respond_to?(:variants) -%>
2
2
  <script type="text/javascript">
3
3
  var variant_map = <%= raw variant_map(object) %>;
4
4
  </script>
@@ -1,4 +1,4 @@
1
- <% if object.reflections.keys.include?(:variants) -%>
1
+ <% if object.respond_to?(:variants) -%>
2
2
  <script type="text/javascript">
3
3
  var variant_map = <%= raw variant_map(object) %>;
4
4
  </script>
@@ -1,3 +1,3 @@
1
1
  module PiggybakVariants
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piggybak_variants
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Case, Steph Skardal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-06 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Advanced variant support for Piggybak.
14
14
  email: