inventory_refresh 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f587f79d9daabcefff5a1b479301971cdd31f940d517cfc058480a0c17bc3abc
4
- data.tar.gz: ac2962c044aba21b8bb5963ae06c788fdeb3863d29a34b33933360ffef432438
3
+ metadata.gz: e7a23c438a97181e679731cb18607916042f0a7f86b0d1d6992c18cf0bba4b0c
4
+ data.tar.gz: baf5ace688468d39bac2fcb853509d18627349b8bd9d6699f79a2ac0b010b175
5
5
  SHA512:
6
- metadata.gz: 9487530c2f5a42191a61c632fb85d30cbf6113ba6b5208bc2a0f3f2bee6c7634e8018d5896e9ba4bbe5db4bf12c1c5b41084f1eb1e36c66a89d6a5e7b4ef082e
7
- data.tar.gz: 66381139ddee4c8f29bc0b0b1e08864f71b4805c6fc354c4dfb372641c5bb56ebb43cc4670b2958d6431a7a0195ef4a60c468a39ace586178b7cc760259f2369
6
+ metadata.gz: 1bd6e088f308ea571c6d98b4c6d67504f9479a24b6c1a019d4d219e20d0ed864eff30851e3470e4cb729b95b527b7a687e59d21651f13a7fe026ae95df372514
7
+ data.tar.gz: 85b3003558c8916af43ab407c93619b2685328a9cefc5e03eabddf9ffbba68b222b40a33715243872258e2c8c175cf1675fe5143beb9d61d6b12f6874f4eb1b1
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "activerecord", "~> 5.0"
25
+ spec.add_dependency "activerecord", ">=5.0", "< 6.1"
26
26
  spec.add_dependency "more_core_extensions", ">=3.5", "< 5"
27
27
  spec.add_dependency "pg", "> 0"
28
28
 
@@ -289,7 +289,7 @@ module InventoryRefresh
289
289
  # hash = inventory_object.attributes # Loads possible dependencies into saveable hash
290
290
  # obj = SomeModel.find_by(:attr => hash[:attr]) # Note: doing find_by for many models produces N+1
291
291
  # # queries, avoid this, this is just a simple example :-)
292
- # obj.update_attributes(hash) if obj
292
+ # obj.update(hash) if obj
293
293
  # obj ||= SomeModel.create(hash)
294
294
  # inventory_object.id = obj.id # If this InventoryObject is referenced elsewhere, we need to store its
295
295
  # primary key back to the InventoryObject
@@ -1,3 +1,3 @@
1
1
  module InventoryRefresh
2
- VERSION = "0.2.2".freeze
2
+ VERSION = "0.2.3".freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventory_refresh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-14 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '5.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: more_core_extensions
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -171,7 +177,7 @@ dependencies:
171
177
  - !ruby/object:Gem::Version
172
178
  version: '0'
173
179
  description: Topological Inventory Persister
174
- email:
180
+ email:
175
181
  executables: []
176
182
  extensions: []
177
183
  extra_rdoc_files: []
@@ -243,7 +249,7 @@ homepage: https://github.com/ManageIQ/inventory_refresh
243
249
  licenses:
244
250
  - Apache-2.0
245
251
  metadata: {}
246
- post_install_message:
252
+ post_install_message:
247
253
  rdoc_options: []
248
254
  require_paths:
249
255
  - lib
@@ -258,8 +264,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
264
  - !ruby/object:Gem::Version
259
265
  version: '0'
260
266
  requirements: []
261
- rubygems_version: 3.1.3
262
- signing_key:
267
+ rubygems_version: 3.2.0.rc.2
268
+ signing_key:
263
269
  specification_version: 4
264
270
  summary: Topological Inventory Persister
265
271
  test_files: []