mongo_mailer 0.0.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mongo_mailer might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.gitignore +10 -13
- data/.travis.yml +6 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +112 -61
- data/README.md +112 -0
- data/Rakefile +7 -4
- data/bin/console +7 -0
- data/bin/mongo_mailer +11 -0
- data/bin/worker +6 -0
- data/config/boot.rb +12 -0
- data/config/mongo_mailer.yml.example +38 -0
- data/lib/generators/mongo_mailer/mongo_mailer_generator.rb +10 -0
- data/lib/generators/mongo_mailer/templates/mongo_mailer.yml +38 -0
- data/lib/mongo_mailer.rb +9 -2
- data/lib/mongo_mailer/capistrano.rb +33 -0
- data/lib/mongo_mailer/capistrano3.rb +49 -0
- data/lib/mongo_mailer/common/deliveries_counter.rb +18 -0
- data/lib/mongo_mailer/common/has_mongo_collection.rb +36 -0
- data/lib/mongo_mailer/common/mail_queue.rb +49 -0
- data/lib/mongo_mailer/configuration.rb +127 -0
- data/lib/mongo_mailer/core_ext/hash.rb +12 -0
- data/lib/mongo_mailer/delivery_methods/mongo_queue.rb +28 -0
- data/lib/mongo_mailer/delivery_methods/test.rb +38 -0
- data/lib/mongo_mailer/rails.rb +5 -0
- data/lib/mongo_mailer/standalone.rb +6 -0
- data/lib/mongo_mailer/standalone/final_deliverer.rb +35 -0
- data/lib/mongo_mailer/standalone/worker.rb +23 -0
- data/lib/mongo_mailer/version.rb +3 -0
- data/log/.gitkeep +0 -0
- data/mongo_mailer.gemspec +25 -26
- data/spec/lib/common/deliveries_counter_spec.rb +22 -0
- data/spec/lib/common/mail_queue_spec.rb +68 -0
- data/spec/lib/configuration_spec.rb +26 -0
- data/spec/lib/standalone/final_deliverer_spec.rb +40 -0
- data/spec/rails/delivery_methods/mongo_queue_spec.rb +33 -0
- data/spec/spec_helper.rb +29 -0
- metadata +97 -44
- data/LICENSE +0 -21
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2021 Krzysztof Knapik
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|