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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbdddb275117ac24cdd81c8c415abd9141edb88b99336fe6ba1f85949f5b8c21
4
- data.tar.gz: 3f24b5ec1f8e15e82e39c5bb1475027c3fb5eb4fecca76b89ca3129f1df0ef7c
3
+ metadata.gz: 53a6bf3a2bc72020cf26754484238b4efb83028f771c395386e857a1916aea59
4
+ data.tar.gz: 278acaae1aee55674c1b736367f77b848bdad91d70d9fd47ba103d1fd55a19be
5
5
  SHA512:
6
- metadata.gz: 26afc9d20e02346291c5cc5df08740f4b22a35b1f1207ec63b81d25fbb79a476e9cd3f83769de77c7198611f0d302a16af52e73c6a4977708218d4d268a2bbf8
7
- data.tar.gz: cfc553dbcc66881b8562124f478a034657ba486811ce965e45906af5d0a1ab66c21448bbbdaa8bba8145fa8d6b33491bf48039d20ee5998c211651a0aa101258
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
- Exclude:
3
- - signore.gemspec
4
- - test/**/*
12
+ AllowedMethods: describe
5
13
 
6
14
  Naming/HeredocDelimiterCase:
7
15
  Enabled: false
8
16
 
9
- Style/AndOr:
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
@@ -8,4 +8,5 @@ matrix:
8
8
  - rvm: ruby-head
9
9
  rvm:
10
10
  - 2.5
11
+ - 2.6
11
12
  - ruby-head
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-MMXV Piotr Szotkowski <chastell@chastell.net>, licensed under AGPL-3.0 (see LICENCE)
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.0)
12
- axiom-types (0.1.1)
13
- descendants_tracker (~> 0.0.4)
14
- ice_nine (~> 0.11.0)
15
- thread_safe (~> 0.3, >= 0.3.1)
16
- bogus (0.1.6)
17
- dependor (>= 0.0.4)
18
- childprocess (0.9.0)
19
- ffi (~> 1.0, >= 1.0.11)
20
- codeclimate-engine-rb (0.4.1)
21
- virtus (~> 1.0)
22
- coercible (1.0.0)
23
- descendants_tracker (~> 0.0.1)
24
- dependor (1.0.1)
25
- descendants_tracker (0.0.4)
26
- thread_safe (~> 0.3, >= 0.3.1)
27
- equalizer (0.0.11)
28
- ffi (1.9.25)
29
- ice_nine (0.11.2)
30
- iniparse (1.4.4)
31
- jaro_winkler (1.5.1)
32
- kwalify (0.7.2)
33
- lovely_rufus (1.0.1)
34
- minitest (5.11.3)
35
- minitest-focus (1.1.2)
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
- overcommit (0.46.0)
38
- childprocess (~> 0.6, >= 0.6.3)
39
- iniparse (~> 1.4)
40
- parallel (1.12.1)
41
- parser (2.5.3.0)
42
- ast (~> 2.4.0)
43
- powerpack (0.1.2)
44
- procto (0.0.3)
45
- rainbow (3.0.0)
46
- rake (12.3.1)
47
- reek (5.2.0)
48
- codeclimate-engine-rb (~> 0.4.0)
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
- rubocop (0.60.0)
53
- jaro_winkler (~> 1.5.1)
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 (>= 2.5, != 2.5.1.1)
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 (~> 1.4.0)
60
- ruby-progressbar (1.10.0)
61
- thread_safe (0.3.6)
62
- unicode-display_width (1.4.0)
63
- virtus (1.0.5)
64
- axiom-types (~> 0.1)
65
- coercible (~> 1.0)
66
- descendants_tracker (~> 0.0, >= 0.0.3)
67
- equalizer (~> 0.0, >= 0.0.9)
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
- overcommit (~> 0.46.0)
77
- rake (~> 12.0)
78
- reek (~> 5.0)
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
- 1.17.1
98
+ 2.6.9
@@ -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..-1] }, required: required)
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..-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
- include Procto.call
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"
@@ -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.map { |key, value| [key.to_sym, value] }.to_h)
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 text, author, source, subject, tags
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 forbidden, required
4
+ super(forbidden, required)
5
5
  end
6
6
 
7
7
  def match?(sig_tags)
8
- (required & sig_tags) == required and (forbidden & sig_tags).empty?
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.7.0'
13
+ gem.version = '1.0.0'
14
14
 
15
- gem.required_ruby_version = '~> 2.5'
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 'overcommit', '~> 0.46.0'
33
- gem.add_development_dependency 'rake', '~> 12.0'
34
- gem.add_development_dependency 'reek', '~> 5.0'
35
- gem.add_development_dependency 'rubocop', '~> 0.60.0'
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
@@ -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['XDG_DATA_HOME']}/signore/signatures.yml"
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['XDG_DATA_HOME']
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
@@ -6,8 +6,6 @@ require_relative '../../lib/signore/tags'
6
6
 
7
7
  module Signore
8
8
  describe SigFinder do
9
- verify_contract SigFinder
10
-
11
9
  let(:sigs) do
12
10
  Repo.new(path: Pathname.new('test/fixtures/signatures.yml')).sigs
13
11
  end
@@ -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
- '‘Punched Card Methods in Scientific Computation’.'
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
- 'to the voices in his head and slaughters thousands.'
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').each do |sig, wrapped|
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
@@ -1,9 +1,4 @@
1
1
  ENV['MT_NO_EXPECTATIONS'] = 'true'
2
- require 'bundler/setup'
3
2
  require 'minitest/autorun'
4
3
  require 'minitest/focus'
5
4
  require 'minitest/pride'
6
- require 'bogus/minitest/spec'
7
- require 'signore'
8
-
9
- Bogus.configure { |config| config.search_modules << Signore }
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.7.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_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIERDCCAqygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtjaGFz
14
- dGVsbC9EQz1jaGFzdGVsbC9EQz1uZXQwHhcNMTgxMTEzMTkzNDIxWhcNMTkxMTEz
15
- MTkzNDIxWjAmMSQwIgYDVQQDDBtjaGFzdGVsbC9EQz1jaGFzdGVsbC9EQz1uZXQw
16
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC1jioiuQD8eIyuCXhry37a
17
- KBqipfFlkc6Oz37i/LN6NE+TJCtGmgn/wDZDdJVTv3SOGomI1fFVkP7cWAIF+/4+
18
- 965ktOvenWIwok3LRaMvpnkzo0cqPoUYF9x5kx+9W2ATjmPldNsfC5gtfg5qEsPs
19
- wqdeMet0Ll5ZMR36GfB+FDlGCD7OetSN7p3oZLqp0tMaac+VYWLdHbBNBmB1jQ3s
20
- yXYndD3U/NjcTQhVJvpV/Qx9LnDdgsGlXYChiZcy1UTuTj/947WYc40/q9lVFAKg
21
- MawVC/0NJhB5CC2+eTFX5fSioNNEecET5nJlIhxPO3YhL1o04cZ9a5qL3cfKouUp
22
- Sf/QSolrGMS6K6fkUK6pkgoQSsjKqdgNXWe/I2LPstXhUEcQtPy1hEwVHBDY3DFS
23
- bFJxJCzG+0gQavu2F26unT1Ypc2pVtrD85uMIMsRv322EYrDKIFZnBK9caXr4P0A
24
- 8qF4Q8KLkrVbNSI8yQBYAZbX2s/ujgSGyVjr6EVmAAUCAwEAAaN9MHswCQYDVR0T
25
- BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEk81YvjHuQWi2e2Few63uIWo0jR
26
- MCAGA1UdEQQZMBeBFWNoYXN0ZWxsQGNoYXN0ZWxsLm5ldDAgBgNVHRIEGTAXgRVj
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: '12.0'
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: '12.0'
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: '5.0'
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: '5.0'
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: 0.60.0
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: 0.60.0
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
- - ".ruby-version"
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
- post_install_message:
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.5'
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
- rubyforge_project:
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 DELETED
@@ -1 +0,0 @@
1
- 2.5
data/certs/chastell.pem DELETED
@@ -1,25 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIERDCCAqygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtjaGFz
3
- dGVsbC9EQz1jaGFzdGVsbC9EQz1uZXQwHhcNMTgxMTEzMTkzNDIxWhcNMTkxMTEz
4
- MTkzNDIxWjAmMSQwIgYDVQQDDBtjaGFzdGVsbC9EQz1jaGFzdGVsbC9EQz1uZXQw
5
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC1jioiuQD8eIyuCXhry37a
6
- KBqipfFlkc6Oz37i/LN6NE+TJCtGmgn/wDZDdJVTv3SOGomI1fFVkP7cWAIF+/4+
7
- 965ktOvenWIwok3LRaMvpnkzo0cqPoUYF9x5kx+9W2ATjmPldNsfC5gtfg5qEsPs
8
- wqdeMet0Ll5ZMR36GfB+FDlGCD7OetSN7p3oZLqp0tMaac+VYWLdHbBNBmB1jQ3s
9
- yXYndD3U/NjcTQhVJvpV/Qx9LnDdgsGlXYChiZcy1UTuTj/947WYc40/q9lVFAKg
10
- MawVC/0NJhB5CC2+eTFX5fSioNNEecET5nJlIhxPO3YhL1o04cZ9a5qL3cfKouUp
11
- Sf/QSolrGMS6K6fkUK6pkgoQSsjKqdgNXWe/I2LPstXhUEcQtPy1hEwVHBDY3DFS
12
- bFJxJCzG+0gQavu2F26unT1Ypc2pVtrD85uMIMsRv322EYrDKIFZnBK9caXr4P0A
13
- 8qF4Q8KLkrVbNSI8yQBYAZbX2s/ujgSGyVjr6EVmAAUCAwEAAaN9MHswCQYDVR0T
14
- BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEk81YvjHuQWi2e2Few63uIWo0jR
15
- MCAGA1UdEQQZMBeBFWNoYXN0ZWxsQGNoYXN0ZWxsLm5ldDAgBgNVHRIEGTAXgRVj
16
- aGFzdGVsbEBjaGFzdGVsbC5uZXQwDQYJKoZIhvcNAQELBQADggGBADHA0HjFqCjn
17
- IQkwo43CSWEZBCB+J9vfzYWAeVGWhupHlI/SxhrT7r8chfioDZ3viHMasmZQ5LE6
18
- CMnQSQ/Cpj/WwmbUzVqBKFK+awivbFoOVbLWjUbhpIZ8CTJ71bj76bNfmJM+EoyJ
19
- +e/45fxaSeq9FBuF2RN9EFndbUQ8HX2+0q66QgWV3aeegqi0HrapWE1pYMYCq3oa
20
- YxTqzgX5Dc0hOJlfUbHa8o9Wd+uZtCUDYgW2mMFWDhtqODUelGQVE1ep+r2ezdkz
21
- CC+NRY+4YHFBPMo6GFZvxWCuCURP5njE02LvRvQm/0sBJN5iiPrhCBC7B20vUD2W
22
- BBp3qVHoVKxMKQ9hflY/qov85/Hgre3BKTv338CWTrDSC3HoHUXi1LhM2QYNG8oK
23
- J29ZBdaXkaJ0zXg0Gi2ltKxs4vjxwSHdRqnaT29A8ca9mGWzzVmTqjPz8cFnt+1I
24
- vmVyvVV5f57oDgaXeZLHRbgp+sU4WyyESZ9cHyYZks1tWKMOavbO7Q==
25
- -----END CERTIFICATE-----
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- m��Ѵ��k��