coiasira 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,15 @@ module Rails
67
67
  paths.concat(Dir["#{root_path}/app/jobs/"])
68
68
  end
69
69
  alias_method_chain :default_autoload_paths, :coiasira
70
-
70
+
71
+ def default_eager_load_paths_with_coiasira
72
+ paths = default_eager_load_paths_without_coiasira
73
+
74
+ # Add the app's job directory
75
+ paths.concat(Dir["#{root_path}/app/jobs/"])
76
+ end
77
+ alias_method_chain :default_eager_load_paths, :coiasira
78
+
71
79
  def default_job_paths
72
80
  [File.join(root_path, 'app', 'jobs')]
73
81
  end
@@ -1,3 +1,3 @@
1
1
  module Coiasira #:nodoc:
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coiasira
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Olsen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-13 00:00:00 Z
18
+ date: 2011-10-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler