signore 0.7.0 → 1.0.0
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
- data/.rubocop.yml +12 -7
- data/.tool-versions +1 -0
- data/.travis.yml +1 -0
- data/README.md +1 -1
- data/gems.locked +74 -59
- data/lib/signore/settings.rb +2 -2
- data/lib/signore/sig_from_stream.rb +5 -4
- data/lib/signore/signature.rb +2 -2
- data/lib/signore/tags.rb +2 -2
- data/signore.gemspec +8 -15
- data/test/signore/repo_test.rb +7 -2
- data/test/signore/sig_finder_test.rb +0 -2
- data/test/signore/signature_test.rb +5 -3
- data/test/test_helper.rb +0 -5
- metadata +16 -96
- checksums.yaml.gz.sig +0 -4
- data/.ruby-version +0 -1
- data/certs/chastell.pem +0 -25
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53a6bf3a2bc72020cf26754484238b4efb83028f771c395386e857a1916aea59
|
4
|
+
data.tar.gz: 278acaae1aee55674c1b736367f77b848bdad91d70d9fd47ba103d1fd55a19be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e5cce22deca6ff0ff82cda5297a301075a7549059849f26d993caf97c7cca1e265f89d02307ef90c748f0c390d78e07f7b70080e64810095caa196e3eab9c37
|
7
|
+
data.tar.gz: 15abbffeb0e9cd013381dfc273c451c9630738d459dd1fab35d0268aa94ccbfba207676ecb04f2532e3fafc01d5aa4c9f234df6d478264b7cabe551efc8efde9
|
data/.rubocop.yml
CHANGED
@@ -1,20 +1,25 @@
|
|
1
|
+
AllCops:
|
2
|
+
NewCops: enable
|
3
|
+
TargetRubyVersion: 3.2
|
4
|
+
|
5
|
+
Bundler/GemFilename:
|
6
|
+
Enabled: false
|
7
|
+
|
8
|
+
Gemspec/DevelopmentDependencies:
|
9
|
+
Enabled: false
|
10
|
+
|
1
11
|
Metrics/BlockLength:
|
2
|
-
|
3
|
-
- signore.gemspec
|
4
|
-
- test/**/*
|
12
|
+
AllowedMethods: describe
|
5
13
|
|
6
14
|
Naming/HeredocDelimiterCase:
|
7
15
|
Enabled: false
|
8
16
|
|
9
|
-
|
17
|
+
Naming/HeredocDelimiterNaming:
|
10
18
|
Enabled: false
|
11
19
|
|
12
20
|
Style/Documentation:
|
13
21
|
Enabled: false
|
14
22
|
|
15
|
-
Style/EmptyCaseCondition:
|
16
|
-
Enabled: false
|
17
|
-
|
18
23
|
Style/FrozenStringLiteralComment:
|
19
24
|
Enabled: false
|
20
25
|
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.6.1
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -86,4 +86,4 @@ signore stores the signatures in a YAML file (for ease of editing, if such a nee
|
|
86
86
|
|
87
87
|
---
|
88
88
|
|
89
|
-
© MMIX-
|
89
|
+
© MMIX-MMXIX Piotr Szotkowski <chastell@chastell.net>, licensed under AGPL-3.0 (see LICENCE)
|
data/gems.locked
CHANGED
@@ -3,81 +3,96 @@ PATH
|
|
3
3
|
specs:
|
4
4
|
signore (0.7.0)
|
5
5
|
lovely_rufus (~> 1.0)
|
6
|
-
procto (~> 0.0.3)
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: https://rubygems.org/
|
10
9
|
specs:
|
11
|
-
ast (2.4.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
10
|
+
ast (2.4.3)
|
11
|
+
bigdecimal (3.1.9)
|
12
|
+
concurrent-ruby (1.3.5)
|
13
|
+
dry-configurable (1.3.0)
|
14
|
+
dry-core (~> 1.1)
|
15
|
+
zeitwerk (~> 2.6)
|
16
|
+
dry-core (1.1.0)
|
17
|
+
concurrent-ruby (~> 1.0)
|
18
|
+
logger
|
19
|
+
zeitwerk (~> 2.6)
|
20
|
+
dry-inflector (1.2.0)
|
21
|
+
dry-initializer (3.2.0)
|
22
|
+
dry-logic (1.6.0)
|
23
|
+
bigdecimal
|
24
|
+
concurrent-ruby (~> 1.0)
|
25
|
+
dry-core (~> 1.1)
|
26
|
+
zeitwerk (~> 2.6)
|
27
|
+
dry-schema (1.14.1)
|
28
|
+
concurrent-ruby (~> 1.0)
|
29
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
30
|
+
dry-core (~> 1.1)
|
31
|
+
dry-initializer (~> 3.2)
|
32
|
+
dry-logic (~> 1.5)
|
33
|
+
dry-types (~> 1.8)
|
34
|
+
zeitwerk (~> 2.6)
|
35
|
+
dry-types (1.8.2)
|
36
|
+
bigdecimal (~> 3.0)
|
37
|
+
concurrent-ruby (~> 1.0)
|
38
|
+
dry-core (~> 1.0)
|
39
|
+
dry-inflector (~> 1.0)
|
40
|
+
dry-logic (~> 1.4)
|
41
|
+
zeitwerk (~> 2.6)
|
42
|
+
json (2.12.0)
|
43
|
+
language_server-protocol (3.17.0.5)
|
44
|
+
lint_roller (1.1.0)
|
45
|
+
logger (1.7.0)
|
46
|
+
lovely_rufus (1.3.0)
|
47
|
+
minitest (5.25.5)
|
48
|
+
minitest-focus (1.4.0)
|
36
49
|
minitest (>= 4, < 6)
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
kwalify (~> 0.7.0)
|
50
|
-
parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
|
50
|
+
parallel (1.27.0)
|
51
|
+
parser (3.3.8.0)
|
52
|
+
ast (~> 2.4.1)
|
53
|
+
racc
|
54
|
+
prism (1.4.0)
|
55
|
+
racc (1.8.1)
|
56
|
+
rainbow (3.1.1)
|
57
|
+
rake (13.2.1)
|
58
|
+
reek (6.5.0)
|
59
|
+
dry-schema (~> 1.13)
|
60
|
+
logger (~> 1.6)
|
61
|
+
parser (~> 3.3.0)
|
51
62
|
rainbow (>= 2.0, < 4.0)
|
52
|
-
|
53
|
-
|
63
|
+
rexml (~> 3.1)
|
64
|
+
regexp_parser (2.10.0)
|
65
|
+
rexml (3.4.1)
|
66
|
+
rubocop (1.75.6)
|
67
|
+
json (~> 2.3)
|
68
|
+
language_server-protocol (~> 3.17.0.2)
|
69
|
+
lint_roller (~> 1.1.0)
|
54
70
|
parallel (~> 1.10)
|
55
|
-
parser (>=
|
56
|
-
powerpack (~> 0.1)
|
71
|
+
parser (>= 3.3.0.2)
|
57
72
|
rainbow (>= 2.2.2, < 4.0)
|
73
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
74
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
58
75
|
ruby-progressbar (~> 1.7)
|
59
|
-
unicode-display_width (
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
76
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
77
|
+
rubocop-ast (1.44.1)
|
78
|
+
parser (>= 3.3.7.2)
|
79
|
+
prism (~> 1.4)
|
80
|
+
ruby-progressbar (1.13.0)
|
81
|
+
unicode-display_width (3.1.4)
|
82
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
83
|
+
unicode-emoji (4.0.4)
|
84
|
+
zeitwerk (2.7.2)
|
68
85
|
|
69
86
|
PLATFORMS
|
70
87
|
ruby
|
71
88
|
|
72
89
|
DEPENDENCIES
|
73
|
-
bogus (~> 0.1.3)
|
74
90
|
minitest (~> 5.6)
|
75
91
|
minitest-focus (~> 1.1)
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
rubocop (~> 0.60.0)
|
92
|
+
rake (~> 13.0)
|
93
|
+
reek (~> 6.0)
|
94
|
+
rubocop (~> 1.0)
|
80
95
|
signore!
|
81
96
|
|
82
97
|
BUNDLED WITH
|
83
|
-
|
98
|
+
2.6.9
|
data/lib/signore/settings.rb
CHANGED
@@ -13,7 +13,7 @@ module Signore
|
|
13
13
|
|
14
14
|
def tags
|
15
15
|
negated, required = tag_names.partition { |name| name.start_with?('~') }
|
16
|
-
Tags.new(forbidden: negated.map { |neg| neg[1
|
16
|
+
Tags.new(forbidden: negated.map { |neg| neg[1..] }, required: required)
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
@@ -21,7 +21,7 @@ module Signore
|
|
21
21
|
attr_reader :args
|
22
22
|
|
23
23
|
def tag_names
|
24
|
-
args.empty? ? [] : args[1
|
24
|
+
args.empty? ? [] : args[1..]
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -1,10 +1,11 @@
|
|
1
|
-
require 'procto'
|
2
1
|
require_relative 'signature'
|
3
2
|
require_relative 'tags'
|
4
3
|
|
5
4
|
module Signore
|
6
5
|
class SigFromStream
|
7
|
-
|
6
|
+
def self.call(input, tags: Tags.new)
|
7
|
+
new(input, tags: tags).call
|
8
|
+
end
|
8
9
|
|
9
10
|
def initialize(input, tags: Tags.new)
|
10
11
|
@input = input
|
@@ -17,12 +18,12 @@ module Signore
|
|
17
18
|
text: params.text)
|
18
19
|
end
|
19
20
|
|
21
|
+
Params = Struct.new(:text, :author, :subject, :source)
|
22
|
+
|
20
23
|
private
|
21
24
|
|
22
25
|
attr_reader :input, :tags
|
23
26
|
|
24
|
-
Params = Struct.new(:text, :author, :subject, :source)
|
25
|
-
|
26
27
|
def get_param(param)
|
27
28
|
puts "\n#{param}?"
|
28
29
|
separator = param == :text ? "\n\n" : "\n"
|
data/lib/signore/signature.rb
CHANGED
@@ -4,12 +4,12 @@ module Signore
|
|
4
4
|
class Signature < Struct.new(:text, :author, :source, :subject, :tags)
|
5
5
|
class << self
|
6
6
|
def from_h(hash)
|
7
|
-
new(hash.
|
7
|
+
new(**hash.transform_keys(&:to_sym))
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
11
|
def initialize(author: '', source: '', subject: '', tags: [], text: '')
|
12
|
-
super
|
12
|
+
super(text, author, source, subject, tags)
|
13
13
|
end
|
14
14
|
|
15
15
|
def empty?
|
data/lib/signore/tags.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Signore
|
2
2
|
Tags = Struct.new(:forbidden, :required) do
|
3
3
|
def initialize(forbidden: [], required: [])
|
4
|
-
super
|
4
|
+
super(forbidden, required)
|
5
5
|
end
|
6
6
|
|
7
7
|
def match?(sig_tags)
|
8
|
-
(required & sig_tags) == required and (
|
8
|
+
(required & sig_tags) == required and not forbidden.intersect?(sig_tags) # rubocop:disable Style/BitwisePredicate
|
9
9
|
end
|
10
10
|
|
11
11
|
def to_s
|
data/signore.gemspec
CHANGED
@@ -7,30 +7,23 @@ Gem::Specification.new do |gem|
|
|
7
7
|
'random ones based on their tags'
|
8
8
|
gem.email = 'chastell@chastell.net'
|
9
9
|
gem.homepage = 'http://github.com/chastell/signore'
|
10
|
-
gem.license = 'AGPL-3.0'
|
10
|
+
gem.license = 'AGPL-3.0-or-later'
|
11
11
|
gem.name = 'signore'
|
12
12
|
gem.summary = 'signore: an email signature manager/randomiser'
|
13
|
-
gem.version = '0.
|
13
|
+
gem.version = '1.0.0'
|
14
14
|
|
15
|
-
gem.required_ruby_version = '~> 2
|
15
|
+
gem.required_ruby_version = '~> 3.2'
|
16
16
|
|
17
17
|
gem.files = `git ls-files -z`.split "\0"
|
18
18
|
gem.executables = gem.files.grep(%r{^bin/}).map { |path| File.basename(path) }
|
19
|
-
gem.test_files = gem.files.grep(%r{^test/.*\.rb$})
|
20
|
-
|
21
|
-
gem.cert_chain = ['certs/chastell.pem']
|
22
|
-
if Pathname.new($PROGRAM_NAME).basename == Pathname.new('gem')
|
23
|
-
gem.signing_key = Pathname.new('~/.ssh/gem-private_key.pem').expand_path
|
24
|
-
end
|
25
19
|
|
26
20
|
gem.add_dependency 'lovely_rufus', '~> 1.0'
|
27
|
-
gem.add_dependency 'procto', '~> 0.0.3'
|
28
21
|
|
29
|
-
gem.add_development_dependency 'bogus', '~> 0.1.3'
|
30
22
|
gem.add_development_dependency 'minitest', '~> 5.6'
|
31
23
|
gem.add_development_dependency 'minitest-focus', '~> 1.1'
|
32
|
-
gem.add_development_dependency '
|
33
|
-
gem.add_development_dependency '
|
34
|
-
gem.add_development_dependency '
|
35
|
-
|
24
|
+
gem.add_development_dependency 'rake', '~> 13.0'
|
25
|
+
gem.add_development_dependency 'reek', '~> 6.0'
|
26
|
+
gem.add_development_dependency 'rubocop', '~> 1.0'
|
27
|
+
|
28
|
+
gem.metadata['rubygems_mfa_required'] = 'true'
|
36
29
|
end
|
data/test/signore/repo_test.rb
CHANGED
@@ -15,10 +15,10 @@ module Signore
|
|
15
15
|
it 'honours XDG_DATA_HOME if it’s set' do
|
16
16
|
old_xdg = ENV.delete('XDG_DATA_HOME')
|
17
17
|
ENV['XDG_DATA_HOME'] = Dir.mktmpdir
|
18
|
-
path = "#{ENV
|
18
|
+
path = "#{ENV.fetch('XDG_DATA_HOME')}/signore/signatures.yml"
|
19
19
|
_(Repo.default_path).must_equal Pathname.new(path)
|
20
20
|
ensure
|
21
|
-
FileUtils.rmtree ENV
|
21
|
+
FileUtils.rmtree ENV.fetch('XDG_DATA_HOME')
|
22
22
|
old_xdg ? ENV['XDG_DATA_HOME'] = old_xdg : ENV.delete('XDG_DATA_HOME')
|
23
23
|
end
|
24
24
|
|
@@ -53,6 +53,11 @@ module Signore
|
|
53
53
|
Repo.new(path: path) << sig
|
54
54
|
_(path.read).wont_include 'Signore::Signature'
|
55
55
|
end
|
56
|
+
|
57
|
+
it 'handles edge cases' do
|
58
|
+
sig = Signature.new(author: '000___000')
|
59
|
+
Repo.new(path: path) << sig
|
60
|
+
end
|
56
61
|
end
|
57
62
|
|
58
63
|
describe '#empty?' do
|
@@ -21,7 +21,7 @@ module Signore # rubocop:disable Metrics/ModuleLength
|
|
21
21
|
it 'instantiates Signatures via parameters' do
|
22
22
|
source = 'A History of Modern Computing'
|
23
23
|
text = 'In 1940 he summarized his work in an influential book, ' \
|
24
|
-
|
24
|
+
'‘Punched Card Methods in Scientific Computation’.'
|
25
25
|
sig = Signature.new(author: 'Paul E. Ceruzzi', source: source,
|
26
26
|
subject: 'on Wallace Eckert',
|
27
27
|
tags: ['punched cards'], text: text)
|
@@ -118,7 +118,7 @@ module Signore # rubocop:disable Metrics/ModuleLength
|
|
118
118
|
|
119
119
|
it 'shows subject on its own' do
|
120
120
|
text = 'Amateur fighter pilot ignores orders, listens ' \
|
121
|
-
|
121
|
+
'to the voices in his head and slaughters thousands.'
|
122
122
|
sig = Signature.new(subject: 'Star Wars ending explained', text: text)
|
123
123
|
_(sig.to_s).must_equal <<~end.strip
|
124
124
|
Amateur fighter pilot ignores orders, listens to
|
@@ -128,7 +128,9 @@ module Signore # rubocop:disable Metrics/ModuleLength
|
|
128
128
|
end
|
129
129
|
|
130
130
|
it 'handles edge cases properly' do
|
131
|
-
YAML.load_file('test/fixtures/wrapper.yml'
|
131
|
+
wrappings = YAML.load_file('test/fixtures/wrapper.yml',
|
132
|
+
permitted_classes: [Signature, Symbol])
|
133
|
+
wrappings.each do |sig, wrapped|
|
132
134
|
_(Signature.from_h(sig.to_h).to_s).must_equal wrapped
|
133
135
|
end
|
134
136
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,40 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: signore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Szotkowski
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
|
-
cert_ch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j
|
27
|
-
aGFzdGVsbEBjaGFzdGVsbC5uZXQwDQYJKoZIhvcNAQELBQADggGBADHA0HjFqCjn
|
28
|
-
IQkwo43CSWEZBCB+J9vfzYWAeVGWhupHlI/SxhrT7r8chfioDZ3viHMasmZQ5LE6
|
29
|
-
CMnQSQ/Cpj/WwmbUzVqBKFK+awivbFoOVbLWjUbhpIZ8CTJ71bj76bNfmJM+EoyJ
|
30
|
-
+e/45fxaSeq9FBuF2RN9EFndbUQ8HX2+0q66QgWV3aeegqi0HrapWE1pYMYCq3oa
|
31
|
-
YxTqzgX5Dc0hOJlfUbHa8o9Wd+uZtCUDYgW2mMFWDhtqODUelGQVE1ep+r2ezdkz
|
32
|
-
CC+NRY+4YHFBPMo6GFZvxWCuCURP5njE02LvRvQm/0sBJN5iiPrhCBC7B20vUD2W
|
33
|
-
BBp3qVHoVKxMKQ9hflY/qov85/Hgre3BKTv338CWTrDSC3HoHUXi1LhM2QYNG8oK
|
34
|
-
J29ZBdaXkaJ0zXg0Gi2ltKxs4vjxwSHdRqnaT29A8ca9mGWzzVmTqjPz8cFnt+1I
|
35
|
-
vmVyvVV5f57oDgaXeZLHRbgp+sU4WyyESZ9cHyYZks1tWKMOavbO7Q==
|
36
|
-
-----END CERTIFICATE-----
|
37
|
-
date: 2018-11-13 00:00:00.000000000 Z
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
38
11
|
dependencies:
|
39
12
|
- !ruby/object:Gem::Dependency
|
40
13
|
name: lovely_rufus
|
@@ -50,34 +23,6 @@ dependencies:
|
|
50
23
|
- - "~>"
|
51
24
|
- !ruby/object:Gem::Version
|
52
25
|
version: '1.0'
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: procto
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 0.0.3
|
60
|
-
type: :runtime
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 0.0.3
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: bogus
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 0.1.3
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 0.1.3
|
81
26
|
- !ruby/object:Gem::Dependency
|
82
27
|
name: minitest
|
83
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,62 +51,48 @@ dependencies:
|
|
106
51
|
- - "~>"
|
107
52
|
- !ruby/object:Gem::Version
|
108
53
|
version: '1.1'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: overcommit
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: 0.46.0
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.46.0
|
123
54
|
- !ruby/object:Gem::Dependency
|
124
55
|
name: rake
|
125
56
|
requirement: !ruby/object:Gem::Requirement
|
126
57
|
requirements:
|
127
58
|
- - "~>"
|
128
59
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
60
|
+
version: '13.0'
|
130
61
|
type: :development
|
131
62
|
prerelease: false
|
132
63
|
version_requirements: !ruby/object:Gem::Requirement
|
133
64
|
requirements:
|
134
65
|
- - "~>"
|
135
66
|
- !ruby/object:Gem::Version
|
136
|
-
version: '
|
67
|
+
version: '13.0'
|
137
68
|
- !ruby/object:Gem::Dependency
|
138
69
|
name: reek
|
139
70
|
requirement: !ruby/object:Gem::Requirement
|
140
71
|
requirements:
|
141
72
|
- - "~>"
|
142
73
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
74
|
+
version: '6.0'
|
144
75
|
type: :development
|
145
76
|
prerelease: false
|
146
77
|
version_requirements: !ruby/object:Gem::Requirement
|
147
78
|
requirements:
|
148
79
|
- - "~>"
|
149
80
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
81
|
+
version: '6.0'
|
151
82
|
- !ruby/object:Gem::Dependency
|
152
83
|
name: rubocop
|
153
84
|
requirement: !ruby/object:Gem::Requirement
|
154
85
|
requirements:
|
155
86
|
- - "~>"
|
156
87
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
88
|
+
version: '1.0'
|
158
89
|
type: :development
|
159
90
|
prerelease: false
|
160
91
|
version_requirements: !ruby/object:Gem::Requirement
|
161
92
|
requirements:
|
162
93
|
- - "~>"
|
163
94
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
95
|
+
version: '1.0'
|
165
96
|
description: signore helps manage email signatures and select random ones based on
|
166
97
|
their tags
|
167
98
|
email: chastell@chastell.net
|
@@ -173,13 +104,12 @@ files:
|
|
173
104
|
- ".overcommit.yml"
|
174
105
|
- ".reek.yml"
|
175
106
|
- ".rubocop.yml"
|
176
|
-
- ".
|
107
|
+
- ".tool-versions"
|
177
108
|
- ".travis.yml"
|
178
109
|
- LICENCE
|
179
110
|
- README.md
|
180
111
|
- Rakefile
|
181
112
|
- bin/signore
|
182
|
-
- certs/chastell.pem
|
183
113
|
- gems.locked
|
184
114
|
- gems.rb
|
185
115
|
- lib/signore.rb
|
@@ -205,9 +135,9 @@ files:
|
|
205
135
|
- test/test_helper.rb
|
206
136
|
homepage: http://github.com/chastell/signore
|
207
137
|
licenses:
|
208
|
-
- AGPL-3.0
|
209
|
-
metadata:
|
210
|
-
|
138
|
+
- AGPL-3.0-or-later
|
139
|
+
metadata:
|
140
|
+
rubygems_mfa_required: 'true'
|
211
141
|
rdoc_options: []
|
212
142
|
require_paths:
|
213
143
|
- lib
|
@@ -215,24 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
145
|
requirements:
|
216
146
|
- - "~>"
|
217
147
|
- !ruby/object:Gem::Version
|
218
|
-
version: '2
|
148
|
+
version: '3.2'
|
219
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
150
|
requirements:
|
221
151
|
- - ">="
|
222
152
|
- !ruby/object:Gem::Version
|
223
153
|
version: '0'
|
224
154
|
requirements: []
|
225
|
-
|
226
|
-
rubygems_version: 2.7.6
|
227
|
-
signing_key:
|
155
|
+
rubygems_version: 3.6.9
|
228
156
|
specification_version: 4
|
229
157
|
summary: 'signore: an email signature manager/randomiser'
|
230
|
-
test_files:
|
231
|
-
- test/signore/cli_test.rb
|
232
|
-
- test/signore/repo_test.rb
|
233
|
-
- test/signore/settings_test.rb
|
234
|
-
- test/signore/sig_finder_test.rb
|
235
|
-
- test/signore/sig_from_stream_test.rb
|
236
|
-
- test/signore/signature_test.rb
|
237
|
-
- test/signore/tags_test.rb
|
238
|
-
- test/test_helper.rb
|
158
|
+
test_files: []
|
checksums.yaml.gz.sig
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
��b��ů��:���8S���e�٦ڞ_���Bv:���b�!3�[7*�L)V�0�x9�.<�.����a)TxHe*QX�hk�7C�I�9�o
|
2
|
-
j��e�L?8R�~�YB`����oR��~u%���|�x����d�_����,j��K+�܉�a8R��TNK���"��ψvӣe[,��q/�/Ӆ�k����URI�/�`��;��e�$@���CQ��ju�����X=�°ߩ�?�H$�94O�Uq��-汹� �8@G�v� /�*�ƞ�[��B�aD⦓x'��\O�
|
3
|
-
��u-��&gcm��
|
4
|
-
��"k� ���Y@l��\��>�`���"�ZZ��d�����-�j�F(�/o��62�5���7c�=J
|
data/.ruby-version
DELET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