farmingengineers 0.1.3 → 0.1.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{farmingengineers}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Burke"]
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', 50
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: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Burke