simple_mailing_list 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/daemons_simple_mailing_list +8 -2
- data/lib/simple_mailing_list/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c6a4b903f7caf0da003f46c3fe9f1390fe202b5
|
4
|
+
data.tar.gz: f46f14e4aecb91fe70d728eec2d3986599db60c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c57b729c463e54318c99a94860711cfe52d2dd2bdffe31e7be170addfde14d64d3749a1c25e68a7ef99366ae01ecb39701313034aa58738b627eda59118bd311
|
7
|
+
data.tar.gz: cac10d679d053d00a0898429df56451c1f11ff2218bc53fe61587a07680f64feb8b2e9705fef329750a6c41ff48bfaa2b80571f4ff7afdbcbf7a70bd34ca62e3
|
@@ -9,6 +9,12 @@ options = {
|
|
9
9
|
dir: Dir.pwd,
|
10
10
|
log_output: true
|
11
11
|
}
|
12
|
-
options[:ARGV] += ["--", "loop"] unless options[:ARGV].index("--")
|
13
12
|
|
14
|
-
|
13
|
+
File.write("daemons_simple_mailing_list.rb", <<EOS
|
14
|
+
Dir.chdir(File.dirname(File.expand_path(__FILE__)))
|
15
|
+
SimpleMailingList::CLI.start(ARGV)
|
16
|
+
EOS
|
17
|
+
)
|
18
|
+
|
19
|
+
ARGV.push( "--", "loop_main_jobs" ) unless ARGV.index("--")
|
20
|
+
Daemons.run("daemons_simple_mailing_list.rb", options)
|