jeanine 0.7.8 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jeanine/version.rb +1 -1
- data/lib/jeanine.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ade8976ae8671460f20dcaa8c9364b5668bf14b
|
4
|
+
data.tar.gz: d415d980378441c2c4fb600748cc6a844cb05afe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d39141eac8afb2429eb90e9e8622de67a5b234cc1c6bb8afef61e8d7454c259f5cbdfaec1602ca95a14ae070d1f5c4e56c4b72c1f63a882928c22d753624298
|
7
|
+
data.tar.gz: 4ca4ebcf31534b090e0a1f62022581580e072552d0d192d5c5a765e57495cd781a628975820a05125446a36f2752453214f5a96b104babd2791aef9e63c59c69
|
data/lib/jeanine/version.rb
CHANGED
data/lib/jeanine.rb
CHANGED
@@ -7,11 +7,11 @@ require "jeanine/version"
|
|
7
7
|
require 'jeanine/core_ext'
|
8
8
|
|
9
9
|
module Jeanine
|
10
|
-
def env
|
10
|
+
def self.env
|
11
11
|
@_env ||= (ENV["RACK_ENV"].presence || "development")
|
12
12
|
end
|
13
13
|
|
14
|
-
def groups(*groups)
|
14
|
+
def self.groups(*groups)
|
15
15
|
hash = groups.extract_options!
|
16
16
|
env = Jeanine.env
|
17
17
|
groups.unshift(:default, env)
|