html2mail 0.1.0 → 0.1.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/README.md +8 -8
- data/html2mail.gemspec +1 -1
- data/lib/html2mail/version.rb +1 -1
- metadata +1 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c042d5df30576ad32780120959037e402b636c3
|
4
|
+
data.tar.gz: e9c6fe82de5a37eab3a81755498701acd7e11d2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 120fc118d49be086e634ab265de5fbe2bd12cffcd387ad0658cc3258e5ac4c48650332913ea59d888f75898cdd9e8f40ca8581e8b46bde7b1f972ea3dd49e949
|
7
|
+
data.tar.gz: 1a4a16dfeeb330ba5d91a28cd2c0d2722a6c082fc91a5922262c77311ccf712536f8f95408f265aa91f24186e72dac3872eb1b08423fa88f2bafc642d6cfd1fb
|
data/README.md
CHANGED
@@ -7,37 +7,37 @@ Generates html/eml stuff for your newsletters from generic html (with images in
|
|
7
7
|
|
8
8
|
Show inline help:
|
9
9
|
|
10
|
-
|
11
|
-
`
|
10
|
+
General help: `html2mail help`
|
11
|
+
Hel for `send` command: `html2mail send --help`
|
12
12
|
|
13
13
|
|
14
14
|
Convert html with images to .eml
|
15
15
|
|
16
|
-
`
|
16
|
+
`html2mail convert /path/to/newsletter.html`
|
17
17
|
|
18
18
|
or all html files at once:
|
19
19
|
|
20
|
-
`
|
20
|
+
`html2mail convert /path/to/*.html`
|
21
21
|
|
22
22
|
|
23
23
|
Save "premailed" HTML files (convert css to inline styles):
|
24
24
|
|
25
|
-
`
|
25
|
+
`html2mail prepare /path/to/*.html`
|
26
26
|
|
27
27
|
|
28
28
|
Send test emails and use stored config for SMTP server:
|
29
29
|
|
30
|
-
`
|
30
|
+
`html2mail send /path/to/newsletters/*.html --to your@domain.com --domain=example.com --user=user@example.com --password=princess1 --subj='Test mail'`
|
31
31
|
|
32
32
|
Init SMTP config:
|
33
33
|
|
34
34
|
> WARNING: Password stored as plain text in config file `.html2mail.yml` file in $HOME for Linux
|
35
35
|
|
36
|
-
`
|
36
|
+
`html2mail --domain=example.com --user=user@example.com --password=princess1 initconfig`
|
37
37
|
|
38
38
|
Send test emails and use stored config for SMTP server:
|
39
39
|
|
40
|
-
`
|
40
|
+
`html2mail send /path/to/newsletters/*.html --to your@domain.com`
|
41
41
|
|
42
42
|
|
43
43
|
## Based on gems
|
data/html2mail.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
26
|
spec.bindir = "bin"
|
27
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
|
+
spec.executables = "html2mail" #spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
30
|
spec.add_dependency "actionmailer", "~> 4.2"
|
data/lib/html2mail/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html2mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Egor Vakhromtsev
|
@@ -113,9 +113,7 @@ description: Generates html/eml stuff for your newsletters from generic html (wi
|
|
113
113
|
email:
|
114
114
|
- e.vakhromtsev@gmail.com
|
115
115
|
executables:
|
116
|
-
- console
|
117
116
|
- html2mail
|
118
|
-
- setup
|
119
117
|
extensions: []
|
120
118
|
extra_rdoc_files: []
|
121
119
|
files:
|