pin_up 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/pin_up.gemspec +3 -3
- data/views/receipt.html.erb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8369ec2265a1bb3b324d3c89bf7e5b39360c6b52
|
|
4
|
+
data.tar.gz: 56f08bf7ced264c544905b8079360fe5440a383b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 911fc1d583d824a6ce2066cc14a9e95b32b36f732c69c702dd8b2e6fe168604cb5f3e5ac7addc4eccacb3b63a86cfa29b0447a7d554da901c979270e3dd77ac5
|
|
7
|
+
data.tar.gz: 403e6bdf20a143e3b933b3eb481f0108b8c30e636a0141db0f1eefb981104ee7defb9720e2a2d528c01409a22fde1902a3c21f64b749ca96a5a2c256fd634ef8
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.4
|
data/pin_up.gemspec
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: pin_up 0.7.
|
|
5
|
+
# stub: pin_up 0.7.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "pin_up"
|
|
9
|
-
s.version = "0.7.
|
|
9
|
+
s.version = "0.7.4"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.authors = ["Daniel Nitsikopoulos"]
|
|
13
|
-
s.date = "2013-11-
|
|
13
|
+
s.date = "2013-11-11"
|
|
14
14
|
s.description = "A Ruby gem wrapper for the pin-payments (pin.net.au) API"
|
|
15
15
|
s.email = "dnitza@gmail.com"
|
|
16
16
|
s.extra_rdoc_files = [
|
data/views/receipt.html.erb
CHANGED
|
@@ -167,21 +167,21 @@
|
|
|
167
167
|
<td class="text-right">Subtotal</td>
|
|
168
168
|
<td><%= @amount %></td>
|
|
169
169
|
</tr>
|
|
170
|
-
<% if @payment_options["discount"] %>
|
|
170
|
+
<% if @payment_options && @payment_options["discount"] %>
|
|
171
171
|
<tr class="discount">
|
|
172
172
|
<td class="text-right"><%= @payment_options["discount"]["name"] %></td>
|
|
173
173
|
<td><%= @payment_options["discount"]["amount"] %></td>
|
|
174
174
|
</tr>
|
|
175
175
|
<% end %>
|
|
176
176
|
|
|
177
|
-
<% if @payment_options["fee"] %>
|
|
177
|
+
<% if @payment_options && @payment_options["fee"] %>
|
|
178
178
|
<tr class="fee">
|
|
179
179
|
<td class="text-right"><%= @payment_options["fee"]["name"] %></td>
|
|
180
180
|
<td><%= @payment_options["fee"]["amount"] %></td>
|
|
181
181
|
</tr>
|
|
182
182
|
<% end %>
|
|
183
183
|
|
|
184
|
-
<% if @payment_options["tax"] %>
|
|
184
|
+
<% if @payment_options && @payment_options["tax"] %>
|
|
185
185
|
<tr>
|
|
186
186
|
<td class="text-right"><%= @payment_options["tax"]["name"] %></td>
|
|
187
187
|
<td><%= @payment_options["tax"]["amount"] %></td>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pin_up
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Nitsikopoulos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-11-
|
|
11
|
+
date: 2013-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|