gli 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/gli/commands/initconfig.rb +1 -0
- data/lib/gli/version.rb +1 -1
- data/test/tc_gli.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fac00c937ac549343211b11935089bcb1277768
|
4
|
+
data.tar.gz: 0242a96c13a3e5e35ccfd51a65dd6764eb7c375a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4d6b60d31a79295c9a8102c78b8148b71db8b0e2e1f57c1ab1ea36c1c89afd7f0d9f158480699d6e3bc17f90e6b4ce2edf2dfed702711a611ad56191d8cb44
|
7
|
+
data.tar.gz: 579f2c2504172996d80276540dd0b402ea4f634a2335b246aeb184cf3f3b36b53d0673ff26d34a2200ce20b39c4f6246081fb247aa9862601028e5a576927ac9
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0
|
data/lib/gli/version.rb
CHANGED
data/test/tc_gli.rb
CHANGED
@@ -153,6 +153,7 @@ class TC_testGLI < Clean::Test::TestCase
|
|
153
153
|
@app.config_file(config_file)
|
154
154
|
assert_equal 1,@app.run(['initconfig'])
|
155
155
|
assert @fake_stderr.strings.grep(/--force/),@fake_stderr.strings.inspect
|
156
|
+
assert !@fake_stdout.contained?(/written/), @fake_stdout.strings.inspect
|
156
157
|
config_file_contents_after = File.read(config_file)
|
157
158
|
assert_equal(config_file_contents,config_file_contents_after)
|
158
159
|
end
|
@@ -185,6 +186,7 @@ class TC_testGLI < Clean::Test::TestCase
|
|
185
186
|
raise ex
|
186
187
|
end
|
187
188
|
@app.run(['-f','foo','-s','--bigflag=bleorgh','initconfig'])
|
189
|
+
assert @fake_stdout.contained?(/written/), @fake_stdout.strings.inspect
|
188
190
|
|
189
191
|
written_config = File.open(@config_file) { |f| YAML::load(f) }
|
190
192
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Copeland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|