constantinople 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -32,7 +32,8 @@ Environments
32
32
  ============
33
33
  If there is a non-empty ENV['RAILS_ENV'], ENV['RACK_ENV'] or ENV['APP_ENV'] the
34
34
  first such environment will be used as a key whose values will be merged into
35
- the level above. So for example, if your database.yml file has
35
+ the level above. If none of those are defined, 'development' is used.
36
+ So for example, if your database.yml file has
36
37
 
37
38
  username: root
38
39
  password:
@@ -36,7 +36,7 @@ module Constantinople
36
36
  environment = ENV[env]
37
37
  return environment unless environment.nil? || environment.empty?
38
38
  end
39
- nil
39
+ 'development'
40
40
  end
41
41
 
42
42
  def self.caller_config_directories
@@ -1,3 +1,3 @@
1
1
  module Constantinople
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constantinople
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Johnson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-29 00:00:00 -05:00
18
+ date: 2011-08-04 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency