cfa_grub2 0.6.0 → 0.6.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cfa/grub2/default.rb +5 -4
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af13a6ea41486f646e9debfb46c3a809e4a97391
4
- data.tar.gz: afb3f9b421872d38c9ec9604ac687d1490c4edcf
3
+ metadata.gz: 93cc348d9e1a1dd06316140467707b47da506f72
4
+ data.tar.gz: 73f5149f68c8d695c80eb1f6c1a716f217c06095
5
5
  SHA512:
6
- metadata.gz: e0c0df8ced8a6302c4bfef86296e839f3c81275d52470eda36faa9be5739dd37ca7fe99c46616d93cdf8f0b7b04cdf8cc0267984e99a4beefbf9236081fb911a
7
- data.tar.gz: 733243ede8cf8c5f866487d6999249c31d903ec7ab6e41de0232586c9d199ba48854f3d91f22962ad15ed973f961b7059f2062e00aa5a71d5e88204d262e06aa
6
+ metadata.gz: c31fba86ee7ee5bd067b7de229e4e9c08f289ec8ded40565832d851605c1bcbbe67dd56a913bf0967d9a0267e26aa4c66247107b6cbc6ae14ee9ec7affd680a9
7
+ data.tar.gz: dadb5317fe00cfa0bf8b3004c42b6262286f4af74ec947d0deaf02018b1d727d61ca874c6dbaff178451d48d662fd472928b943b926881e7fb87adf661a126a1
@@ -70,14 +70,15 @@ module CFA
70
70
 
71
71
  def xen_hypervisor_params
72
72
  @xen_hypervisor_params ||= KernelParams.new(
73
- data["GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT"],
74
- "GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT"
73
+ data["GRUB_CMDLINE_XEN_DEFAULT"],
74
+ "GRUB_CMDLINE_XEN_DEFAULT"
75
75
  )
76
76
  end
77
77
 
78
78
  def xen_kernel_params
79
79
  @xen_kernel_params ||= KernelParams.new(
80
- data["GRUB_CMDLINE_XEN_DEFAULT"], "GRUB_CMDLINE_XEN_DEFAULT"
80
+ data["GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT"],
81
+ "GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT"
81
82
  )
82
83
  end
83
84
 
@@ -227,7 +228,7 @@ module CFA
227
228
  end
228
229
 
229
230
  def data
230
- @data.select { |e| e[:operation] != :remove }.freeze
231
+ @data.reject { |e| e[:operation] == :remove }.freeze
231
232
  end
232
233
 
233
234
  def all_data
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfa_grub2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Reidinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-20 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cfa
@@ -56,9 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: 1.3.6
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 2.2.2
59
+ rubygems_version: 2.4.5.2
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Models for GRUB2 configuration files.
63
63
  test_files: []
64
- has_rdoc: