flight_config 0.3.1 → 0.3.2

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: 990b0cc83608dd069796f2726dd9803da3329030046fe859249f4a129c53de46
4
- data.tar.gz: f9405447a5b91c05e5b0bde19503c7c35fd7a007d5091caa3e7bb2b56b100b89
3
+ metadata.gz: 8268ba462e6d4751f4d640d60d109ad267dc3635f996866d9800247bc5775169
4
+ data.tar.gz: eb677c14f91d0a79000e3e6fad48bef5fd35ec5807e6304c37aadb71de16812e
5
5
  SHA512:
6
- metadata.gz: 964cb1169ee543b40d91c43e5ac3048b45d9591375a1eb508e954ae786c5c0541f7f34c47c991514fa530121a886cda86b38fbce7129c98b80f4e0f99fd95f7e
7
- data.tar.gz: b15116b39488e34c1589bfbebf01057627a8dca43d1e51220033e147bbce649346af6e7028995edce547b0ba9a2cc09b3fa53925d68ad6e2ebfbeb0729a97623
6
+ metadata.gz: a7a934a100bc4295ecd1b4dbac69c53cfa3da7315d6cc0a482479e05b15b23e1dbf960fba0423a4d8fcda9a2e8297f50d744bf79f28fb14865082a0f147d686c
7
+ data.tar.gz: 357b3807982848394e98a5af36a14f6f9bc94ab38df0069433f1109bbada7ff368099606b000a6e7ab1169cead57ece5cd7c90bf01613126e2ea2d3cb7a20323
@@ -43,6 +43,7 @@ module FlightConfig
43
43
  Core.log(config, "#{action} (write)")
44
44
  Core.write(config)
45
45
  end
46
+ config.generate_indices if config.respond_to?(:generate_indices)
46
47
  Core.log(config, "#{action} (done)")
47
48
  end
48
49
 
@@ -74,7 +75,7 @@ module FlightConfig
74
75
  mode = File.exists?(_path(*a))
75
76
  new!(*a, read_mode: mode) do |config|
76
77
  Updater.create_or_update(config, action: 'create_or_update', &b)
77
- end.tap { |c| c.generate_indices if c.respond_to?(:generate_indices) }
78
+ end
78
79
  end
79
80
 
80
81
  def create(*a, &b)
@@ -25,5 +25,5 @@
25
25
  # https://github.com/openflighthpc/flight_config
26
26
  #==============================================================================
27
27
  module FlightConfig
28
- VERSION = "0.3.1"
28
+ VERSION = "0.3.2"
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alces Flight Ltd