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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98df22f85f20dc7fc0e1ec43b249d444f2edcbba41224cff9db0372639f69f54
4
- data.tar.gz: 7ec2ae2eed695245fe34db0ab14252701064aa0e63e06b97067cde32ee81926e
3
+ metadata.gz: 445c02c3ef66d3a1cae6a955c10a0ec9926e108a3709f54a6dfa12879740ded5
4
+ data.tar.gz: 8da306e6a35e23efcd7a124c1672dd67ef6d5241bdccab3163453d4ae8728b3b
5
5
  SHA512:
6
- metadata.gz: 149cf910ec915e4b982b07942113c2395b1b98aa7cfa0595ae35e1de42969fd8f10095882b48b149df1dab6d7358e530768c5a6f5238128612b1bcf4719af762
7
- data.tar.gz: af7f0eb676b7c65463eaa2cd8702786bd7bb85e9be0c324ecd3fe0c0952ae58d743b846a74756b4b05c7f95ccbb6714c36eb5e2eb4276f34deecf027740c0549
6
+ metadata.gz: 23efb1c11441e03cef136050bc9faad7659922d47d9211e253ade366ac7fc642842aca560cf7cf086838e9e57ce7c6eb75cedc01c70b0b901dbc0fc1084b7128
7
+ data.tar.gz: ade698566b283360095e2bad1a0f2f4dc1839f37ae2569b9fa5178d5f1299c3bf5bcf6e2ecd6d01cfa1adc0af63a43917d104c9a013ed5388bd424bc621fde98
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ninny (0.1.0)
4
+ ninny (0.1.1)
5
5
  git (~> 1.5.0)
6
6
  gitlab (~> 4.11.0)
7
7
  pastel (~> 0.7.2)
@@ -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
- read
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
@@ -1,3 +1,3 @@
1
1
  module Ninny
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-06-10 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-box