mail_plugger 1.0.0.rc1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -2
  3. data/README.md +40 -22
  4. data/lib/fake_plugger/delivery_method.rb +164 -0
  5. data/lib/fake_plugger/railtie.rb +14 -0
  6. data/lib/mail_plugger.rb +11 -2
  7. data/lib/mail_plugger/delivery_method.rb +2 -2
  8. data/lib/mail_plugger/version.rb +1 -1
  9. metadata +17 -48
  10. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -22
  11. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -16
  12. data/.gitignore +0 -11
  13. data/.rspec +0 -3
  14. data/.rubocop.yml +0 -53
  15. data/.travis.yml +0 -22
  16. data/Appraisals +0 -13
  17. data/CODE_OF_CONDUCT.md +0 -14
  18. data/CONTRIBUTING.md +0 -26
  19. data/Gemfile +0 -19
  20. data/Gemfile.lock +0 -92
  21. data/Rakefile +0 -11
  22. data/bin/console +0 -17
  23. data/bin/setup +0 -8
  24. data/docs/usage_in_ruby_on_rails.md +0 -182
  25. data/docs/usage_in_script_or_console.md +0 -158
  26. data/docs/usage_of_attachments_in_ruby_on_rails.md +0 -110
  27. data/docs/usage_of_aws_ses_in_ruby_on_rails.md +0 -136
  28. data/docs/usage_of_delivery_method.md +0 -104
  29. data/docs/usage_of_mailgun_in_ruby_on_rails.md +0 -58
  30. data/docs/usage_of_mandrill_in_ruby_on_rails.md +0 -104
  31. data/docs/usage_of_more_delivery_system_in_ruby_on_rails.md +0 -332
  32. data/docs/usage_of_one_delivery_system_with_more_send_methods_in_ruby_on_rails.md +0 -119
  33. data/docs/usage_of_plug_in_method.md +0 -62
  34. data/docs/usage_of_postmark_in_ruby_on_rails.md +0 -59
  35. data/docs/usage_of_secial_options_in_ruby_on_rails.md +0 -90
  36. data/docs/usage_of_sendgrid_in_ruby_on_rails.md +0 -82
  37. data/docs/usage_of_sparkpost_in_ruby_on_rails.md +0 -142
  38. data/gemfiles/.bundle/config +0 -2
  39. data/gemfiles/mail_2.6.gemfile +0 -15
  40. data/gemfiles/mail_2.6.gemfile.lock +0 -95
  41. data/gemfiles/mail_2.7.0.gemfile +0 -15
  42. data/gemfiles/mail_2.7.0.gemfile.lock +0 -93
  43. data/gemfiles/mail_2.7.gemfile +0 -15
  44. data/gemfiles/mail_2.7.gemfile.lock +0 -93
  45. data/images/mail_plugger.png +0 -0
  46. data/mail_plugger.gemspec +0 -40
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_RETRY: "1"
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "rake", "~> 13.0"
7
- gem "rubocop", "~> 1.7", require: false
8
- gem "rubocop-performance", require: false
9
- gem "rubocop-rspec", require: false
10
- gem "rspec", "~> 3.0"
11
- gem "simplecov", require: false
12
- gem "webmock", "~> 3.0"
13
- gem "mail", "~> 2.6.0"
14
-
15
- gemspec path: "../"
@@ -1,95 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- mail_plugger (1.0.0.rc1)
5
- mail (~> 2.5)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- appraisal (2.3.0)
13
- bundler
14
- rake
15
- thor (>= 0.14.0)
16
- ast (2.4.1)
17
- crack (0.4.5)
18
- rexml
19
- diff-lcs (1.4.4)
20
- docile (1.3.4)
21
- hashdiff (1.0.1)
22
- mail (2.6.6)
23
- mime-types (>= 1.16, < 4)
24
- mime-types (3.3.1)
25
- mime-types-data (~> 3.2015)
26
- mime-types-data (3.2020.1104)
27
- parallel (1.20.1)
28
- parser (3.0.0.0)
29
- ast (~> 2.4.1)
30
- public_suffix (4.0.6)
31
- rainbow (3.0.0)
32
- rake (13.0.3)
33
- regexp_parser (2.0.3)
34
- rexml (3.2.4)
35
- rspec (3.10.0)
36
- rspec-core (~> 3.10.0)
37
- rspec-expectations (~> 3.10.0)
38
- rspec-mocks (~> 3.10.0)
39
- rspec-core (3.10.1)
40
- rspec-support (~> 3.10.0)
41
- rspec-expectations (3.10.1)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.10.0)
44
- rspec-mocks (3.10.1)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.10.0)
47
- rspec-support (3.10.1)
48
- rubocop (1.8.0)
49
- parallel (~> 1.10)
50
- parser (>= 3.0.0.0)
51
- rainbow (>= 2.2.2, < 4.0)
52
- regexp_parser (>= 1.8, < 3.0)
53
- rexml
54
- rubocop-ast (>= 1.2.0, < 2.0)
55
- ruby-progressbar (~> 1.7)
56
- unicode-display_width (>= 1.4.0, < 3.0)
57
- rubocop-ast (1.4.0)
58
- parser (>= 2.7.1.5)
59
- rubocop-performance (1.9.2)
60
- rubocop (>= 0.90.0, < 2.0)
61
- rubocop-ast (>= 0.4.0)
62
- rubocop-rspec (2.1.0)
63
- rubocop (~> 1.0)
64
- rubocop-ast (>= 1.1.0)
65
- ruby-progressbar (1.11.0)
66
- simplecov (0.21.2)
67
- docile (~> 1.1)
68
- simplecov-html (~> 0.11)
69
- simplecov_json_formatter (~> 0.1)
70
- simplecov-html (0.12.3)
71
- simplecov_json_formatter (0.1.2)
72
- thor (1.0.1)
73
- unicode-display_width (2.0.0)
74
- webmock (3.11.0)
75
- addressable (>= 2.3.6)
76
- crack (>= 0.3.2)
77
- hashdiff (>= 0.4.0, < 2.0.0)
78
-
79
- PLATFORMS
80
- ruby
81
-
82
- DEPENDENCIES
83
- appraisal
84
- mail (~> 2.6.0)
85
- mail_plugger!
86
- rake (~> 13.0)
87
- rspec (~> 3.0)
88
- rubocop (~> 1.7)
89
- rubocop-performance
90
- rubocop-rspec
91
- simplecov
92
- webmock (~> 3.0)
93
-
94
- BUNDLED WITH
95
- 2.2.4
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "rake", "~> 13.0"
7
- gem "rubocop", "~> 1.7", require: false
8
- gem "rubocop-performance", require: false
9
- gem "rubocop-rspec", require: false
10
- gem "rspec", "~> 3.0"
11
- gem "simplecov", require: false
12
- gem "webmock", "~> 3.0"
13
- gem "mail", "2.7.0"
14
-
15
- gemspec path: "../"
@@ -1,93 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- mail_plugger (1.0.0.rc1)
5
- mail (~> 2.5)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- appraisal (2.3.0)
13
- bundler
14
- rake
15
- thor (>= 0.14.0)
16
- ast (2.4.1)
17
- crack (0.4.5)
18
- rexml
19
- diff-lcs (1.4.4)
20
- docile (1.3.4)
21
- hashdiff (1.0.1)
22
- mail (2.7.0)
23
- mini_mime (>= 0.1.1)
24
- mini_mime (1.0.2)
25
- parallel (1.20.1)
26
- parser (3.0.0.0)
27
- ast (~> 2.4.1)
28
- public_suffix (4.0.6)
29
- rainbow (3.0.0)
30
- rake (13.0.3)
31
- regexp_parser (2.0.3)
32
- rexml (3.2.4)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.1)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.1)
46
- rubocop (1.8.0)
47
- parallel (~> 1.10)
48
- parser (>= 3.0.0.0)
49
- rainbow (>= 2.2.2, < 4.0)
50
- regexp_parser (>= 1.8, < 3.0)
51
- rexml
52
- rubocop-ast (>= 1.2.0, < 2.0)
53
- ruby-progressbar (~> 1.7)
54
- unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.4.0)
56
- parser (>= 2.7.1.5)
57
- rubocop-performance (1.9.2)
58
- rubocop (>= 0.90.0, < 2.0)
59
- rubocop-ast (>= 0.4.0)
60
- rubocop-rspec (2.1.0)
61
- rubocop (~> 1.0)
62
- rubocop-ast (>= 1.1.0)
63
- ruby-progressbar (1.11.0)
64
- simplecov (0.21.2)
65
- docile (~> 1.1)
66
- simplecov-html (~> 0.11)
67
- simplecov_json_formatter (~> 0.1)
68
- simplecov-html (0.12.3)
69
- simplecov_json_formatter (0.1.2)
70
- thor (1.0.1)
71
- unicode-display_width (2.0.0)
72
- webmock (3.11.0)
73
- addressable (>= 2.3.6)
74
- crack (>= 0.3.2)
75
- hashdiff (>= 0.4.0, < 2.0.0)
76
-
77
- PLATFORMS
78
- ruby
79
-
80
- DEPENDENCIES
81
- appraisal
82
- mail (= 2.7.0)
83
- mail_plugger!
84
- rake (~> 13.0)
85
- rspec (~> 3.0)
86
- rubocop (~> 1.7)
87
- rubocop-performance
88
- rubocop-rspec
89
- simplecov
90
- webmock (~> 3.0)
91
-
92
- BUNDLED WITH
93
- 2.2.4
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "rake", "~> 13.0"
7
- gem "rubocop", "~> 1.7", require: false
8
- gem "rubocop-performance", require: false
9
- gem "rubocop-rspec", require: false
10
- gem "rspec", "~> 3.0"
11
- gem "simplecov", require: false
12
- gem "webmock", "~> 3.0"
13
- gem "mail", "~> 2.7.0"
14
-
15
- gemspec path: "../"
@@ -1,93 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- mail_plugger (1.0.0.rc1)
5
- mail (~> 2.5)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- appraisal (2.3.0)
13
- bundler
14
- rake
15
- thor (>= 0.14.0)
16
- ast (2.4.1)
17
- crack (0.4.5)
18
- rexml
19
- diff-lcs (1.4.4)
20
- docile (1.3.4)
21
- hashdiff (1.0.1)
22
- mail (2.7.1)
23
- mini_mime (>= 0.1.1)
24
- mini_mime (1.0.2)
25
- parallel (1.20.1)
26
- parser (3.0.0.0)
27
- ast (~> 2.4.1)
28
- public_suffix (4.0.6)
29
- rainbow (3.0.0)
30
- rake (13.0.3)
31
- regexp_parser (2.0.3)
32
- rexml (3.2.4)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.1)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.1)
46
- rubocop (1.8.0)
47
- parallel (~> 1.10)
48
- parser (>= 3.0.0.0)
49
- rainbow (>= 2.2.2, < 4.0)
50
- regexp_parser (>= 1.8, < 3.0)
51
- rexml
52
- rubocop-ast (>= 1.2.0, < 2.0)
53
- ruby-progressbar (~> 1.7)
54
- unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.4.0)
56
- parser (>= 2.7.1.5)
57
- rubocop-performance (1.9.2)
58
- rubocop (>= 0.90.0, < 2.0)
59
- rubocop-ast (>= 0.4.0)
60
- rubocop-rspec (2.1.0)
61
- rubocop (~> 1.0)
62
- rubocop-ast (>= 1.1.0)
63
- ruby-progressbar (1.11.0)
64
- simplecov (0.21.2)
65
- docile (~> 1.1)
66
- simplecov-html (~> 0.11)
67
- simplecov_json_formatter (~> 0.1)
68
- simplecov-html (0.12.3)
69
- simplecov_json_formatter (0.1.2)
70
- thor (1.0.1)
71
- unicode-display_width (2.0.0)
72
- webmock (3.11.0)
73
- addressable (>= 2.3.6)
74
- crack (>= 0.3.2)
75
- hashdiff (>= 0.4.0, < 2.0.0)
76
-
77
- PLATFORMS
78
- ruby
79
-
80
- DEPENDENCIES
81
- appraisal
82
- mail (~> 2.7.0)
83
- mail_plugger!
84
- rake (~> 13.0)
85
- rspec (~> 3.0)
86
- rubocop (~> 1.7)
87
- rubocop-performance
88
- rubocop-rspec
89
- simplecov
90
- webmock (~> 3.0)
91
-
92
- BUNDLED WITH
93
- 2.2.4
Binary file
data/mail_plugger.gemspec DELETED
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/mail_plugger/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'mail_plugger'
7
- spec.version = MailPlugger::VERSION
8
- spec.authors = ['Norbert Szivós']
9
- spec.email = ['sysqa@yahoo.com']
10
-
11
- spec.summary = 'Plug in the required mailer API(s) with MailPlugger.'
12
- spec.description = 'Delivery Method to send emails via API(s). We can ' \
13
- 'use this Delivery Method with Ruby on Rails ' \
14
- 'ActionMailer or other solutions.'
15
- spec.homepage = 'https://github.com/norbertszivos/mail_plugger'
16
- spec.license = 'MIT'
17
- spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
18
-
19
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20
-
21
- spec.metadata['homepage_uri'] = spec.homepage
22
- spec.metadata['source_code_uri'] =
23
- 'https://github.com/norbertszivos/mail_plugger'
24
- spec.metadata['changelog_uri'] =
25
- 'https://github.com/norbertszivos/mail_plugger/blob/main/CHANGELOG.md'
26
-
27
- # Specify which files should be added to the gem when it is released.
28
- # The `git ls-files -z` loads the files in the RubyGem
29
- # that have been added into git.
30
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
31
- `git ls-files -z`.split("\x0").reject do |f|
32
- f.match(%r{^(test|spec|features)/})
33
- end
34
- end
35
- spec.bindir = 'exe'
36
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
- spec.require_paths = ['lib']
38
-
39
- spec.add_dependency 'mail', '~> 2.5'
40
- end