signore 0.3.0 → 0.3.1
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/Gemfile.lock +1 -1
- data/lib/signore/signature.rb +2 -2
- data/signore.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4429b92a7301b71b4b710583e55ce18a5b46777f
|
|
4
|
+
data.tar.gz: dcf99b4753c4e304385ae67c2b90a9c69eb53899
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b091b37f94a2451db56b668896b2faa52ed05e00dd583d12f633d292b767fdfee282bf70f4d316b861b3de11a745728191f00225a76d0702905225a9e8a0010
|
|
7
|
+
data.tar.gz: 12648f89f7636705a019a020c94cd279d302ea110e57ec317fdd0ebc6f7636a0fcb87c038d11f4e50950dc6347253858ce771a8369cfe238ac380bd1ce3673b2
|
data/Gemfile.lock
CHANGED
data/lib/signore/signature.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require 'lovely_rufus'
|
|
2
2
|
|
|
3
3
|
module Signore
|
|
4
|
-
Signature = Struct.new(*%i(author source subject tags
|
|
4
|
+
Signature = Struct.new(*%i(text author source subject tags)) do
|
|
5
5
|
def initialize(author: nil, source: nil, subject: nil, tags: nil, text: nil)
|
|
6
|
-
super author, source, subject, tags
|
|
6
|
+
super text, author, source, subject, tags
|
|
7
7
|
each_pair { |key, value| self[key] = nil if value and value.empty? }
|
|
8
8
|
end
|
|
9
9
|
|
data/signore.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
|
7
7
|
gem.license = 'AGPL-3.0'
|
|
8
8
|
gem.name = 'signore'
|
|
9
9
|
gem.summary = 'signore: an email signature manager/randomiser'
|
|
10
|
-
gem.version = '0.3.
|
|
10
|
+
gem.version = '0.3.1'
|
|
11
11
|
|
|
12
12
|
gem.files = `git ls-files -z`.split "\0"
|
|
13
13
|
gem.executables = gem.files.grep(/^bin\//).map { |path| File.basename(path) }
|