geordi 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/dumple +3 -1
- data/lib/geordi/version.rb +1 -1
- metadata +5 -5
data/bin/dumple
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require 'erb'
|
4
|
+
|
3
5
|
fail_gently = ARGV.include?("--fail-gently")
|
4
6
|
|
5
7
|
if ARGV.include?("-i")
|
@@ -41,7 +43,7 @@ begin
|
|
41
43
|
current = Dir.pwd
|
42
44
|
end
|
43
45
|
|
44
|
-
config = YAML::load(File.
|
46
|
+
config = YAML::load(ERB.new(File.read(config_path)).result)
|
45
47
|
|
46
48
|
environment = ARGV.reject{ |arg| arg[0].chr == '-' }.first || 'production'
|
47
49
|
config = config[environment] or raise "No #{environment} database found.\nUsage: dumple ENVIRONMENT"
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geordi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 47
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 13
|
9
|
-
-
|
10
|
-
version: 0.13.
|
9
|
+
- 2
|
10
|
+
version: 0.13.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Henning Koch
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-06-
|
18
|
+
date: 2012-06-15 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements: []
|
109
109
|
|
110
110
|
rubyforge_project: geordi
|
111
|
-
rubygems_version: 1.8.
|
111
|
+
rubygems_version: 1.8.10
|
112
112
|
signing_key:
|
113
113
|
specification_version: 3
|
114
114
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|