mayaml-mutt 4.0.1 → 4.0.2

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
- SHA1:
3
- metadata.gz: 3fa8ac0fc34d0b6a081e28c3834ee66617f584c6
4
- data.tar.gz: 73c651f071644f5eab490875c5dd0d5de8fc7588
2
+ SHA256:
3
+ metadata.gz: 42e955b5ec8e6fcbe4e0a9b8e8beab6a4fe126b62a3b4629cad6068c73dbd8da
4
+ data.tar.gz: d0130a932bc32f8250e609d01e0a8c6e5cfeb2c03a59113d59500b1a47bf76fd
5
5
  SHA512:
6
- metadata.gz: ef9d843cdfedcfc43812baf8eddf69b66f8f641260c9aa657b72afd96a55c92129f9fd95be8da048841823c4c2b855d68ee66ea83f765d66fbfe8109ce460724
7
- data.tar.gz: bcfa9b0053c92a83118b6334a4afbb1c19063bfd45a7d86c2db62cf55a2be64c65375e4a16984a7376a58ac82ca2e5415a5aaba63c6c0ebd0749354f06d24c1a
6
+ metadata.gz: 4aee9fc4a174d37f392dcf94ceb01eff51fc272d8ed6c12aca3018ac1fb1c2b5e08a36fc129157d82eb83fd4448d575f7d4f8b87a4dbae6021b5a0ee6aca69c7
7
+ data.tar.gz: dfda719492b9f66bedddf2c9e9e94e911a5208de4b14f6f03ceedb36de56e2ab1490493575fa3b115fd6639d87709fd8481613db84cc08bdb15ef18b27fc771e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 4.0.2 (2018.07.07)
2
+
3
+ * update code to ruby 2.5
4
+ * fix warnings, travis, docs
5
+ * update license
6
+
1
7
  ### 4.0.1 (2017.04.06)
2
8
 
3
9
  * add missing data dir to gemspec
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source "https://rubygems.org"
3
4
 
4
5
  # Specify your gem's dependencies in mayaml.gemspec
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/mayaml-mutt.svg)](http://badge.fury.io/rb/mayaml-mutt)
4
4
  [![Code Climate](https://codeclimate.com/github/skopciewski/mayaml-mutt/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/mayaml-mutt)
5
- [![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/mayaml-mutt.svg)](https://gemnasium.com/github.com/skopciewski/mayaml-mutt)
6
5
 
7
6
  This is the mutt configs generator which gets the accounts settigns from yaml file. See [Mayaml][mayaml_url]
8
7
  The mutt configuration is designed to handle many accounts and one inbox. (example implementation: [DockerMutt][docker_mutt_url])
@@ -23,9 +22,9 @@ Or install it yourself as:
23
22
 
24
23
  ## Usage
25
24
 
26
- If ruby bin dir is in your PATH, just call `mayaml-mutt-init <path_to_the_yaml_file> [<destination_config_file>]`
25
+ If ruby bin dir is in your PATH, just call `mayaml-mutt-init <path_to_the_yaml_file> [<destination_config_file>]`
27
26
  to list generated configs or store them in `destination_config_file`.
28
- Or `mayaml-mutt-creds <path_to_the_yaml_file> [<dir_for_storing_configs>]`
27
+ Or `mayaml-mutt-creds <path_to_the_yaml_file> [<dir_for_storing_configs>]`
29
28
  to list generated configs or store them in `dir_for_storing_configs`.
30
29
 
31
30
  ## Versioning
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- # Copyright (C) 2016, 2017 Szymon Kopciewski
4
+ # Copyright (C) 2016, 2017, 2018 Szymon Kopciewski
5
5
  #
6
6
  # This file is part of MayamlMutt.
7
7
  #
data/bin/mayaml-mutt-init CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- # Copyright (C) 2016, 2017 Szymon Kopciewski
4
+ # Copyright (C) 2016, 2017, 2018 Szymon Kopciewski
5
5
  #
6
6
  # This file is part of MayamlMutt.
7
7
  #
data/lib/mayaml-mutt.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 MayamlMutt.
6
6
  #
@@ -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 MayamlMutt.
6
6
  #
@@ -39,7 +39,7 @@ module MayamlMutt
39
39
  private
40
40
 
41
41
  def template_file_path
42
- File.join(Gem.datadir("mayaml-mutt"), "account_creds.mustache")
42
+ File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "account_creds.mustache")
43
43
  end
44
44
  end
45
45
  end
@@ -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 MayamlMutt.
6
6
  #
@@ -33,7 +33,7 @@ module MayamlMutt
33
33
  private
34
34
 
35
35
  def template_file_path
36
- File.join(Gem.datadir("mayaml-mutt"), "account_init.mustache")
36
+ File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "account_init.mustache")
37
37
  end
38
38
 
39
39
  def clean_name(string)
@@ -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 MayamlMutt.
6
6
  #
@@ -32,7 +32,7 @@ module MayamlMutt
32
32
  private
33
33
 
34
34
  def template_file_path
35
- File.join(Gem.datadir("mayaml-mutt"), "accounts_alternates.mustache")
35
+ File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "accounts_alternates.mustache")
36
36
  end
37
37
  end
38
38
  end
@@ -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 MayamlMutt.
6
6
  #
@@ -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 MayamlMutt.
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 MayamlMutt
21
- VERSION = "4.0.1"
21
+ VERSION = "4.0.2"
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mayaml-mutt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szymon Kopciewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2018-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mayaml
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: codeclimate-test-reporter
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: pry
56
+ name: minitest
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: minitest
70
+ name: minitest-reporters
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: minitest-reporters
84
+ name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: simplecov
98
+ name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: codeclimate-test-reporter
112
+ name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.4.8
169
+ rubygems_version: 2.7.7
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: Generates mutt configuration from mayaml parser