gbdev-common_project_tasks 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/app_vars.yml +1 -0
- data/lib/common_project_tasks/app.rake +8 -0
- metadata +2 -2
data/examples/app_vars.yml
CHANGED
@@ -24,6 +24,14 @@ namespace :app do
|
|
24
24
|
ENV['FIXTURES'] = app_vars[ENV['RAILS_ENV']]['fixtures']
|
25
25
|
Rake::Task['spec:db:fixtures:load'].invoke
|
26
26
|
end
|
27
|
+
|
28
|
+
unless app_vars[ENV['RAILS_ENV']]['post_fixture_tasks'].nil?
|
29
|
+
#begin
|
30
|
+
Rake::Task[app_vars[ENV['RAILS_ENV']]['post_fixture_tasks']].invoke
|
31
|
+
#rescue
|
32
|
+
# Fail quietly if the task does not exist
|
33
|
+
#end
|
34
|
+
end
|
27
35
|
end
|
28
36
|
|
29
37
|
##############################################
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gbdev-common_project_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wes Hays
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-
|
13
|
+
date: 2009-02-05 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|