fishbowl 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/Gemfile +1 -8
  4. data/fishbowl.gemspec +4 -4
  5. data/lib/fishbowl.rb +9 -90
  6. data/lib/fishbowl/configuration.rb +9 -0
  7. data/lib/fishbowl/connection.rb +99 -0
  8. data/lib/fishbowl/errors.rb +9 -2
  9. data/lib/fishbowl/objects/account.rb +0 -26
  10. data/lib/fishbowl/objects/base_object.rb +25 -8
  11. data/lib/fishbowl/requests.rb +3 -4
  12. data/lib/fishbowl/requests/get_account_balance.rb +15 -0
  13. data/lib/fishbowl/requests/get_account_list.rb +13 -0
  14. data/lib/fishbowl/requests/get_carrier_list.rb +3 -2
  15. data/lib/fishbowl/requests/get_customer_list.rb +12 -0
  16. data/lib/fishbowl/requests/get_customer_name_list.rb +12 -0
  17. data/lib/fishbowl/requests/get_export_list.rb +12 -0
  18. data/lib/fishbowl/requests/get_import_list.rb +12 -0
  19. data/lib/fishbowl/requests/get_location_group_list.rb +12 -0
  20. data/lib/fishbowl/requests/get_location_list.rb +12 -0
  21. data/lib/fishbowl/requests/get_uom_list.rb +12 -0
  22. data/lib/fishbowl/requests/get_vendor_list.rb +12 -0
  23. data/lib/fishbowl/requests/get_vendor_name_list.rb +12 -0
  24. data/lib/fishbowl/requests/get_work_order_list.rb +12 -0
  25. data/lib/fishbowl/requests/void_sales_order.rb +18 -0
  26. data/lib/fishbowl/version.rb +1 -1
  27. data/lib/status_codes.yml +183 -0
  28. data/spec/objects/account_spec.rb +0 -41
  29. data/spec/requests/calculate_sales_order_spec.rb +48 -0
  30. data/spec/requests/close_short_sales_order_spec.rb +45 -0
  31. data/spec/requests/cycle_count_spec.rb +49 -0
  32. data/spec/requests/delete_sales_order_spec.rb +45 -0
  33. data/spec/requests/export_spec.rb +45 -0
  34. data/spec/requests/get_account_balance_spec.rb +52 -0
  35. data/spec/requests/get_account_list_spec.rb +51 -0
  36. data/spec/requests/get_customer_list_spec.rb +51 -0
  37. data/spec/requests/get_customer_name_list_spec.rb +45 -0
  38. data/spec/requests/get_customer_spec.rb +45 -0
  39. data/spec/requests/get_export_list_spec.rb +45 -0
  40. data/spec/requests/get_import_list_spec.rb +45 -0
  41. data/spec/requests/get_inventory_quantity_spec.rb +65 -0
  42. data/spec/requests/get_light_part_list_spec.rb +51 -0
  43. data/spec/requests/get_location_group_list_spec.rb +45 -0
  44. data/spec/requests/get_location_list_spec.rb +45 -0
  45. data/spec/requests/get_next_number_spec.rb +45 -0
  46. data/spec/requests/get_part_cost_spec.rb +45 -0
  47. data/spec/requests/get_part_information_spec.rb +45 -0
  48. data/spec/requests/get_part_list_spec.rb +65 -0
  49. data/spec/requests/get_pick_spec.rb +45 -0
  50. data/spec/requests/get_product_information_spec.rb +46 -0
  51. data/spec/requests/get_purchase_order_list_spec.rb +45 -0
  52. data/spec/requests/get_receipt_spec.rb +49 -0
  53. data/spec/requests/get_receiving_list_spec.rb +49 -0
  54. data/spec/requests/get_sales_order_list_spec.rb +49 -0
  55. data/spec/requests/get_ship_list_spec.rb +49 -0
  56. data/spec/requests/get_ship_now_list_spec.rb +48 -0
  57. data/spec/requests/get_shipment_spec.rb +45 -0
  58. data/spec/requests/get_system_property_spec.rb +45 -0
  59. data/spec/requests/get_total_inventory_spec.rb +46 -0
  60. data/spec/requests/get_transfer_order_list_spec.rb +45 -0
  61. data/spec/requests/get_uom_list_spec.rb +45 -0
  62. data/spec/requests/get_user_property_spec.rb +45 -0
  63. data/spec/requests/get_vendor_list_spec.rb +45 -0
  64. data/spec/requests/get_vendor_name_list_spec.rb +45 -0
  65. data/spec/requests/get_vendor_spec.rb +48 -0
  66. data/spec/requests/get_work_order_list_spec.rb +45 -0
  67. data/spec/requests/get_work_order_spec.rb +45 -0
  68. data/spec/requests/import_spec.rb +49 -0
  69. data/spec/requests/issues_sales_order_spec.rb +45 -0
  70. data/spec/requests/load_sales_order_spec.rb +45 -0
  71. data/spec/requests/load_transfer_order_spec.rb +45 -0
  72. data/spec/requests/location_query_spec.rb +49 -0
  73. data/spec/requests/make_payment_spec.rb +50 -0
  74. data/spec/requests/move_spec.rb +49 -0
  75. data/spec/requests/part_query_spec.rb +46 -0
  76. data/spec/requests/pick_query_spec.rb +49 -0
  77. data/spec/requests/print_report_spec.rb +48 -0
  78. data/spec/requests/product_query_spec.rb +46 -0
  79. data/spec/requests/quick_ship_spec.rb +45 -0
  80. data/spec/requests/quickbooks_export_spec.rb +43 -0
  81. data/spec/requests/save_customer_spec.rb +48 -0
  82. data/spec/requests/save_discount_spec.rb +48 -0
  83. data/spec/requests/save_pick_spec.rb +48 -0
  84. data/spec/requests/save_purchase_order_spec.rb +48 -0
  85. data/spec/requests/save_receipt_spec.rb +48 -0
  86. data/spec/requests/save_report_spec.rb +49 -0
  87. data/spec/requests/save_sales_order_spec.rb +48 -0
  88. data/spec/requests/save_shipment_spec.rb +48 -0
  89. data/spec/requests/save_tax_rate_spec.rb +48 -0
  90. data/spec/requests/save_transfer_order_spec.rb +48 -0
  91. data/spec/requests/save_upc_spec.rb +48 -0
  92. data/spec/requests/save_vendor_spec.rb +48 -0
  93. data/spec/requests/save_work_order_spec.rb +48 -0
  94. data/spec/requests/set_default_part_location_spec.rb +48 -0
  95. data/spec/requests/set_system_property_spec.rb +48 -0
  96. data/spec/requests/set_user_property_spec.rb +48 -0
  97. data/spec/requests/ship_spec.rb +48 -0
  98. data/spec/requests/void_sales_order_spec.rb +43 -0
  99. metadata +167 -21
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#save_transfer_order" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:mock_transfer_order) {
14
+ #TODO mock a TransferOrder
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.save_transfer_order(mock_transfer_order)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.TransferOrderSaveRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.TransferOrderSaveRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#save_upc" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:valid_options) {
14
+ #TODO figure out valid options
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.save_upc(valid_options)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.SaveUPCRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.SaveUPCRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#save_transfer_order" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:mock_vendor) {
14
+ #TODO mock a Vendor
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.save_vendor(mock_vendor)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.VendorSaveRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.VendorSaveRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#save_work_order" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:mock_work_order) {
14
+ #TODO mock a WorkOrder
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.save_work_order(mock_work_order)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.SaveWorkOrderRq {
29
+ #TODO mock a WorkOrder object
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.SaveWorkOrderRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#set_default_part_location" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:valid_options) {
14
+ #TODO figure out valid options
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.set_default_part_location(valid_options)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.SetDefPartLocRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.SetDefPartLocRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#set_system_property" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:valid_options) {
14
+ #TODO figure out valid options
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.set_system_property(valid_options)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.SetSystemPropertyRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.SetSystemPropertyRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#set_user_property" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:valid_options) {
14
+ #TODO figure out valid options
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.set_user_property(valid_options)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.SetUserPropertyRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.SetUserPropertyRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#ship" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+ let(:valid_options) {
14
+ #TODO figure out valid options
15
+ }
16
+
17
+ it "sends proper request" do
18
+ mock_the_response(expected_response)
19
+ Fishbowl::Requests.ship(valid_options)
20
+ connection.last_write.should be_equivalent_to(expected_request)
21
+ end
22
+
23
+ def expected_request
24
+ request = Nokogiri::XML::Builder.new do |xml|
25
+ xml.FbiXml {
26
+ xml.Ticket
27
+ xml.FbiMsgsRq {
28
+ xml.ShipRq {
29
+ #TODO figure out what goes here!
30
+ }
31
+ }
32
+ }
33
+ end
34
+
35
+ request.to_xml
36
+ end
37
+
38
+ def expected_response
39
+ Nokogiri::XML::Builder.new do |xml|
40
+ xml.response {
41
+ xml.ShipRs(statusCode: '1000', statusMessage: "Success!") {
42
+ #TODO figure out what goes here!
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,43 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fishbowl::Requests do
4
+ describe "#void_sales_order" do
5
+ before :each do
6
+ mock_tcp_connection
7
+ mock_login_response
8
+ Fishbowl::Connection.connect(host: 'localhost')
9
+ Fishbowl::Connection.login(username: 'johndoe', password: 'secret')
10
+ end
11
+
12
+ let(:connection) { FakeTCPSocket.instance }
13
+
14
+ it "sends proper request" do
15
+ mock_the_response(expected_response)
16
+ Fishbowl::Requests.void_sales_order(50069)
17
+ connection.last_write.should be_equivalent_to(expected_request)
18
+ end
19
+
20
+ def expected_request
21
+ request = Nokogiri::XML::Builder.new do |xml|
22
+ xml.FbiXml {
23
+ xml.Ticket
24
+ xml.FbiMsgsRq {
25
+ xml.VoidSORq {
26
+ xml.SONumber "50069"
27
+ }
28
+ }
29
+ }
30
+ end
31
+
32
+ request.to_xml
33
+ end
34
+
35
+ def expected_response
36
+ Nokogiri::XML::Builder.new do |xml|
37
+ xml.response {
38
+ xml.VoidSORs(statusCode: '1000', statusMessage: "Success!")
39
+ }
40
+ end
41
+ end
42
+ end
43
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fishbowl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
- - James Thompson
7
+ - James Thompson, Simeon Berns
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-13 00:00:00.000000000 Z
11
+ date: 2016-02-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,14 +20,13 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.5.5
30
- description: Provides an interface to the Fishbowl Inventory API.
27
+ description: Provides an interface to the Fishbowl Inventory API
31
28
  email:
32
- - james@plainprograms.com
29
+ - james@plainprograms.com, simeonberns@gmail.com
33
30
  executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
@@ -45,6 +42,8 @@ files:
45
42
  - Rakefile
46
43
  - fishbowl.gemspec
47
44
  - lib/fishbowl.rb
45
+ - lib/fishbowl/configuration.rb
46
+ - lib/fishbowl/connection.rb
48
47
  - lib/fishbowl/errors.rb
49
48
  - lib/fishbowl/ext.rb
50
49
  - lib/fishbowl/objects.rb
@@ -59,8 +58,22 @@ files:
59
58
  - lib/fishbowl/requests/add_inventory.rb
60
59
  - lib/fishbowl/requests/add_sales_order_item.rb
61
60
  - lib/fishbowl/requests/adjust_inventory.rb
61
+ - lib/fishbowl/requests/get_account_balance.rb
62
+ - lib/fishbowl/requests/get_account_list.rb
62
63
  - lib/fishbowl/requests/get_carrier_list.rb
64
+ - lib/fishbowl/requests/get_customer_list.rb
65
+ - lib/fishbowl/requests/get_customer_name_list.rb
66
+ - lib/fishbowl/requests/get_export_list.rb
67
+ - lib/fishbowl/requests/get_import_list.rb
68
+ - lib/fishbowl/requests/get_location_group_list.rb
69
+ - lib/fishbowl/requests/get_location_list.rb
70
+ - lib/fishbowl/requests/get_uom_list.rb
71
+ - lib/fishbowl/requests/get_vendor_list.rb
72
+ - lib/fishbowl/requests/get_vendor_name_list.rb
73
+ - lib/fishbowl/requests/get_work_order_list.rb
74
+ - lib/fishbowl/requests/void_sales_order.rb
63
75
  - lib/fishbowl/version.rb
76
+ - lib/status_codes.yml
64
77
  - spec/connection_spec.rb
65
78
  - spec/errors_spec.rb
66
79
  - spec/examples/account.xml
@@ -115,40 +128,103 @@ files:
115
128
  - spec/requests/add_inventory_spec.rb
116
129
  - spec/requests/add_sales_order_item_spec.rb
117
130
  - spec/requests/adjust_inventory_spec.rb
131
+ - spec/requests/calculate_sales_order_spec.rb
132
+ - spec/requests/close_short_sales_order_spec.rb
133
+ - spec/requests/cycle_count_spec.rb
134
+ - spec/requests/delete_sales_order_spec.rb
135
+ - spec/requests/export_spec.rb
136
+ - spec/requests/get_account_balance_spec.rb
137
+ - spec/requests/get_account_list_spec.rb
118
138
  - spec/requests/get_carrier_list_spec.rb
139
+ - spec/requests/get_customer_list_spec.rb
140
+ - spec/requests/get_customer_name_list_spec.rb
141
+ - spec/requests/get_customer_spec.rb
142
+ - spec/requests/get_export_list_spec.rb
143
+ - spec/requests/get_import_list_spec.rb
144
+ - spec/requests/get_inventory_quantity_spec.rb
145
+ - spec/requests/get_light_part_list_spec.rb
146
+ - spec/requests/get_location_group_list_spec.rb
147
+ - spec/requests/get_location_list_spec.rb
148
+ - spec/requests/get_next_number_spec.rb
149
+ - spec/requests/get_part_cost_spec.rb
150
+ - spec/requests/get_part_information_spec.rb
151
+ - spec/requests/get_part_list_spec.rb
152
+ - spec/requests/get_pick_spec.rb
153
+ - spec/requests/get_product_information_spec.rb
154
+ - spec/requests/get_purchase_order_list_spec.rb
155
+ - spec/requests/get_receipt_spec.rb
156
+ - spec/requests/get_receiving_list_spec.rb
157
+ - spec/requests/get_sales_order_list_spec.rb
158
+ - spec/requests/get_ship_list_spec.rb
159
+ - spec/requests/get_ship_now_list_spec.rb
160
+ - spec/requests/get_shipment_spec.rb
161
+ - spec/requests/get_system_property_spec.rb
162
+ - spec/requests/get_total_inventory_spec.rb
163
+ - spec/requests/get_transfer_order_list_spec.rb
164
+ - spec/requests/get_uom_list_spec.rb
165
+ - spec/requests/get_user_property_spec.rb
166
+ - spec/requests/get_vendor_list_spec.rb
167
+ - spec/requests/get_vendor_name_list_spec.rb
168
+ - spec/requests/get_vendor_spec.rb
169
+ - spec/requests/get_work_order_list_spec.rb
170
+ - spec/requests/get_work_order_spec.rb
171
+ - spec/requests/import_spec.rb
172
+ - spec/requests/issues_sales_order_spec.rb
173
+ - spec/requests/load_sales_order_spec.rb
174
+ - spec/requests/load_transfer_order_spec.rb
175
+ - spec/requests/location_query_spec.rb
176
+ - spec/requests/make_payment_spec.rb
177
+ - spec/requests/move_spec.rb
178
+ - spec/requests/part_query_spec.rb
179
+ - spec/requests/pick_query_spec.rb
180
+ - spec/requests/print_report_spec.rb
181
+ - spec/requests/product_query_spec.rb
182
+ - spec/requests/quick_ship_spec.rb
183
+ - spec/requests/quickbooks_export_spec.rb
184
+ - spec/requests/save_customer_spec.rb
185
+ - spec/requests/save_discount_spec.rb
186
+ - spec/requests/save_pick_spec.rb
187
+ - spec/requests/save_purchase_order_spec.rb
188
+ - spec/requests/save_receipt_spec.rb
189
+ - spec/requests/save_report_spec.rb
190
+ - spec/requests/save_sales_order_spec.rb
191
+ - spec/requests/save_shipment_spec.rb
192
+ - spec/requests/save_tax_rate_spec.rb
193
+ - spec/requests/save_transfer_order_spec.rb
194
+ - spec/requests/save_upc_spec.rb
195
+ - spec/requests/save_vendor_spec.rb
196
+ - spec/requests/save_work_order_spec.rb
197
+ - spec/requests/set_default_part_location_spec.rb
198
+ - spec/requests/set_system_property_spec.rb
199
+ - spec/requests/set_user_property_spec.rb
200
+ - spec/requests/ship_spec.rb
201
+ - spec/requests/void_sales_order_spec.rb
119
202
  - spec/spec_helper.rb
120
203
  - spec/support/examples_loader.rb
121
204
  - spec/support/fake_socket.rb
122
205
  - spec/support/response_mocks.rb
123
- homepage: https://github.com/readyproject/fishbowl
206
+ homepage: https://github.com/flameofzion/fishbowl
124
207
  licenses: []
208
+ metadata: {}
125
209
  post_install_message:
126
210
  rdoc_options: []
127
211
  require_paths:
128
212
  - lib
129
213
  required_ruby_version: !ruby/object:Gem::Requirement
130
- none: false
131
214
  requirements:
132
- - - ! '>='
215
+ - - '>='
133
216
  - !ruby/object:Gem::Version
134
217
  version: '0'
135
- segments:
136
- - 0
137
- hash: -4607466373779507217
138
218
  required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
219
  requirements:
141
- - - ! '>='
220
+ - - '>='
142
221
  - !ruby/object:Gem::Version
143
222
  version: '0'
144
- segments:
145
- - 0
146
- hash: -4607466373779507217
147
223
  requirements: []
148
224
  rubyforge_project:
149
- rubygems_version: 1.8.24
225
+ rubygems_version: 2.4.6
150
226
  signing_key:
151
- specification_version: 3
227
+ specification_version: 4
152
228
  summary: Fishbowl Inventory API
153
229
  test_files:
154
230
  - spec/connection_spec.rb
@@ -205,7 +281,77 @@ test_files:
205
281
  - spec/requests/add_inventory_spec.rb
206
282
  - spec/requests/add_sales_order_item_spec.rb
207
283
  - spec/requests/adjust_inventory_spec.rb
284
+ - spec/requests/calculate_sales_order_spec.rb
285
+ - spec/requests/close_short_sales_order_spec.rb
286
+ - spec/requests/cycle_count_spec.rb
287
+ - spec/requests/delete_sales_order_spec.rb
288
+ - spec/requests/export_spec.rb
289
+ - spec/requests/get_account_balance_spec.rb
290
+ - spec/requests/get_account_list_spec.rb
208
291
  - spec/requests/get_carrier_list_spec.rb
292
+ - spec/requests/get_customer_list_spec.rb
293
+ - spec/requests/get_customer_name_list_spec.rb
294
+ - spec/requests/get_customer_spec.rb
295
+ - spec/requests/get_export_list_spec.rb
296
+ - spec/requests/get_import_list_spec.rb
297
+ - spec/requests/get_inventory_quantity_spec.rb
298
+ - spec/requests/get_light_part_list_spec.rb
299
+ - spec/requests/get_location_group_list_spec.rb
300
+ - spec/requests/get_location_list_spec.rb
301
+ - spec/requests/get_next_number_spec.rb
302
+ - spec/requests/get_part_cost_spec.rb
303
+ - spec/requests/get_part_information_spec.rb
304
+ - spec/requests/get_part_list_spec.rb
305
+ - spec/requests/get_pick_spec.rb
306
+ - spec/requests/get_product_information_spec.rb
307
+ - spec/requests/get_purchase_order_list_spec.rb
308
+ - spec/requests/get_receipt_spec.rb
309
+ - spec/requests/get_receiving_list_spec.rb
310
+ - spec/requests/get_sales_order_list_spec.rb
311
+ - spec/requests/get_ship_list_spec.rb
312
+ - spec/requests/get_ship_now_list_spec.rb
313
+ - spec/requests/get_shipment_spec.rb
314
+ - spec/requests/get_system_property_spec.rb
315
+ - spec/requests/get_total_inventory_spec.rb
316
+ - spec/requests/get_transfer_order_list_spec.rb
317
+ - spec/requests/get_uom_list_spec.rb
318
+ - spec/requests/get_user_property_spec.rb
319
+ - spec/requests/get_vendor_list_spec.rb
320
+ - spec/requests/get_vendor_name_list_spec.rb
321
+ - spec/requests/get_vendor_spec.rb
322
+ - spec/requests/get_work_order_list_spec.rb
323
+ - spec/requests/get_work_order_spec.rb
324
+ - spec/requests/import_spec.rb
325
+ - spec/requests/issues_sales_order_spec.rb
326
+ - spec/requests/load_sales_order_spec.rb
327
+ - spec/requests/load_transfer_order_spec.rb
328
+ - spec/requests/location_query_spec.rb
329
+ - spec/requests/make_payment_spec.rb
330
+ - spec/requests/move_spec.rb
331
+ - spec/requests/part_query_spec.rb
332
+ - spec/requests/pick_query_spec.rb
333
+ - spec/requests/print_report_spec.rb
334
+ - spec/requests/product_query_spec.rb
335
+ - spec/requests/quick_ship_spec.rb
336
+ - spec/requests/quickbooks_export_spec.rb
337
+ - spec/requests/save_customer_spec.rb
338
+ - spec/requests/save_discount_spec.rb
339
+ - spec/requests/save_pick_spec.rb
340
+ - spec/requests/save_purchase_order_spec.rb
341
+ - spec/requests/save_receipt_spec.rb
342
+ - spec/requests/save_report_spec.rb
343
+ - spec/requests/save_sales_order_spec.rb
344
+ - spec/requests/save_shipment_spec.rb
345
+ - spec/requests/save_tax_rate_spec.rb
346
+ - spec/requests/save_transfer_order_spec.rb
347
+ - spec/requests/save_upc_spec.rb
348
+ - spec/requests/save_vendor_spec.rb
349
+ - spec/requests/save_work_order_spec.rb
350
+ - spec/requests/set_default_part_location_spec.rb
351
+ - spec/requests/set_system_property_spec.rb
352
+ - spec/requests/set_user_property_spec.rb
353
+ - spec/requests/ship_spec.rb
354
+ - spec/requests/void_sales_order_spec.rb
209
355
  - spec/spec_helper.rb
210
356
  - spec/support/examples_loader.rb
211
357
  - spec/support/fake_socket.rb