appjob 0.0.2 → 0.0.4

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.
Files changed (3) hide show
  1. data/lib/appjob.rb +1 -1
  2. data/lib/appjob/version.rb +1 -1
  3. metadata +4 -4
@@ -15,7 +15,7 @@ class Appjob
15
15
  if defined? Rails and RAILS_ENV and RAILS_ROOT
16
16
  log 'Init ok, env='+Rails.env.to_s
17
17
  Thread.abort_on_exception = true
18
- FileUtils.mv(File.join(File.dirname(__FILE__),'every.rb'), EVERY_PATH) unless File.exist? EVERY_PATH
18
+ FileUtils.mv(File.join('lib',File.dirname(__FILE__),'every.rb'), EVERY_PATH) unless File.exist? EVERY_PATH
19
19
  eval(File.read(EVERY_PATH))
20
20
  else
21
21
  puts 'Appjob: No rails app detected'
@@ -1,3 +1,3 @@
1
1
  class Appjob
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
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: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeks
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-24 00:00:00 +04:00
18
+ date: 2011-10-25 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21