active_wrapper 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +0 -1
  2. data/gemspec.rb +1 -1
  3. data/lib/active_wrapper.rb +1 -1
  4. metadata +2 -2
data/Rakefile CHANGED
@@ -14,7 +14,6 @@ end
14
14
  desc "Install gem"
15
15
  task :install do
16
16
  Rake::Task['gem'].invoke
17
- `gem uninstall #{GEM_NAME} -x`
18
17
  `gem install pkg/#{GEM_NAME}*.gem`
19
18
  `rm -Rf pkg`
20
19
  end
data/gemspec.rb CHANGED
@@ -19,5 +19,5 @@ GEM_SPEC = Gem::Specification.new do |s|
19
19
  s.name = GEM_NAME
20
20
  s.platform = Gem::Platform::RUBY
21
21
  s.require_path = "lib"
22
- s.version = "0.2.4"
22
+ s.version = "0.2.5"
23
23
  end
@@ -22,7 +22,7 @@ module ActiveWrapper
22
22
 
23
23
  options = {
24
24
  :base => File.dirname($0),
25
- :env => 'development',
25
+ :env => ENV['RACK_ENV'] || ENV['RAILS_ENV'] || ENV['MERB_ENV'] || 'development',
26
26
  :log => options[:env] || 'development'
27
27
  }.merge(options.reject { |k, v| v.nil? })
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-23 00:00:00 -08:00
12
+ date: 2010-03-03 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency