brightbox-warren 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG +1 -0
  2. data/Manifest +1 -0
  3. data/lib/warren.rb +1 -1
  4. data/warren.gemspec +2 -2
  5. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.8.3. Can now override WARREN_ENV from the command line.
1
2
  v0.8.2. Added nice error message when no details for current env
2
3
  v0.8.1. Fixed bug in passing params in
3
4
  v0.8. Gem works with rails
data/Manifest CHANGED
@@ -26,3 +26,4 @@ spec/warren/queue_spec.rb
26
26
  spec/warren/warren_spec.rb
27
27
  tasks/rdoc.rake
28
28
  tasks/rspec.rake
29
+ warren.gemspec
data/lib/warren.rb CHANGED
@@ -13,7 +13,7 @@ require "yaml"
13
13
  module Warren
14
14
  end
15
15
 
16
- WARREN_ENV = (defined?(RAILS_ENV) ? RAILS_ENV : "development") unless defined?(WARREN_ENV)
16
+ WARREN_ENV = ENV["WARREN_ENV"] || so(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,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{warren}
5
- s.version = "0.8.2"
5
+ s.version = "0.8.3"
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"]
9
- s.date = %q{2009-06-15}
9
+ s.date = %q{2009-06-17}
10
10
  s.description = %q{Library for pushing messages onto and off RabbitMQ queues}
11
11
  s.email = %q{support@brightbox.co.uk}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/warren/adapters/amqp_adapter.rb", "lib/warren/adapters/bunny_adapter.rb", "lib/warren/connection.rb", "lib/warren/filters/shared_secret.rb", "lib/warren/filters/yaml.rb", "lib/warren/message_filter.rb", "lib/warren/queue.rb", "lib/warren.rb", "LICENSE", "tasks/rdoc.rake", "tasks/rspec.rake"]
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.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caius Durling, David Smalley
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-15 00:00:00 -07:00
12
+ date: 2009-06-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency