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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afc0e94603f45ac67c66da6dd104054909f16fc2
4
- data.tar.gz: d5ee1f834a7efa9681894ade1b26f2a502cb3613
3
+ metadata.gz: 5c042d5df30576ad32780120959037e402b636c3
4
+ data.tar.gz: e9c6fe82de5a37eab3a81755498701acd7e11d2a
5
5
  SHA512:
6
- metadata.gz: aa1cb0a4922ae2a892ef3a4f9b84800b859de06fa8870993119515c098138827a4fd5ebf254013854ca856225ffbe2014091f9956a505d907dcf1ddebcb7aab3
7
- data.tar.gz: 7d9d017bb889ae93781251cf747e261d83e542ca37129bd45265d7a8a9248447151510f947d4b91eb87d0827d4153a76b450256bac3370ec9aa18a1b17e1f6a1
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
- `bundle exec bin/html2mail help`
11
- `bundle exec bin/html2mail send --help`
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
- `bundle exec bin/html2mail convert /path/to/newsletter.html`
16
+ `html2mail convert /path/to/newsletter.html`
17
17
 
18
18
  or all html files at once:
19
19
 
20
- `bundle exec bin/html2mail convert /path/to/*.html`
20
+ `html2mail convert /path/to/*.html`
21
21
 
22
22
 
23
23
  Save "premailed" HTML files (convert css to inline styles):
24
24
 
25
- `bundle exec bin/html2mail prepare /path/to/*.html`
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
- `bundle exec bin/html2mail send /path/to/newsletters/*.html --to your@domain.com --domain=example.com --user=user@example.com --password=princess1 --subj='Test mail'`
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
- `bundle exec bin/html2mail --domain=example.com --user=user@example.com --password=princess1 initconfig`
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
- `bundle exec bin/html2mail send /path/to/newsletters/*.html --to your@domain.com`
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"
@@ -1,3 +1,3 @@
1
1
  module Html2mail
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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: