waxseal 0.0.3 → 0.0.4

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: 1de7140387804ef43db83a00f586a229933e1c46
4
- data.tar.gz: 1b765e9e90f1c02d931434254e0fe0de11e712d6
3
+ metadata.gz: 9108deeba3a4f6e19c6b90c4c7dc8cb73f3c26a3
4
+ data.tar.gz: 442b413a488567963ebab155ef955b99e8e49300
5
5
  SHA512:
6
- metadata.gz: bb2b61e7fcca1d023123623ff4fe6b1a85e053a0e9d53cfb9ca93634316e806e0727f3e908f22ac0a3e6fd170ec22087a977a5b1182f0a6300dea0f7d9ac474e
7
- data.tar.gz: 6b387ec87d6f23171bc59b1d820454fb79dc0fcd89828072a1cca0a7e23ab62db2a46bff529b6ec6db32c9f4c297e81cebb0bd93d621b04a3c9e3a3c68af8465
6
+ metadata.gz: 22396cfe0c990978e17fb1cd393627dd4bea0d9372998000a80b9e62b34cf82bf330e382d79421498ab6619aa17728965bc3d0ed1464fd8b22efc3ba237b0b12
7
+ data.tar.gz: 848bcce2c75b7adde9e994cbbf2a22003a735e23d51e0dce3936cc55d3979797680abc0ffac33b8e664db0368d3984b69a2646dbc4edecaa635a9cfe5f960ccc
checksums.yaml.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -10,7 +10,8 @@
10
10
  ## Usage
11
11
 
12
12
  Usage: waxseal [options]
13
- -c, --commit Make a new git commit automatically. can also set WAXSEAL_AUTO_COMMIT=1
13
+ -c, --commit Make a new git commit automatically. Can also be set by WAXSEAL_AUTO_COMMIT=1
14
+ -d, --dont-sign-commit Don't GPG sign Git commits. Can also be set by WAXSEAL_DONT_SIGN_AUTO_COMMIT=1
14
15
  -e, --email EMAIL Email address to use for signing, overrides optional variable WAXSEAL_GEM_SIGNING_EMAIL
15
16
  -f, --force No prompts. Can also be set by WAXSEAL_NO_CONFIRM=1
16
17
  -h, --help
@@ -19,4 +20,4 @@
19
20
 
20
21
  MIT
21
22
 
22
- (Try not to get wax all over, it's hard to clean.)
23
+ (Try not to get wax all over the place, it's hard to clean up.)
data/bin/waxseal CHANGED
@@ -91,7 +91,7 @@ def run(confirm, commit)
91
91
  make_signable(confirm)
92
92
  if commit
93
93
  args = []
94
- args << '--signoff' << '--gpg-sign' if $gpg_sign
94
+ args << '--signoff' << '--gpg-sign' if $sign
95
95
  unless system "git add *.gemspec #{PUBLIC_CERT_FILENAME} && git commit #{args.join(' ')} -m 'enable gem signing: stamped with waxseal'"
96
96
  fail "Could not commit changes made by waxseal, please save changed *.gemspec and #{PUBLIC_CERT_FILENAME}"
97
97
  end
@@ -105,21 +105,13 @@ def set_email(email_address)
105
105
  end
106
106
  end
107
107
 
108
- if ENV['WAXSEAL_NO_CONFIRM'] == '1'
109
- $confirm = false
110
- else
111
- $confirm = true
112
- end
113
-
114
- if ENV['WAXSEAL_AUTO_COMMIT'] == '1'
115
- $commit = true
116
- else
117
- $commit = false
118
- end
108
+ $confirm = ENV['WAXSEAL_NO_CONFIRM'] == '1'
109
+ $commit = ENV['WAXSEAL_AUTO_COMMIT'] == '1'
110
+ $sign = ENV['WAXSEAL_DONT_SIGN_AUTO_COMMIT'] != '1'
119
111
 
120
112
  OptionParser.new do |o|
121
- o.on('-c', '--commit', "Make a new git commit automatically. can also set WAXSEAL_AUTO_COMMIT=1") { $commit = true }
122
- o.on('-s', '--sign-also-with-gpg' "Sign commit using ") { $sign = true }
113
+ o.on('-c', '--commit', "Make a new git commit automatically. Can also be set by WAXSEAL_AUTO_COMMIT=1") { $commit = true }
114
+ o.on('-d', '--dont-sign-commit', "Don't GPG sign Git commits. Can also be set by WAXSEAL_DONT_SIGN_AUTO_COMMIT=1") { $sign = false }
123
115
  o.on('-e', '--email EMAIL', "Email address to use for signing, overrides optional variable WAXSEAL_GEM_SIGNING_EMAIL") { |email| set_email(email) }
124
116
  o.on('-f', '--force', "No prompts. Can also be set by WAXSEAL_NO_CONFIRM=1") { $confirm = false }
125
117
  o.on('-h', '--help') { $stderr.puts o ; exit 1 }
@@ -1,3 +1,3 @@
1
1
  module Waxseal
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waxseal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barry Allard
@@ -29,7 +29,7 @@ cert_chain:
29
29
  VqwwfY+Ms3gcCHSERG1X4AFW1zesX+UWcTCwVLtAsuRWQhC8odDSVDWzUfkZmOQt
30
30
  ViIxU1ZphInql7L5g34=
31
31
  -----END CERTIFICATE-----
32
- date: 2014-01-13 00:00:00.000000000 Z
32
+ date: 2014-02-18 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rspec
metadata.gz.sig CHANGED
Binary file