brightbox-warren 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +1 -0
  2. data/lib/warren.rb +1 -1
  3. data/warren.gemspec +1 -1
  4. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.8.4. Fix typo in 0.8.3
1
2
  v0.8.3. Can now override WARREN_ENV from the command line.
2
3
  v0.8.2. Added nice error message when no details for current env
3
4
  v0.8.1. Fixed bug in passing params in
data/lib/warren.rb CHANGED
@@ -13,7 +13,7 @@ require "yaml"
13
13
  module Warren
14
14
  end
15
15
 
16
- WARREN_ENV = ENV["WARREN_ENV"] || so(defined?(RAILS_ENV) ? RAILS_ENV : "development") unless defined?(WARREN_ENV)
16
+ WARREN_ENV = ENV['WARREN_ENV'] || ((defined?(RAILS_ENV) ? RAILS_ENV : "development")) unless defined?(WARREN_ENV)
17
17
  WARREN_ROOT = (defined?(RAILS_ROOT) ? RAILS_ROOT : File.dirname($0)) unless defined?(WARREN_ROOT)
18
18
  WARREN_LIB_ROOT = File.expand_path(File.dirname(__FILE__))
19
19
 
data/warren.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{warren}
5
- s.version = "0.8.3"
5
+ s.version = "0.8.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Caius Durling, David Smalley"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightbox-warren
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caius Durling, David Smalley