payday 1.0.0 → 1.0.1

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.
data/README.md CHANGED
@@ -6,7 +6,7 @@ Installing
6
6
  ===
7
7
  Payday is available as a Rubygem, so installing it is as easy as running:
8
8
 
9
- gem install payday --pre
9
+ gem install payday
10
10
 
11
11
  Or, using bundler:
12
12
 
@@ -36,7 +36,7 @@ company details on the invoice.
36
36
 
37
37
  Example:
38
38
 
39
- Payday::Config.default.invoice_log = "/path/to/company/logo.png"
39
+ Payday::Config.default.invoice_logo = "/path/to/company/logo.png"
40
40
  Payday::Config.default.company_name = "Awesome Corp"
41
41
  Payday::Config.default.company_details = "10 This Way\nManhattan, NY 10001\n800-111-2222\nawesome@awesomecorp.com"
42
42
 
@@ -111,16 +111,15 @@ We've had some awesome contributers:
111
111
  * Sam Pizzey ([pizzeys](http://github.com/pizzeys))
112
112
  * Andrew Nordman ([cadwallion](http://github.com/cadwallion))
113
113
  * Pierre Olivier Martel ([pomartel](http://github.com/pomartel))
114
+ * Matt Hoofman ([mhoofman](https://github.com/mhoofman))
115
+ * Édouard Brière ([edouard](https://github.com/edouard))
114
116
 
115
117
  To Do
116
118
  ===
117
119
  Here's what we're planning on working on with Payday in the near future:
118
120
 
119
- * Let some folks use it for a bit.
120
- * Release 1.0!
121
-
122
121
  * Actually get a designer to style the invoices.
123
- * Add support for Money gem or BigDecimal or general numerics (right now we support BigDecimal and general numerics)
122
+ * Add support for Money values
124
123
  * Add support for blank line items
125
124
  * Add support for indented line items
126
125
  * Apply different tax rates to different line items
@@ -128,7 +127,6 @@ Here's what we're planning on working on with Payday in the near future:
128
127
  * Add ability to show skus or product ids on each line item
129
128
  * Add ability to add fine print to invoices.
130
129
 
131
- * Add page numbers
132
130
  * Ability to render invoice to html for web viewing
133
131
 
134
132
  Acknowledgements
@@ -84,7 +84,7 @@ module Payday
84
84
  end
85
85
 
86
86
  # render ship to
87
- if defined?(invoice.ship_to)
87
+ if defined?(invoice.ship_to) && !invoice.ship_to.nil?
88
88
  table = pdf.make_table([[bold_cell(pdf, I18n.t('payday.invoice.ship_to', :default => "Ship To"))],
89
89
  [invoice.ship_to]], :column_widths => [200], :cell_style => bill_to_cell_style)
90
90
 
@@ -2,5 +2,5 @@
2
2
  module Payday
3
3
 
4
4
  # Current Version
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: payday
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alan Johnson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-23 00:00:00 -04:00
13
+ date: 2011-03-29 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency