ninny 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ninny/user_config.rb +5 -5
- data/lib/ninny/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445c02c3ef66d3a1cae6a955c10a0ec9926e108a3709f54a6dfa12879740ded5
|
4
|
+
data.tar.gz: 8da306e6a35e23efcd7a124c1672dd67ef6d5241bdccab3163453d4ae8728b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23efb1c11441e03cef136050bc9faad7659922d47d9211e253ade366ac7fc642842aca560cf7cf086838e9e57ce7c6eb75cedc01c70b0b901dbc0fc1084b7128
|
7
|
+
data.tar.gz: ade698566b283360095e2bad1a0f2f4dc1839f37ae2569b9fa5178d5f1299c3bf5bcf6e2ecd6d01cfa1adc0af63a43917d104c9a013ed5388bd424bc621fde98
|
data/Gemfile.lock
CHANGED
data/lib/ninny/user_config.rb
CHANGED
@@ -25,15 +25,15 @@ module Ninny
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def read
|
28
|
-
config.read unless @read
|
29
|
-
end
|
30
|
-
|
31
|
-
def with_read
|
32
28
|
begin
|
33
|
-
|
29
|
+
config.read unless @read
|
34
30
|
rescue TTY::Config::ReadError
|
35
31
|
raise MissingUserConfig.new("User config not found, run `ninny setup`")
|
36
32
|
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def with_read
|
36
|
+
read
|
37
37
|
@read = true
|
38
38
|
yield
|
39
39
|
end
|
data/lib/ninny/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ninny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-box
|