signore 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eba6ae8ca7d28dd0e9ab1ba802d3c123cac60ea8
4
- data.tar.gz: 863b5bf72e37a144dab17cbb4f4e0b81b993471a
3
+ metadata.gz: 4429b92a7301b71b4b710583e55ce18a5b46777f
4
+ data.tar.gz: dcf99b4753c4e304385ae67c2b90a9c69eb53899
5
5
  SHA512:
6
- metadata.gz: 33ec2292285973a2bf1b2e906088b593005108d38dcbc6217ff4e7e8b961303fdc99109d2c63ad099f89cddd9276c59e4280f44a7e4a10ed9da59f4b786a494c
7
- data.tar.gz: a9eca84ec42b8cbc4a9790c2e30a0f815d54f18955f92e4675e08feb1761da4ed1d9088cff407fe6c833c8f6fe5aeed221b76496ec35eeef9cbf0332283fbfba
6
+ metadata.gz: 7b091b37f94a2451db56b668896b2faa52ed05e00dd583d12f633d292b767fdfee282bf70f4d316b861b3de11a745728191f00225a76d0702905225a9e8a0010
7
+ data.tar.gz: 12648f89f7636705a019a020c94cd279d302ea110e57ec317fdd0ebc6f7636a0fcb87c038d11f4e50950dc6347253858ce771a8369cfe238ac380bd1ce3673b2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- signore (0.3.0)
4
+ signore (0.3.1)
5
5
  lovely_rufus (~> 0.2.0)
6
6
 
7
7
  GEM
@@ -1,9 +1,9 @@
1
1
  require 'lovely_rufus'
2
2
 
3
3
  module Signore
4
- Signature = Struct.new(*%i(author source subject tags text)) do
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, text
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.0'
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) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Szotkowski