tweek 0.9.8 → 0.9.9

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/bin/tweek +3 -1
  4. data/lib/tweek/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11bb16efc38a6fe8434f28a10c2698d8fd4fa1d2
4
- data.tar.gz: 25a57e0842c920ee0b3bc30bdad8dbb4920bfe52
3
+ metadata.gz: c6f72d6d59a8e68f01ced40dd39696822515e0d3
4
+ data.tar.gz: 8b97932c5381d852aa09fcc0066d601b5df5c3bb
5
5
  SHA512:
6
- metadata.gz: 5286ea3679a4b68e783a16494cecbaa209909c54f6e0853fb23be2bcb49028ce868af43c6989e471f9be77c4ee35caffb971beb116f2e3b7d79252fd90cbd11d
7
- data.tar.gz: 7a2ebccd37840451bc6f29d7f82bf6e09b61ec442a80dba631992650c7d365a8f1ddc31d5b68e89a801ad4a57cdb2d8493f5aa0df99664d8f8f68516f5f50302
6
+ metadata.gz: 284e773675805ef2882269ebea781d58f057c905292cd9e400905e7c7af3334d6d8bc5703531b91e6398e113400a56c8aaefe80217fdd1363c2013cfb8d2f283
7
+ data.tar.gz: 6a9b3db52163945915d8923fd0e979db24a6a386568d8fc3a9ad9a07024a5120c2caeb1fee7b58c66f9100021b348d0fce442990b51342a6d506662dce3d2330
data/README.md CHANGED
@@ -66,7 +66,8 @@ Tweek will read the sample settings from the default file `settings/sample.set`
66
66
  installed as part of the Gem) and check them. The output is self-explanatory.
67
67
 
68
68
  All the other uses involve the settings file. Documentation is contained within the
69
- sample settings and you should read that for a full understanding of what is possible.
69
+ sample settings and you should read them for a full understanding of what is possible.
70
+ Use `tweek -s` to show them.
70
71
 
71
72
  ## Settings File Format
72
73
 
@@ -133,6 +134,11 @@ Where:
133
134
  NOTE: The determination of the current Distro, Distro Version and Kernel Version is done
134
135
  using the `lsb_release` and `uname` commands. Since these may not be installed on all
135
136
  systems, you can specify these as command line options. This is also useful in testing.
137
+ An example for Redhat 7 is:
138
+
139
+ ```
140
+ tweek --distro=RedHatEnterpriseServer --distro-ver=7.4 --kernel-ver=3.10.0
141
+ ```
136
142
 
137
143
  ## Development
138
144
 
data/bin/tweek CHANGED
@@ -42,7 +42,9 @@ OptionParser.new do |o|
42
42
  o.on( '-s', '--show', "Write the default parameters to STDOUT",
43
43
  "Use as a fully documented starting point"
44
44
  ) do
45
- DATA.each_line{|l| STDOUT.puts l} # no copy_stream in 1.8.7
45
+ File.open(File.expand_path('../../settings/sample.set',__FILE__)).each_line do |l|
46
+ STDOUT.puts l # no copy_stream in 1.8.7
47
+ end
46
48
  exit
47
49
  end
48
50
  o.on('-v', "--version", "Show version") do
data/lib/tweek/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tweek
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tweek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Townsend