bluth 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  BLUTH, CHANGES
2
2
 
3
+ #### 0.6.1 (2010-12-31) ###############################
4
+
5
+ * ADDED: Bluth.env
6
+
3
7
  #### 0.6.0 (2010-12-30) ###############################
4
8
 
5
9
  * CHANGE: Now depends on Familia 0.6
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :MAJOR: 0
3
3
  :MINOR: 6
4
- :PATCH: 0
4
+ :PATCH: 1
data/bin/bluth CHANGED
@@ -61,6 +61,7 @@ class Bluth::CLI::Definition
61
61
 
62
62
  before do |obj|
63
63
  obj.global.environment ||= 'dev'
64
+ Bluth.env = obj.global.environment
64
65
  end
65
66
 
66
67
  #TODO: command :enqueue
data/bluth.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bluth}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Delano Mandelbaum"]
12
- s.date = %q{2010-12-30}
12
+ s.date = %q{2010-12-31}
13
13
  s.default_executable = %q{bluth}
14
14
  s.description = %q{A Redis queuing system built on top of Familia}
15
15
  s.email = %q{delano@solutious.com}
data/lib/bluth.rb CHANGED
@@ -34,6 +34,7 @@ module Bluth
34
34
  # A shutdown request. We burn down the banana stand.
35
35
  class Shutdown < Familia::Problem; end
36
36
  @db = 0
37
+ @env = :dev
37
38
  @poptimeout = 60 #.seconds
38
39
  @handlers = []
39
40
  @locks = []
@@ -42,7 +43,7 @@ module Bluth
42
43
  @scheduler = nil
43
44
  class << self
44
45
  attr_reader :handlers, :db, :conf, :locks
45
- attr_accessor :redis, :uri, :priority, :scheduler, :poptimeout
46
+ attr_accessor :redis, :uri, :priority, :scheduler, :poptimeout, :env
46
47
  def sysinfo
47
48
  @sysinfo ||= SysInfo.new.freeze
48
49
  @sysinfo
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Delano Mandelbaum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-30 00:00:00 -05:00
18
+ date: 2010-12-31 00:00:00 -05:00
19
19
  default_executable: bluth
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency