appjob 0.0.11 → 0.0.12

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.
@@ -1,8 +1,8 @@
1
1
  = Appjob
2
2
 
3
- Simple rails sheduler, which run ruby code in current environment
3
+ Simple rails sheduler, which run ruby-tasks in current app environment
4
4
 
5
5
  = Usage
6
6
 
7
- Use script/appjob fro manage tasks. script/appjob start or stop, and script/appjob stop taskname.
7
+ Use script/appjob to manage tasks. script/appjob start or stop, and script/appjob stop taskname.
8
8
  Appjob tasks configured in app/config/every.rb
@@ -109,6 +109,8 @@ class Appjob
109
109
  def self.clean_command
110
110
  File.delete(FLAG_FILE) if File.exist?(FLAG_FILE)
111
111
  end
112
+
113
+ #попахивает ?!
112
114
  end
113
115
 
114
- Appjob.start
116
+ Appjob.start
@@ -2,19 +2,6 @@
2
2
  log "find me at app/config/every.rb"
3
3
 
4
4
  #repeated appjob-task, first argument - repeat interval, second - task name(must be unique)
5
- every 3.seconds, "live" do
6
- log "Live! 3 sec"
7
- end
8
-
9
- every 20.seconds, "killer" do
10
- log "killer 20 sec"
11
- end
12
-
13
- every 6.seconds, "victim" do
14
- log "victim 6 sec"
15
- end
16
-
17
- every 7.seconds, "list" do
18
- log list
19
- log "list task every 7 sec"
20
- end
5
+ #every 3.seconds, "live" do
6
+ # log "Live! 3 sec"
7
+ #end
@@ -1,3 +1,3 @@
1
1
  class Appjob
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appjob
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeks