receipts 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ba3516691631887d78dd7e17259f9340043dab5
4
- data.tar.gz: 93e23aa043d53f5266d257cd7d10844a0cbe3883
3
+ metadata.gz: 34b98f5234bd64d7bfd80d135974507f57c1dcd6
4
+ data.tar.gz: 33d1240674f0c3e5588b9f83692ca56071052495
5
5
  SHA512:
6
- metadata.gz: 64e443883c536492227add97ee2e2de270bf782f3274d1c9391e86645a7e2fdd013b71c10cbe7ada2154280a650b226ee6114e31ce39d6ecb815219de35e5874
7
- data.tar.gz: b6cf6ed9cbab96bc67eeca44710b39501f33465263d27ddb67b768becd30117cc8ff7f134092ce69cbe84f1916797e76253ab91aae58a8f1711e7332087442f3
6
+ metadata.gz: dc2abd54b87bab6550c3c7b9adce2ab3e0645e409c7d3cda6d89c2f2ca7d09ed4b2e59844394eb943db1d8d32b709ec85e46a09c53128ad0c816412548288bff
7
+ data.tar.gz: 6b995bf4f4528053f1af777beb8a23e93623463a6bc2d52a4c575cd13755dd383e450b6de1b046cc0e894614c72fb210fa96979a3f9fe7bcd055e147b98c467d
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.2.2
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![travisci](https://api.travis-ci.org/excid3/receipts.svg)
2
+
1
3
  # Receipts
2
4
 
3
5
  Receipts for your Rails application that works with any payment provider.
@@ -30,6 +32,9 @@ We're going to add a method called `receipt` on our model called `Charge`
30
32
  that will create a new receipt for the charge using attributes from the
31
33
  model.
32
34
 
35
+ Video Tutorial:
36
+ [GoRails Episode #51](https://gorails.com/episodes/pdf-receipts)
37
+
33
38
  ```ruby
34
39
  # == Schema Information
35
40
  #
@@ -44,7 +44,7 @@ module Receipts
44
44
  move_down 60
45
45
 
46
46
  if company.has_key? :logo
47
- image company.fetch(:logo), height: 32
47
+ image open(company.fetch(:logo)), height: 32
48
48
  else
49
49
  move_down 32
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module Receipts
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: receipts
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
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-26 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
+ - ".travis.yml"
105
106
  - Gemfile
106
107
  - LICENSE.txt
107
108
  - README.md