payday 1.1.4 → 1.1.5

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: c63a9378b3f1a7e552dacce10b9b6261bd0eaec9
4
- data.tar.gz: 144ae033085831b2035a185f0e3c3db491be1e19
3
+ metadata.gz: e0e4dbf4f7c27b8125b42f5c860197f3f9ece07e
4
+ data.tar.gz: b802ed379157ed01805aadd3a06d6eb89318e6f2
5
5
  SHA512:
6
- metadata.gz: cc86262b5750704fd33c9f4aefe8aa3a396bc8da0491e1f58865525688500b70b1233c1189b181ba7d58dc1c9d2970d7ad5e821bf008d9012637d6b58469920d
7
- data.tar.gz: a7c8d4b0bf431d03eca023028268ba7faf96a9691b1372edbbd4325ea43fdf525f90807977b23839ae114cb01bd1bc744e3e9d366a7140e566246a5d550aff34
6
+ metadata.gz: 816fa5c172f2dc077501f867209c07a5bd877c3866d51fa44ae1006c05a0491fe8b352bbd75e21016d5527960ee970e70fbf287167f7f0390261114208058f4b
7
+ data.tar.gz: 8c7a8cff097142437fed22dd7db1334c3533fb81ae328dc444d91ad3a861dca60ed55334bd7d913b81104d13dbd06cc51197fce81438706c2a4d9a263a7f411a
data/README.md CHANGED
@@ -1,5 +1,3 @@
1
- ![Build Status](https://www.codeship.io/projects/94d9b760-b088-0131-bef4-5a9e112e295d/status)
2
-
3
1
  Payday!
4
2
  ===
5
3
  Payday is a library for rendering invoices. At present it supports rendering invoices to pdfs, but we're planning on adding support for other formats in the near future.
@@ -29,7 +27,7 @@ Example:
29
27
 
30
28
  Documentation
31
29
  ===
32
- Documentation for the latest version of Payday is available at [rdoc.info](http://rdoc.info/github/commondream/payday/v1.0.1/frames).
30
+ Documentation for the latest version of Payday is available at [rubydoc.info](http://www.rubydoc.info/gems/payday).
33
31
 
34
32
  Customizing Your Invoice
35
33
  ===
@@ -103,8 +101,6 @@ Examples
103
101
  ===
104
102
  Here's an [example PDF Invoice](https://github.com/downloads/commondream/payday/example.pdf)
105
103
 
106
- There's also an example Rails application running on Heroku at [http://payday-example.heroku.com](http://payday-example.heroku.com). You can check out the source at [http://github.com/commondream/payday-example](http://github.com/commondream/payday-example).
107
-
108
104
  Contributing
109
105
  ===
110
106
  Payday is pretty young, so there's still a good bit of work to be done. I highly recommend sending me a message on GitHub before making too many changes, just to make sure that two folks aren't doing the same work, but beyond that feel free to fork the project, make some changes, and send a pull request. If you're unsure about what to work on but would like to help, send me a message on GitHub. I'd love the help!
@@ -50,15 +50,15 @@ module Payday::Invoiceable
50
50
  end
51
51
 
52
52
  def overdue?
53
- defined?(:due_at) && ((due_at.is_a?(Date) && due_at < Date.today) || (due_at.is_a?(Time) && due_at < Time.now)) && !paid_at
53
+ defined?(due_at) && ((due_at.is_a?(Date) && due_at < Date.today) || (due_at.is_a?(Time) && due_at < Time.now)) && !paid_at
54
54
  end
55
55
 
56
56
  def refunded?
57
- defined?(:refunded_at) && !!refunded_at
57
+ defined?(refunded_at) && !!refunded_at
58
58
  end
59
59
 
60
60
  def paid?
61
- defined?(:paid_at) && !!paid_at
61
+ defined?(paid_at) && !!paid_at
62
62
  end
63
63
 
64
64
  # Renders this invoice to pdf as a string
@@ -1,5 +1,5 @@
1
1
  # This is Payday!
2
2
  module Payday
3
3
  # Current Version
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payday
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn