waxseal 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.md +3 -2
- data/bin/waxseal +6 -14
- data/lib/waxseal/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9108deeba3a4f6e19c6b90c4c7dc8cb73f3c26a3
|
|
4
|
+
data.tar.gz: 442b413a488567963ebab155ef955b99e8e49300
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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 $
|
|
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
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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.
|
|
122
|
-
o.on('-
|
|
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 }
|
data/lib/waxseal/version.rb
CHANGED
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.
|
|
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-
|
|
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
|