dotenv-deployment 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d1c2ce94d97eeabf2bc88d2bcf1d1b26db3f7bc
4
- data.tar.gz: 71739e84b1881af268542d16ce5fe86f2b843fcd
3
+ metadata.gz: e4f4b2ff79bb5abcadd19b7d832807eda6828384
4
+ data.tar.gz: c6e471aa20d735898ca3064a2cdecb7af7f6457c
5
5
  SHA512:
6
- metadata.gz: 853e5f6efafe502d11fe82a5e08ac5abffd6f821beb3488853da484e5d10527da96401a7a85fb9c827d4cc77c7cf1389b5adb2daf6732b990267b0e41659e347
7
- data.tar.gz: 57888ed44b2b37db707d58cd8301e18badbb523e1a5e4eaea7d1a2a2197e5a98fb3034a4ee955ccb1df4af005a29a88ef853a45d47fec42bf669b8cd9b22c2df
6
+ metadata.gz: 888db081a409d26f199cb8f777689d7b4a9d3c08baf338a61dd22709afc05b1d3bf2dfeae52dee38bc10a1f94d1f2100bbb46b3bbb0e6a53cabff093a736a0b9
7
+ data.tar.gz: 37f81a9cc3f44f7466b3b94773b29248e8f01a33e740926ae2627ebbb054cbd28a1cf3003e680bcc26eec2dd43b9ea61747c15839e238c2d10fb5e6cf1baa62d
data/Changelog.md ADDED
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ ## 0.0.2 - Apr 22, 2014
4
+
5
+ * Fix syntax errors after extracting from `dotenv`
6
+
7
+ [Full Changelog](https://github.com/bkeepers/dotenv/compare/v0.0.1...v0.0.2)
8
+
9
+ ## 0.0.1 - Apr 21, 2014
10
+
11
+ * Extract from https://github.com/bkeepers/dotenv
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # dotenv
1
+ # dotenv-deployment
2
2
 
3
3
  [dotenv](https://github.com/bkeepers/dotenv) is designed to load configuration variables into `ENV` in *development*. It does not concern itself with production environments because there are typically better ways to manage configuration in those environments—such as `/etc/environment` managed by [Puppet](https://github.com/puppetlabs/puppet) or [Chef](https://github.com/opscode/chef), `heroku config`, etc.
4
4
 
@@ -2,10 +2,11 @@ require "dotenv"
2
2
  require "dotenv/deployment/version"
3
3
 
4
4
  # Load defaults from .env or *.env in config
5
- Dotenv.load '.env', *configs
5
+ Dotenv.load '.env'
6
6
  Dotenv.load *Dir.glob("#{Rails.root}/config/**/*.env") if defined?(Rails)
7
7
 
8
8
  # Override any existing variables if an environment-specific file exists
9
- environment = ENV['RACK_ENV'] || (defined?(Rails) && Rails.env)
10
- Dotenv.overload ".env.#{environment}"
11
- Dotenv.overload *Dir.glob("#{Rails.root}/config/**/*.env.#{environment}") if defined?(Rails)
9
+ if environment = ENV['RACK_ENV'] || (defined?(Rails) && Rails.env)
10
+ Dotenv.overload ".env.#{environment}"
11
+ Dotenv.overload *Dir.glob("#{Rails.root}/config/**/*.env.#{environment}") if defined?(Rails)
12
+ end
@@ -3,7 +3,7 @@ require 'capistrano/version'
3
3
  if defined?(Capistrano::VERSION) && Capistrano::VERSION >= '3.0'
4
4
  raise 'Please read https://github.com/bkeepers/dotenv-deployment#capistrano to update your dotenv configuration for new Capistrano version'
5
5
  else
6
- require 'dotenv/capistrano/recipes'
6
+ require 'dotenv/deployment/capistrano/recipes'
7
7
 
8
8
  Capistrano::Configuration.instance(:must_exist).load do
9
9
  before "deploy:finalize_update", "dotenv:symlink"
@@ -1,5 +1,5 @@
1
1
  module Dotenv
2
2
  module Deployment
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotenv-deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - .gitignore
49
+ - Changelog.md
49
50
  - Gemfile
50
51
  - LICENSE.txt
51
52
  - README.md