mayaml-mutt 4.0.2 → 4.0.3

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: 42e955b5ec8e6fcbe4e0a9b8e8beab6a4fe126b62a3b4629cad6068c73dbd8da
4
- data.tar.gz: d0130a932bc32f8250e609d01e0a8c6e5cfeb2c03a59113d59500b1a47bf76fd
3
+ metadata.gz: 9a34b4b296bd3553348ed2bee83e21df8c8142d7627e1e6fd511ebe2929fefb7
4
+ data.tar.gz: 8cc5d663323768c4a2dc92efc5aa92da2f8d9d3ee4e39f835be9d97af375bfc6
5
5
  SHA512:
6
- metadata.gz: 4aee9fc4a174d37f392dcf94ceb01eff51fc272d8ed6c12aca3018ac1fb1c2b5e08a36fc129157d82eb83fd4448d575f7d4f8b87a4dbae6021b5a0ee6aca69c7
7
- data.tar.gz: dfda719492b9f66bedddf2c9e9e94e911a5208de4b14f6f03ceedb36de56e2ab1490493575fa3b115fd6639d87709fd8481613db84cc08bdb15ef18b27fc771e
6
+ metadata.gz: 75b18c2a0aa8d460d83004f21e1295f2d55735dc4faadbab16561aeb72da1c9720c26720c80c863b6d9e5821ea08642fef081d4b4ab785998d92ffe90f1f1be3
7
+ data.tar.gz: 1102f8c5f9225c6d14fd454bd57322f7bd8bcfceb416f5dd7785d3ec6d8a74f686ecb0ade07ee637f772242cf4868caf033789f26223e89c86efddb4063f683c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 4.0.3 (2018.12.08)
2
+
3
+ * move templates to the lib
4
+
1
5
  ### 4.0.2 (2018.07.07)
2
6
 
3
7
  * update code to ruby 2.5
@@ -39,7 +39,8 @@ module MayamlMutt
39
39
  private
40
40
 
41
41
  def template_file_path
42
- File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "account_creds.mustache")
42
+ templates_dir = File.expand_path("../templates", __dir__)
43
+ File.join(templates_dir, "account_creds.mustache")
43
44
  end
44
45
  end
45
46
  end
@@ -33,7 +33,8 @@ module MayamlMutt
33
33
  private
34
34
 
35
35
  def template_file_path
36
- File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "account_init.mustache")
36
+ templates_dir = File.expand_path("../templates", __dir__)
37
+ File.join(templates_dir, "account_init.mustache")
37
38
  end
38
39
 
39
40
  def clean_name(string)
@@ -32,7 +32,8 @@ module MayamlMutt
32
32
  private
33
33
 
34
34
  def template_file_path
35
- File.join(Gem.latest_spec_for("mayaml-mutt").datadir, "accounts_alternates.mustache")
35
+ templates_dir = File.expand_path("../templates", __dir__)
36
+ File.join(templates_dir, "accounts_alternates.mustache")
36
37
  end
37
38
  end
38
39
  end
@@ -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.2"
21
+ VERSION = "4.0.3"
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.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szymon Kopciewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-07 00:00:00.000000000 Z
11
+ date: 2018-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mayaml
@@ -137,15 +137,15 @@ files:
137
137
  - README.md
138
138
  - bin/mayaml-mutt-creds
139
139
  - bin/mayaml-mutt-init
140
- - data/mayaml-mutt/account_creds.mustache
141
- - data/mayaml-mutt/account_init.mustache
142
- - data/mayaml-mutt/accounts_alternates.mustache
143
140
  - lib/mayaml-mutt.rb
144
141
  - lib/mayaml-mutt/account_creds.rb
145
142
  - lib/mayaml-mutt/account_init.rb
146
143
  - lib/mayaml-mutt/accounts_alternates.rb
147
144
  - lib/mayaml-mutt/configs_generator.rb
148
145
  - lib/mayaml-mutt/version.rb
146
+ - lib/templates/account_creds.mustache
147
+ - lib/templates/account_init.mustache
148
+ - lib/templates/accounts_alternates.mustache
149
149
  homepage: https://github.com/skopciewski/mayaml-mutt
150
150
  licenses:
151
151
  - GPL-3.0
@@ -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.7.7
169
+ rubygems_version: 2.7.8
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: Generates mutt configuration from mayaml parser