mayaml 4.0.1 → 4.0.4
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 +5 -5
- data/CHANGELOG.md +13 -0
- data/Gemfile +1 -0
- data/README.md +0 -1
- data/bin/mayaml-check +1 -1
- data/lib/mayaml.rb +1 -1
- data/lib/mayaml/error.rb +1 -1
- data/lib/mayaml/mail_account.rb +1 -1
- data/lib/mayaml/mail_account/builder.rb +1 -1
- data/lib/mayaml/mail_account/default_flag_validator.rb +1 -1
- data/lib/mayaml/mail_account/error.rb +1 -1
- data/lib/mayaml/mail_account/mailboxes_validator.rb +1 -1
- data/lib/mayaml/mail_account/port_validator.rb +1 -1
- data/lib/mayaml/mail_account/required_attributes_validator.rb +1 -1
- data/lib/mayaml/mail_account/smtp_protocol_validator.rb +2 -2
- data/lib/mayaml/mail_account/type_validator.rb +2 -2
- data/lib/mayaml/parser.rb +1 -1
- data/lib/mayaml/version.rb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c5bb3b0bd0bbb2df9518ac61c424b637c5cf5ae7bbfc233344f06b7c152114c0
|
4
|
+
data.tar.gz: 13e83b858121e3097e22f88253c3395a311c4d1fcbeb4f6632c49a39999dd97a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5c2b018469af9536a0d1d0cf3fbc0f44f20b1212c7a28888ef8125a8f59ca0cd86c7e6df7149cc382d721f313c418b09d2c3adf4c70cd6b15bf54b3117126dd
|
7
|
+
data.tar.gz: 732303822e54253dafef109280587428222621d84bbb51ce56c7bdd1b8a1e916602114587f931c5749601338f6f9cd2358928b8e03c1492e6d16245d48dfce98
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
[](http://badge.fury.io/rb/mayaml)
|
4
4
|
[](https://codeclimate.com/github/skopciewski/mayaml)
|
5
|
-
[](https://gemnasium.com/github.com/skopciewski/mayaml)
|
6
5
|
|
7
6
|
This is a base package for mail accounts configuration generators. The idea is to store mail accounts configuration in one Yaml file and then generates dedicated configs for specific programs (like getmail, mutt, etc...).
|
8
7
|
|
data/bin/mayaml-check
CHANGED
data/lib/mayaml.rb
CHANGED
data/lib/mayaml/error.rb
CHANGED
data/lib/mayaml/mail_account.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2016, 2017 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2016, 2017, 2018 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of Mayaml.
|
6
6
|
#
|
@@ -20,7 +20,7 @@
|
|
20
20
|
module Mayaml
|
21
21
|
class MailAccount
|
22
22
|
class SmtpProtocolValidator
|
23
|
-
VALID_TYPES = [
|
23
|
+
VALID_TYPES = %i[smtp smtps].freeze
|
24
24
|
|
25
25
|
def initialize(type)
|
26
26
|
@type = convert_type(type)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2016, 2017 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2016, 2017, 2018 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of Mayaml.
|
6
6
|
#
|
@@ -20,7 +20,7 @@
|
|
20
20
|
module Mayaml
|
21
21
|
class MailAccount
|
22
22
|
class TypeValidator
|
23
|
-
VALID_TYPES = [
|
23
|
+
VALID_TYPES = %i[imap pop3 imapssl pop3ssl].freeze
|
24
24
|
|
25
25
|
def initialize(type)
|
26
26
|
@type = convert_type(type)
|
data/lib/mayaml/parser.rb
CHANGED
data/lib/mayaml/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2016, 2017 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2016, 2017, 2018 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of Mayaml.
|
6
6
|
#
|
@@ -18,5 +18,5 @@
|
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
20
|
module Mayaml
|
21
|
-
VERSION = "4.0.
|
21
|
+
VERSION = "4.0.4"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mayaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Szymon Kopciewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: codeclimate-test-reporter
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
42
|
+
name: minitest-reporters
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.7.7
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Mail Accounts from Yaml parser - the base classes
|