waxseal 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/README.md +6 -1
- data/bin/waxseal +5 -5
- data/lib/waxseal/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +36 -51
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1de7140387804ef43db83a00f586a229933e1c46
|
4
|
+
data.tar.gz: 1b765e9e90f1c02d931434254e0fe0de11e712d6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bb2b61e7fcca1d023123623ff4fe6b1a85e053a0e9d53cfb9ca93634316e806e0727f3e908f22ac0a3e6fd170ec22087a977a5b1182f0a6300dea0f7d9ac474e
|
7
|
+
data.tar.gz: 6b387ec87d6f23171bc59b1d820454fb79dc0fcd89828072a1cca0a7e23ab62db2a46bff529b6ec6db32c9f4c297e81cebb0bd93d621b04a3c9e3a3c68af8465
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# waxseal
|
2
2
|
|
3
|
+
![seal](http://www.maleschek.com/assets/images/initialen-siegel.jpg)
|
4
|
+
|
3
5
|
## Install
|
4
6
|
|
5
|
-
[sudo] gem
|
7
|
+
[sudo] gem cert --add <(curl -L https://gist.github.com/steakknife/5333881/raw/gem-public_cert.pem) # adds my cert (do once)
|
8
|
+
[sudo] gem install waxseal -P HighSecurity
|
6
9
|
|
7
10
|
## Usage
|
8
11
|
|
@@ -15,3 +18,5 @@
|
|
15
18
|
## License
|
16
19
|
|
17
20
|
MIT
|
21
|
+
|
22
|
+
(Try not to get wax all over, it's hard to clean.)
|
data/bin/waxseal
CHANGED
@@ -45,7 +45,6 @@ def email
|
|
45
45
|
return result
|
46
46
|
end
|
47
47
|
|
48
|
-
|
49
48
|
def check_key(confirm = true)
|
50
49
|
keys_path = File.expand_path(PERSONAL_KEY_PATH)
|
51
50
|
FileUtils.mkdir_p(keys_path)
|
@@ -61,7 +60,7 @@ def check_key(confirm = true)
|
|
61
60
|
fail 'Could not create certificates for gem signing'
|
62
61
|
end
|
63
62
|
end
|
64
|
-
FileUtils.chmod(
|
63
|
+
FileUtils.chmod(0400, PRIVATE_KEY_FILENAME)
|
65
64
|
FileUtils.chmod(0644, PUBLIC_CERT_FILENAME)
|
66
65
|
unless system "gem cert --add #{PUBLIC_CERT_FILENAME}"
|
67
66
|
fail 'Could not add certificate to trusted gem cert list'
|
@@ -87,13 +86,13 @@ def make_signable(confirm = true)
|
|
87
86
|
puts "updated #{gemspec_file} for signing"
|
88
87
|
end
|
89
88
|
|
90
|
-
|
91
|
-
|
92
89
|
def run(confirm, commit)
|
93
90
|
check_key(confirm)
|
94
91
|
make_signable(confirm)
|
95
92
|
if commit
|
96
|
-
|
93
|
+
args = []
|
94
|
+
args << '--signoff' << '--gpg-sign' if $gpg_sign
|
95
|
+
unless system "git add *.gemspec #{PUBLIC_CERT_FILENAME} && git commit #{args.join(' ')} -m 'enable gem signing: stamped with waxseal'"
|
97
96
|
fail "Could not commit changes made by waxseal, please save changed *.gemspec and #{PUBLIC_CERT_FILENAME}"
|
98
97
|
end
|
99
98
|
end
|
@@ -120,6 +119,7 @@ end
|
|
120
119
|
|
121
120
|
OptionParser.new do |o|
|
122
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 }
|
123
123
|
o.on('-e', '--email EMAIL', "Email address to use for signing, overrides optional variable WAXSEAL_GEM_SIGNING_EMAIL") { |email| set_email(email) }
|
124
124
|
o.on('-f', '--force', "No prompts. Can also be set by WAXSEAL_NO_CONFIRM=1") { $confirm = false }
|
125
125
|
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,79 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waxseal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Barry Allard
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
bVgwbkRPU0VGSnlZa3Fid2dZaklvbGRnMlRNbHcyQmVvVnFHbTdHeDFsalhL
|
35
|
-
YjJLZzVpYXN5RHBJCkMvZ0FpR0JJQVg3Rnh5SVhtalpxMzh4V0JPeHlHRjNO
|
36
|
-
RkwvVzZ6K3ZoSmc4MUhHZE5CQ3BJZHdyUS9lWE9qYmEKVnF3d2ZZK01zM2dj
|
37
|
-
Q0hTRVJHMVg0QUZXMXplc1grVVdjVEN3Vkx0QXN1UldRaEM4b2REU1ZEV3pV
|
38
|
-
ZmtabU9RdApWaUl4VTFacGhJbnFsN0w1ZzM0PQotLS0tLUVORCBDRVJUSUZJ
|
39
|
-
Q0FURS0tLS0tCg==
|
40
|
-
date: 2013-04-08 00:00:00.000000000 Z
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDOjCCAiKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBDMRUwEwYDVQQDDAxiYXJy
|
14
|
+
eS5hbGxhcmQxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0xMzA0MDgwMTI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30
|
+
ViIxU1ZphInql7L5g34=
|
31
|
+
-----END CERTIFICATE-----
|
32
|
+
date: 2014-01-13 00:00:00.000000000 Z
|
41
33
|
dependencies:
|
42
34
|
- !ruby/object:Gem::Dependency
|
43
35
|
name: rspec
|
44
36
|
requirement: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
37
|
requirements:
|
47
|
-
- -
|
38
|
+
- - ">="
|
48
39
|
- !ruby/object:Gem::Version
|
49
40
|
version: '0'
|
50
41
|
type: :development
|
51
42
|
prerelease: false
|
52
43
|
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
44
|
requirements:
|
55
|
-
- -
|
45
|
+
- - ">="
|
56
46
|
- !ruby/object:Gem::Version
|
57
47
|
version: '0'
|
58
48
|
- !ruby/object:Gem::Dependency
|
59
49
|
name: shoulda
|
60
50
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
51
|
requirements:
|
63
|
-
- -
|
52
|
+
- - ">="
|
64
53
|
- !ruby/object:Gem::Version
|
65
54
|
version: '0'
|
66
55
|
type: :development
|
67
56
|
prerelease: false
|
68
57
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
58
|
requirements:
|
71
|
-
- -
|
59
|
+
- - ">="
|
72
60
|
- !ruby/object:Gem::Version
|
73
61
|
version: '0'
|
74
|
-
description:
|
75
|
-
|
76
|
-
'
|
62
|
+
description: |2
|
63
|
+
Adds certificate stuff to your gems.
|
77
64
|
email:
|
78
65
|
- barry.allard@gmail.com
|
79
66
|
executables:
|
@@ -81,14 +68,15 @@ executables:
|
|
81
68
|
extensions: []
|
82
69
|
extra_rdoc_files: []
|
83
70
|
files:
|
84
|
-
- lib/waxseal/version.rb
|
85
71
|
- LICENSE
|
86
72
|
- README.md
|
87
73
|
- bin/waxseal
|
74
|
+
- lib/waxseal/version.rb
|
88
75
|
homepage: https://github.com/steakknife/waxseal
|
89
76
|
licenses:
|
90
77
|
- MIT
|
91
|
-
|
78
|
+
metadata: {}
|
79
|
+
post_install_message: "\n :: waxseal | post-install notes ::\n\n In this order...\n\n
|
92
80
|
\ - If rbenv is installed, run:\n\n rbenv rehash\n\n - If ZSH is
|
93
81
|
installed, run:\n\n rehash\n\n And then just cd to any of your gem's unsigned
|
94
82
|
source directory and run `waxseal`\n\n Thanks for installing waxseal. \n\n\n"
|
@@ -96,22 +84,19 @@ rdoc_options: []
|
|
96
84
|
require_paths:
|
97
85
|
- lib
|
98
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
87
|
requirements:
|
101
|
-
- -
|
88
|
+
- - ">="
|
102
89
|
- !ruby/object:Gem::Version
|
103
90
|
version: '0'
|
104
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
92
|
requirements:
|
107
|
-
- -
|
93
|
+
- - ">="
|
108
94
|
- !ruby/object:Gem::Version
|
109
95
|
version: '0'
|
110
96
|
requirements: []
|
111
97
|
rubyforge_project:
|
112
|
-
rubygems_version:
|
98
|
+
rubygems_version: 2.2.0
|
113
99
|
signing_key:
|
114
|
-
specification_version:
|
100
|
+
specification_version: 4
|
115
101
|
summary: Sign thee gems with a fancy, vintage wax seal
|
116
102
|
test_files: []
|
117
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|