gpgenv 0.1.10 → 0.1.11

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
  SHA1:
3
- metadata.gz: b1f98097e67e8b91a24e1709664130b90bf3d9bd
4
- data.tar.gz: c4cf7d2892247b5dbca66b5dfee82d86fcaaf395
3
+ metadata.gz: bb4b8db87247ce551fa156006c9595d45820b106
4
+ data.tar.gz: 2942677c42d1d1ff87f7a7f50c507c53cd35d5be
5
5
  SHA512:
6
- metadata.gz: 57e4cd252fe7e49da72fd388e5ddd2afd59297d5a31ec36b24223426352b3588fadb6aa384ba1df1bbed8a651b51c9b212938eee3497e87bea8b015db143aa8e
7
- data.tar.gz: 8518188f949febded4201b6c0c247a0baf10e03c61bbb3abefbe79fee4b4d0400caf84dcaad4352516e8944526b34be4cafca5c75f31e26f704933eaaf8ed14f
6
+ metadata.gz: db99e4d665e814948d2f32bd8afb7de90e232a9632467d692ae2fb457c816be87f89945498572789ff0b167c8c0607a7bb08566288c95e7b0feb2ade29e65114
7
+ data.tar.gz: fbf7d4c01c66ecee229cbbf6a63216af56b22fdf4cf685d913929db03c9719db44a428018c4fb84455750e121fe4a11c5c7d85e4baf630f8646de93d2a3a330c
@@ -3,20 +3,21 @@ require 'gpgenv'
3
3
  require 'gpgenv/base_command'
4
4
 
5
5
  class Gpgenv
6
- class SetCommand < Gpgenv::BaseCommand
6
+ class SetCommand < Gpgenv::BaseCommand
7
7
 
8
8
  parameter "ARGUMENTS ...", "arguments", :attribute_name => :args
9
9
 
10
10
  def execute
11
- FileUtils.mkdir_p(Gpgenv.dir)
11
+ FileUtils.mkdir_p(gpgenv.dir)
12
12
  if args.size == 1
13
13
  gpgenv.set(args[0], STDIN.read)
14
14
  elsif args.size == 2
15
15
  gpgenv.set(args.first, args.last)
16
- else
16
+ else
17
17
  fail("Usage: gpgset KEY [VALUE]")
18
18
  end
19
19
  end
20
20
 
21
+
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  class Gpgenv
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpgenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Shea
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp