toolhound-ruby 1.0.20 → 1.0.21

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18469e7bdcf985b512fc1be48c80f389fc8e183e
4
- data.tar.gz: 401b6152b06e96f3cd2573729d8927b7f724387a
3
+ metadata.gz: e76e663130ee7811082da1112a94dae4c98a6714
4
+ data.tar.gz: 8c3bbd5edadc51130fe2b84ec085a88301f3896a
5
5
  SHA512:
6
- metadata.gz: 225473e8e08ce1c890871e6e78620a9e5a2dbd620f1a7fbe1801b7476b8e120c1c30e4c84cf36b627908e89eafd989996538dacdb42f0cc6a983806d36ea85b0
7
- data.tar.gz: 7641e669e0e6aeba2ecd64da00996519485e79bf676fb238bc954246f81a6b6698d6648456c57435003a86d416e2167deee41e2158eccfafd5ea86487990fe74
6
+ metadata.gz: 72bd1f983b5abb00f7fee1fffb56926ae41d4ceb6ce19f0984372e4e301eeb41cf394f0db88c9d5590f197978fac2f537d01795431ed27a2f37a22801a6915c9
7
+ data.tar.gz: 9253c072551fe87bc20ff7f25d98e58725222954f499f012106698efe2c3dd57ee9f21efe1eef3b7198b6f5a11fb7920dbe0324816da2fb7e2a14651bb82a2bd
@@ -27,7 +27,7 @@ require "toolhound-ruby/rental_item"
27
27
  require "toolhound-ruby/rental_charge"
28
28
  require "toolhound-ruby/transaction"
29
29
 
30
- require "toolhound-ruby/inventory_receipt"
30
+ require "toolhound-ruby/purchase_receipt"
31
31
 
32
32
  require "toolhound-ruby/vendor"
33
33
  require "toolhound-ruby/manufacturer"
@@ -117,8 +117,8 @@ module Toolhound
117
117
  @inventory_item ||= Toolhound::InventoryItem.new(self)
118
118
  end
119
119
 
120
- def inventory_receipt
121
- @inventory_receipt ||= Toolhound::InventoryReceipt.new(self)
120
+ def purchase_receipt
121
+ @purchase_receipt ||= Toolhound::PurchaseReceipt.new(self)
122
122
  end
123
123
 
124
124
  def project
@@ -3,7 +3,7 @@ module Toolhound
3
3
 
4
4
  # Class to parse GitHub repository owner and name from
5
5
  # URLs and to generate URLs
6
- class InventoryReceipt < Base
6
+ class PurchaseReceipt < Base
7
7
 
8
8
  self.table_name = :inventory_receipt_detail
9
9
  self.primary_key = :int_inventory_receipt_id
@@ -1,3 +1,3 @@
1
1
  module Toolhound
2
- VERSION = "1.0.20"
2
+ VERSION = "1.0.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolhound-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Klooth
@@ -73,12 +73,12 @@ files:
73
73
  - lib/toolhound-ruby/incident.rb
74
74
  - lib/toolhound-ruby/inventory.rb
75
75
  - lib/toolhound-ruby/inventory_item.rb
76
- - lib/toolhound-ruby/inventory_receipt.rb
77
76
  - lib/toolhound-ruby/job.rb
78
77
  - lib/toolhound-ruby/manufacturer.rb
79
78
  - lib/toolhound-ruby/project.rb
80
79
  - lib/toolhound-ruby/purchase_order.rb
81
80
  - lib/toolhound-ruby/purchase_order_item.rb
81
+ - lib/toolhound-ruby/purchase_receipt.rb
82
82
  - lib/toolhound-ruby/rental.rb
83
83
  - lib/toolhound-ruby/rental_charge.rb
84
84
  - lib/toolhound-ruby/rental_item.rb