piggybak 0.7.3 → 0.7.4

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: ad2f2fedf5db6d1be9811b90abd32e09cf1271f5
4
- data.tar.gz: c46dd9100fb15bbb515da8563c0819aa0db76ba2
3
+ metadata.gz: 2f3430a8d4e76dbc43ed199546b97ac24a1b9ac9
4
+ data.tar.gz: 4ef8ae4ab5840909c68d83f532ddc5da024ddfc3
5
5
  SHA512:
6
- metadata.gz: 605409745fd6b8e31b58723e5702ccd26fe50a2015ed3d8c8d32711b79c743ff9baed734535ef66ce65db1444a4b02507282012afc66ab5772f44a8cf29e2f69
7
- data.tar.gz: 07b4e059ce7342a91d313a18caf372bd3fb1b2dae9fb43b4a5d23068ff3636e736fc883fb92de93d9283c3886d1d3f17974af7b7166529bd19905c6a5088de14
6
+ metadata.gz: 59e2adf96dda62643901045a825203b429177464387911ca46cf1a8e32afd315164d6f4b03d9227323e57612fbce677139c1bd0c3d9936f00d4075d05b046dd5
7
+ data.tar.gz: 4e0eadce7da5ede88d06de3110332b767b66a2a72a4cb300e441c3400b3608d3a9032619a98fe5a4c3e6ee507857f7d83c61e26a2591708242615dc52854ea46
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- piggybak (0.7.3)
4
+ piggybak (0.7.4)
5
5
  activemerchant
6
6
  countries
7
7
  rack-ssl-enforcer
@@ -1,4 +1,4 @@
1
- <% if object.reflections.keys.include?(:piggybak_sellable) -%>
1
+ <% if object.respond_to?(:piggybak_sellable) -%>
2
2
  <% if object.piggybak_sellable && object.piggybak_sellable.active -%>
3
3
  <% if object.piggybak_sellable.quantity > 0 || object.piggybak_sellable.unlimited_inventory -%>
4
4
  <%= form_tag piggybak.cart_add_url, locals[:options] do -%>
@@ -1,3 +1,3 @@
1
1
  module Piggybak
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piggybak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steph Skardal