farmingengineers 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/farmingengineers.gemspec +1 -1
- data/invoice.rb +2 -1
- data/lib/farming_engineers/invoices/eggs.rb +3 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/farmingengineers.gemspec
CHANGED
data/invoice.rb
CHANGED
@@ -6,9 +6,10 @@ require 'egg_csa_invoice'
|
|
6
6
|
egg_csa_invoice do
|
7
7
|
customer 'Sample customer'
|
8
8
|
address ['123 Street', 'City, IN', '317-xxx-xxxx']
|
9
|
-
deposit '8/1/2010',
|
9
|
+
deposit '8/1/2010', 500
|
10
10
|
deliver '10/11/2010', 11
|
11
11
|
deliver '10/11/2010', 4, :rate => 4.50
|
12
|
+
egg delivery '10/12/2010', 1
|
12
13
|
purchase '11/1/2010', 'Doughnuts', 10
|
13
14
|
notes 'Notes to customer'
|
14
15
|
end
|
@@ -10,6 +10,9 @@ module FarmingEngineers ; module Invoices ; module Eggs
|
|
10
10
|
def deliver date, dozens, opts = {}
|
11
11
|
push Delivery.new(date, dozens, opts)
|
12
12
|
end
|
13
|
+
alias delivery deliver
|
14
|
+
alias egg_delivery deliver
|
15
|
+
def egg(*args) ; end
|
13
16
|
end
|
14
17
|
|
15
18
|
class Delivery < Common::HistoryItem
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: farmingengineers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Burke
|