common_project_tasks 0.3.2 → 0.3.3

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.
@@ -3,10 +3,10 @@ namespace :app do
3
3
  task :setup do
4
4
  ENV['RAILS_ENV'] = 'development' unless ENV.include?('RAILS_ENV')
5
5
 
6
- file = "#{RAILS_ROOT}/config/app_vars.yml"
6
+ file = "#{Rails.root.to_s}/config/app_vars.yml"
7
7
  app_vars = YAML::load(ERB.new(IO.read(file)).result)
8
8
 
9
- file = "#{RAILS_ROOT}/config/database.yml"
9
+ file = "#{Rails.root.to_s}/config/database.yml"
10
10
  database = YAML::load(ERB.new(IO.read(file)).result)
11
11
 
12
12
  # update git submodules in case new ones were added
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: common_project_tasks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wes Hays
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-06 00:00:00 -08:00
19
+ date: 2011-11-25 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements: []
85
85
 
86
86
  rubyforge_project: Project on www.github.com
87
- rubygems_version: 1.3.7
87
+ rubygems_version: 1.5.2
88
88
  signing_key:
89
89
  specification_version: 3
90
90
  summary: Rails gem/plugin to load common project tasks.