qbfc 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.gitignore +11 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +85 -0
  4. data/Rakefile +84 -0
  5. data/VERSION +1 -0
  6. data/lib/qbfc.rb +41 -0
  7. data/lib/qbfc/base.rb +82 -0
  8. data/lib/qbfc/element.rb +243 -0
  9. data/lib/qbfc/entities/generated.rb +8 -0
  10. data/lib/qbfc/entity.rb +11 -0
  11. data/lib/qbfc/info.rb +42 -0
  12. data/lib/qbfc/infos/generated.rb +9 -0
  13. data/lib/qbfc/item.rb +29 -0
  14. data/lib/qbfc/items/generated.rb +11 -0
  15. data/lib/qbfc/list.rb +84 -0
  16. data/lib/qbfc/lists/account.rb +24 -0
  17. data/lib/qbfc/lists/generated.rb +15 -0
  18. data/lib/qbfc/lists/qb_class.rb +25 -0
  19. data/lib/qbfc/modifiable.rb +31 -0
  20. data/lib/qbfc/ole_wrapper.rb +201 -0
  21. data/lib/qbfc/qb_collection.rb +26 -0
  22. data/lib/qbfc/qb_types.rb +18 -0
  23. data/lib/qbfc/qbfc_const.rb +14 -0
  24. data/lib/qbfc/report.rb +95 -0
  25. data/lib/qbfc/reports/aging.rb +13 -0
  26. data/lib/qbfc/reports/budget_summary.rb +13 -0
  27. data/lib/qbfc/reports/custom_detail.rb +9 -0
  28. data/lib/qbfc/reports/custom_summary.rb +9 -0
  29. data/lib/qbfc/reports/general_detail.rb +44 -0
  30. data/lib/qbfc/reports/general_summary.rb +33 -0
  31. data/lib/qbfc/reports/job.rb +14 -0
  32. data/lib/qbfc/reports/payroll_detail.rb +13 -0
  33. data/lib/qbfc/reports/payroll_summary.rb +13 -0
  34. data/lib/qbfc/reports/rows.rb +51 -0
  35. data/lib/qbfc/reports/time.rb +12 -0
  36. data/lib/qbfc/request.rb +295 -0
  37. data/lib/qbfc/session.rb +147 -0
  38. data/lib/qbfc/terms.rb +10 -0
  39. data/lib/qbfc/terms/generated.rb +10 -0
  40. data/lib/qbfc/transaction.rb +110 -0
  41. data/lib/qbfc/transactions/generated.rb +25 -0
  42. data/lib/qbfc/voidable.rb +11 -0
  43. data/qbfc.gemspec +166 -0
  44. data/spec/fixtures/test.lgb +0 -0
  45. data/spec/fixtures/test.qbw +0 -0
  46. data/spec/fixtures/test.qbw.TLG +0 -0
  47. data/spec/integration/add_spec.rb +31 -0
  48. data/spec/integration/base_spec.rb +18 -0
  49. data/spec/integration/belongs_to_spec.rb +64 -0
  50. data/spec/integration/company_spec.rb +30 -0
  51. data/spec/integration/conditions_spec.rb +59 -0
  52. data/spec/integration/customer_spec.rb +46 -0
  53. data/spec/integration/element_finders_spec.rb +20 -0
  54. data/spec/integration/quick_test.rb +31 -0
  55. data/spec/integration/request_options_spec.rb +68 -0
  56. data/spec/rcov.opts +1 -0
  57. data/spec/spec.opts +6 -0
  58. data/spec/spec_helper.rb +62 -0
  59. data/spec/unit/base_spec.rb +138 -0
  60. data/spec/unit/element_finder_spec.rb +185 -0
  61. data/spec/unit/element_spec.rb +108 -0
  62. data/spec/unit/entities/generated_spec.rb +18 -0
  63. data/spec/unit/entity_spec.rb +18 -0
  64. data/spec/unit/info/generated_spec.rb +12 -0
  65. data/spec/unit/info_spec.rb +48 -0
  66. data/spec/unit/item_spec.rb +33 -0
  67. data/spec/unit/items/generated_spec.rb +16 -0
  68. data/spec/unit/list_finders_spec.rb +129 -0
  69. data/spec/unit/list_spec.rb +86 -0
  70. data/spec/unit/lists/account_spec.rb +20 -0
  71. data/spec/unit/lists/generated_spec.rb +15 -0
  72. data/spec/unit/lists/qb_class_spec.rb +9 -0
  73. data/spec/unit/modifiable_spec.rb +84 -0
  74. data/spec/unit/ole_wrapper_spec.rb +337 -0
  75. data/spec/unit/qb_collection_spec.rb +13 -0
  76. data/spec/unit/qbfc_const_spec.rb +10 -0
  77. data/spec/unit/qbfc_spec.rb +10 -0
  78. data/spec/unit/report_spec.rb +12 -0
  79. data/spec/unit/request_query_survey.txt +48 -0
  80. data/spec/unit/request_spec.rb +486 -0
  81. data/spec/unit/session_spec.rb +144 -0
  82. data/spec/unit/terms/generated_spec.rb +14 -0
  83. data/spec/unit/terms_spec.rb +18 -0
  84. data/spec/unit/transaction_finders_spec.rb +125 -0
  85. data/spec/unit/transaction_spec.rb +94 -0
  86. data/spec/unit/transactions/generated_spec.rb +20 -0
  87. data/spec/unit/voidable_spec.rb +32 -0
  88. data/tasks/qbfc_tasks.rake +4 -0
  89. metadata +182 -0
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :qbfc do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: qbfc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Jared Morgan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-11 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: |-
17
+ QBFC-Ruby wraps the QBFC COM object of the QuickBooks
18
+ SDK, providing ease-of-use improvements, such as lower-case method names,
19
+ and find, save, delete, void, and create operations.
20
+ email: jmorgan@morgancreative.net
21
+ executables: []
22
+
23
+ extensions: []
24
+
25
+ extra_rdoc_files:
26
+ - README.rdoc
27
+ files:
28
+ - .gitignore
29
+ - MIT-LICENSE
30
+ - README.rdoc
31
+ - Rakefile
32
+ - VERSION
33
+ - lib/qbfc.rb
34
+ - lib/qbfc/base.rb
35
+ - lib/qbfc/element.rb
36
+ - lib/qbfc/entities/generated.rb
37
+ - lib/qbfc/entity.rb
38
+ - lib/qbfc/info.rb
39
+ - lib/qbfc/infos/generated.rb
40
+ - lib/qbfc/item.rb
41
+ - lib/qbfc/items/generated.rb
42
+ - lib/qbfc/list.rb
43
+ - lib/qbfc/lists/account.rb
44
+ - lib/qbfc/lists/generated.rb
45
+ - lib/qbfc/lists/qb_class.rb
46
+ - lib/qbfc/modifiable.rb
47
+ - lib/qbfc/ole_wrapper.rb
48
+ - lib/qbfc/qb_collection.rb
49
+ - lib/qbfc/qb_types.rb
50
+ - lib/qbfc/qbfc_const.rb
51
+ - lib/qbfc/report.rb
52
+ - lib/qbfc/reports/aging.rb
53
+ - lib/qbfc/reports/budget_summary.rb
54
+ - lib/qbfc/reports/custom_detail.rb
55
+ - lib/qbfc/reports/custom_summary.rb
56
+ - lib/qbfc/reports/general_detail.rb
57
+ - lib/qbfc/reports/general_summary.rb
58
+ - lib/qbfc/reports/job.rb
59
+ - lib/qbfc/reports/payroll_detail.rb
60
+ - lib/qbfc/reports/payroll_summary.rb
61
+ - lib/qbfc/reports/rows.rb
62
+ - lib/qbfc/reports/time.rb
63
+ - lib/qbfc/request.rb
64
+ - lib/qbfc/session.rb
65
+ - lib/qbfc/terms.rb
66
+ - lib/qbfc/terms/generated.rb
67
+ - lib/qbfc/transaction.rb
68
+ - lib/qbfc/transactions/generated.rb
69
+ - lib/qbfc/voidable.rb
70
+ - qbfc.gemspec
71
+ - spec/fixtures/test.lgb
72
+ - spec/fixtures/test.qbw
73
+ - spec/fixtures/test.qbw.TLG
74
+ - spec/integration/add_spec.rb
75
+ - spec/integration/base_spec.rb
76
+ - spec/integration/belongs_to_spec.rb
77
+ - spec/integration/company_spec.rb
78
+ - spec/integration/conditions_spec.rb
79
+ - spec/integration/customer_spec.rb
80
+ - spec/integration/element_finders_spec.rb
81
+ - spec/integration/quick_test.rb
82
+ - spec/integration/request_options_spec.rb
83
+ - spec/rcov.opts
84
+ - spec/spec.opts
85
+ - spec/spec_helper.rb
86
+ - spec/unit/base_spec.rb
87
+ - spec/unit/element_finder_spec.rb
88
+ - spec/unit/element_spec.rb
89
+ - spec/unit/entities/generated_spec.rb
90
+ - spec/unit/entity_spec.rb
91
+ - spec/unit/info/generated_spec.rb
92
+ - spec/unit/info_spec.rb
93
+ - spec/unit/item_spec.rb
94
+ - spec/unit/items/generated_spec.rb
95
+ - spec/unit/list_finders_spec.rb
96
+ - spec/unit/list_spec.rb
97
+ - spec/unit/lists/account_spec.rb
98
+ - spec/unit/lists/generated_spec.rb
99
+ - spec/unit/lists/qb_class_spec.rb
100
+ - spec/unit/modifiable_spec.rb
101
+ - spec/unit/ole_wrapper_spec.rb
102
+ - spec/unit/qb_collection_spec.rb
103
+ - spec/unit/qbfc_const_spec.rb
104
+ - spec/unit/qbfc_spec.rb
105
+ - spec/unit/report_spec.rb
106
+ - spec/unit/request_query_survey.txt
107
+ - spec/unit/request_spec.rb
108
+ - spec/unit/session_spec.rb
109
+ - spec/unit/terms/generated_spec.rb
110
+ - spec/unit/terms_spec.rb
111
+ - spec/unit/transaction_finders_spec.rb
112
+ - spec/unit/transaction_spec.rb
113
+ - spec/unit/transactions/generated_spec.rb
114
+ - spec/unit/voidable_spec.rb
115
+ - tasks/qbfc_tasks.rake
116
+ has_rdoc: true
117
+ homepage: http://rubyforge.org/projects/qbfc/
118
+ licenses: []
119
+
120
+ post_install_message:
121
+ rdoc_options:
122
+ - --charset=UTF-8
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: "0"
130
+ version:
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: "0"
136
+ version:
137
+ requirements: []
138
+
139
+ rubyforge_project: qbfc
140
+ rubygems_version: 1.3.5
141
+ signing_key:
142
+ specification_version: 3
143
+ summary: A wrapper around the QBFC COM object of the Quickbooks SDK
144
+ test_files:
145
+ - spec/integration/add_spec.rb
146
+ - spec/integration/base_spec.rb
147
+ - spec/integration/belongs_to_spec.rb
148
+ - spec/integration/company_spec.rb
149
+ - spec/integration/conditions_spec.rb
150
+ - spec/integration/customer_spec.rb
151
+ - spec/integration/element_finders_spec.rb
152
+ - spec/integration/quick_test.rb
153
+ - spec/integration/request_options_spec.rb
154
+ - spec/spec_helper.rb
155
+ - spec/unit/transactions/generated_spec.rb
156
+ - spec/unit/transaction_finders_spec.rb
157
+ - spec/unit/transaction_spec.rb
158
+ - spec/unit/voidable_spec.rb
159
+ - spec/unit/base_spec.rb
160
+ - spec/unit/element_finder_spec.rb
161
+ - spec/unit/element_spec.rb
162
+ - spec/unit/entities/generated_spec.rb
163
+ - spec/unit/entity_spec.rb
164
+ - spec/unit/info/generated_spec.rb
165
+ - spec/unit/info_spec.rb
166
+ - spec/unit/items/generated_spec.rb
167
+ - spec/unit/item_spec.rb
168
+ - spec/unit/lists/account_spec.rb
169
+ - spec/unit/lists/generated_spec.rb
170
+ - spec/unit/lists/qb_class_spec.rb
171
+ - spec/unit/list_finders_spec.rb
172
+ - spec/unit/list_spec.rb
173
+ - spec/unit/modifiable_spec.rb
174
+ - spec/unit/ole_wrapper_spec.rb
175
+ - spec/unit/qbfc_const_spec.rb
176
+ - spec/unit/qbfc_spec.rb
177
+ - spec/unit/qb_collection_spec.rb
178
+ - spec/unit/report_spec.rb
179
+ - spec/unit/request_spec.rb
180
+ - spec/unit/session_spec.rb
181
+ - spec/unit/terms/generated_spec.rb
182
+ - spec/unit/terms_spec.rb