sushi_fabric 0.1.8 → 0.1.9

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20140317-133809'
3
+ # Version = '20140411-084254'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -12,9 +12,10 @@ require 'rails/all'
12
12
  module SushiFabric
13
13
  class Application < Rails::Application
14
14
  # default parameters
15
+ default_root = Rails.root||Dir.pwd
15
16
  config.workflow_manager = 'druby://localhost:12345'
16
- config.gstore_dir = File.join(Dir.pwd, 'public/gstore/projects')
17
- config.sushi_app_dir = Dir.pwd
17
+ config.gstore_dir = File.join(default_root, 'public/gstore/projects')
18
+ config.sushi_app_dir = default_root
18
19
  config.scratch_dir = '/tmp/scratch'
19
20
  end
20
21
 
@@ -31,8 +32,8 @@ module SushiFabric
31
32
  class Application < Rails::Application
32
33
  # default parameters
33
34
  config.workflow_manager = 'druby://localhost:12345'
34
- config.gstore_dir = File.join(Dir.pwd, 'public/gstore/projects')
35
- config.sushi_app_dir = Dir.pwd
35
+ config.gstore_dir = File.join(#{default_root}, 'public/gstore/projects')
36
+ config.sushi_app_dir = #{default_root}
36
37
  config.scratch_dir = '/tmp/scratch'
37
38
  end
38
39
  end
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sushi_fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
12
+ date: 2014-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler