flight_config 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: 8268ba462e6d4751f4d640d60d109ad267dc3635f996866d9800247bc5775169
4
- data.tar.gz: eb677c14f91d0a79000e3e6fad48bef5fd35ec5807e6304c37aadb71de16812e
3
+ metadata.gz: fdb6b722c3593c8c5ada1ea12535b34260c0de15d4e5e1e54d63224acccbb05e
4
+ data.tar.gz: bb945b9cadecd55af47265ce07c8c3a2244c86b837cdffac8b5702fa093a391d
5
5
  SHA512:
6
- metadata.gz: a7a934a100bc4295ecd1b4dbac69c53cfa3da7315d6cc0a482479e05b15b23e1dbf960fba0423a4d8fcda9a2e8297f50d744bf79f28fb14865082a0f147d686c
7
- data.tar.gz: 357b3807982848394e98a5af36a14f6f9bc94ab38df0069433f1109bbada7ff368099606b000a6e7ab1169cead57ece5cd7c90bf01613126e2ea2d3cb7a20323
6
+ metadata.gz: 326fcba68070a8b6171cc9401a6b5162008f8e8c5d4e12ff3c2b67a7e205731e2561eb57e056cd5a774a608ceb4193b76bf0f0b45711e407785d71e4984bbdb1
7
+ data.tar.gz: f604e20bd293b59c962745e952a23a091f4d43cec93071c314a2a57d658bab1073c8180d40d8cdbd4b680266cc678e47abc019415a21c5a688930bd8641a92fc
data/lib/flight_config.rb CHANGED
@@ -31,4 +31,6 @@ require 'flight_config/log'
31
31
  require 'flight_config/reader'
32
32
  require 'flight_config/updater'
33
33
  require 'flight_config/accessor'
34
+ require 'flight_config/indexable'
35
+ require 'flight_config/has_indices'
34
36
  require 'flight_config/links'
@@ -39,11 +39,12 @@ module FlightConfig
39
39
 
40
40
  module ClassMethods
41
41
  include FlightConfig::Reader::ClassMethods
42
+ include FlightConfig::Globber::ClassMethods
42
43
 
43
44
  def glob_read(*a)
44
45
  super.reject do |index|
45
46
  next if index.valid?
46
- FileUtils.rm_f path
47
+ FileUtils.rm_f index.path
47
48
  true
48
49
  end
49
50
  end
@@ -25,5 +25,5 @@
25
25
  # https://github.com/openflighthpc/flight_config
26
26
  #==============================================================================
27
27
  module FlightConfig
28
- VERSION = "0.3.2"
28
+ VERSION = "0.3.3"
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flight_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alces Flight Ltd