auto_cron 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/auto_cron.gemspec +1 -1
- data/lib/auto_cron.rb +3 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.14
|
data/auto_cron.gemspec
CHANGED
data/lib/auto_cron.rb
CHANGED
@@ -43,8 +43,10 @@ protected
|
|
43
43
|
end
|
44
44
|
@templates.each do |template|
|
45
45
|
full_template_path = File.join( @auto_cron_dir, "#{ template }.erb" )
|
46
|
-
header
|
46
|
+
header += "\n\n" + ERB.new( File.read( full_template_path ) ).result
|
47
47
|
end
|
48
|
+
|
49
|
+
header
|
48
50
|
end
|
49
51
|
|
50
52
|
def read_crontab
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_cron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 14
|
10
|
+
version: 0.1.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Farrill
|