coiasira 0.1.1 → 0.1.2
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.
- data/lib/coiasira/rails/initializer.rb +9 -1
- data/lib/coiasira/version.rb +1 -1
- metadata +4 -4
|
@@ -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
|
data/lib/coiasira/version.rb
CHANGED
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:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.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-
|
|
18
|
+
date: 2011-10-05 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bundler
|