uomi 0.2.13

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.
Files changed (45) hide show
  1. data/.gitignore +6 -0
  2. data/.rvmrc +1 -0
  3. data/.travis.yml +3 -0
  4. data/Gemfile +10 -0
  5. data/README.md +35 -0
  6. data/Rakefile +8 -0
  7. data/config.ru +7 -0
  8. data/invoicing.gemspec +27 -0
  9. data/lib/generators/active_record/invoicing_generator.rb +30 -0
  10. data/lib/generators/active_record/templates/migration.rb +84 -0
  11. data/lib/invoicing/buyer.rb +10 -0
  12. data/lib/invoicing/credit_note.rb +70 -0
  13. data/lib/invoicing/credit_note_credit_transaction.rb +6 -0
  14. data/lib/invoicing/credit_note_invoice.rb +6 -0
  15. data/lib/invoicing/credit_transaction.rb +9 -0
  16. data/lib/invoicing/debit_transaction.rb +9 -0
  17. data/lib/invoicing/exception.rb +4 -0
  18. data/lib/invoicing/invoice.rb +233 -0
  19. data/lib/invoicing/invoice_adjustment.rb +59 -0
  20. data/lib/invoicing/invoice_decorator.rb +6 -0
  21. data/lib/invoicing/invoiceable.rb +22 -0
  22. data/lib/invoicing/late_payment.rb +11 -0
  23. data/lib/invoicing/line_item.rb +17 -0
  24. data/lib/invoicing/line_item_type.rb +6 -0
  25. data/lib/invoicing/overdue_invoice.rb +16 -0
  26. data/lib/invoicing/payment_reference.rb +10 -0
  27. data/lib/invoicing/seller.rb +10 -0
  28. data/lib/invoicing/transaction.rb +13 -0
  29. data/lib/invoicing/version.rb +3 -0
  30. data/lib/invoicing.rb +46 -0
  31. data/spec/README +0 -0
  32. data/spec/internal/config/database.yml.sample +3 -0
  33. data/spec/internal/config/routes.rb +3 -0
  34. data/spec/internal/db/schema.rb +81 -0
  35. data/spec/internal/log/.gitignore +1 -0
  36. data/spec/internal/public/favicon.ico +0 -0
  37. data/spec/lib/invoicing/credit_note_spec.rb +140 -0
  38. data/spec/lib/invoicing/invoice_adjustment_spec.rb +136 -0
  39. data/spec/lib/invoicing/invoice_late_payment_spec.rb +10 -0
  40. data/spec/lib/invoicing/invoice_spec.rb +419 -0
  41. data/spec/lib/invoicing/line_item_spec.rb +14 -0
  42. data/spec/lib/invoicing/overdue_invoice_spec.rb +67 -0
  43. data/spec/spec_helper.rb +20 -0
  44. data/spec/support/helpers.rb +20 -0
  45. metadata +185 -0
metadata ADDED
@@ -0,0 +1,185 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uomi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.13
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Douglas Anderson
9
+ - Jeffrey van Aswegen
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2013-11-19 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: activerecord
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: '3.0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: '3.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: i18n
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: workflow
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - '='
69
+ - !ruby/object:Gem::Version
70
+ version: 0.8.7
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - '='
77
+ - !ruby/object:Gem::Version
78
+ version: 0.8.7
79
+ - !ruby/object:Gem::Dependency
80
+ name: combustion
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 0.3.1
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 0.3.1
95
+ description: ! ' Manage invoices. '
96
+ email:
97
+ - i.am.douglas.anderson@gmail.com
98
+ - jeffmess@gmail.com
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files: []
102
+ files:
103
+ - .gitignore
104
+ - .rvmrc
105
+ - .travis.yml
106
+ - Gemfile
107
+ - README.md
108
+ - Rakefile
109
+ - config.ru
110
+ - invoicing.gemspec
111
+ - lib/generators/active_record/invoicing_generator.rb
112
+ - lib/generators/active_record/templates/migration.rb
113
+ - lib/invoicing.rb
114
+ - lib/invoicing/buyer.rb
115
+ - lib/invoicing/credit_note.rb
116
+ - lib/invoicing/credit_note_credit_transaction.rb
117
+ - lib/invoicing/credit_note_invoice.rb
118
+ - lib/invoicing/credit_transaction.rb
119
+ - lib/invoicing/debit_transaction.rb
120
+ - lib/invoicing/exception.rb
121
+ - lib/invoicing/invoice.rb
122
+ - lib/invoicing/invoice_adjustment.rb
123
+ - lib/invoicing/invoice_decorator.rb
124
+ - lib/invoicing/invoiceable.rb
125
+ - lib/invoicing/late_payment.rb
126
+ - lib/invoicing/line_item.rb
127
+ - lib/invoicing/line_item_type.rb
128
+ - lib/invoicing/overdue_invoice.rb
129
+ - lib/invoicing/payment_reference.rb
130
+ - lib/invoicing/seller.rb
131
+ - lib/invoicing/transaction.rb
132
+ - lib/invoicing/version.rb
133
+ - spec/README
134
+ - spec/internal/config/database.yml.sample
135
+ - spec/internal/config/routes.rb
136
+ - spec/internal/db/schema.rb
137
+ - spec/internal/log/.gitignore
138
+ - spec/internal/public/favicon.ico
139
+ - spec/lib/invoicing/credit_note_spec.rb
140
+ - spec/lib/invoicing/invoice_adjustment_spec.rb
141
+ - spec/lib/invoicing/invoice_late_payment_spec.rb
142
+ - spec/lib/invoicing/invoice_spec.rb
143
+ - spec/lib/invoicing/line_item_spec.rb
144
+ - spec/lib/invoicing/overdue_invoice_spec.rb
145
+ - spec/spec_helper.rb
146
+ - spec/support/helpers.rb
147
+ homepage: https://github.com/tehtorq/invoicing
148
+ licenses: []
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubyforge_project: uomi
167
+ rubygems_version: 1.8.24
168
+ signing_key:
169
+ specification_version: 3
170
+ summary: An invoicing gem.
171
+ test_files:
172
+ - spec/README
173
+ - spec/internal/config/database.yml.sample
174
+ - spec/internal/config/routes.rb
175
+ - spec/internal/db/schema.rb
176
+ - spec/internal/log/.gitignore
177
+ - spec/internal/public/favicon.ico
178
+ - spec/lib/invoicing/credit_note_spec.rb
179
+ - spec/lib/invoicing/invoice_adjustment_spec.rb
180
+ - spec/lib/invoicing/invoice_late_payment_spec.rb
181
+ - spec/lib/invoicing/invoice_spec.rb
182
+ - spec/lib/invoicing/line_item_spec.rb
183
+ - spec/lib/invoicing/overdue_invoice_spec.rb
184
+ - spec/spec_helper.rb
185
+ - spec/support/helpers.rb