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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ecec8f3379ab5a01ac761fb2d697517650ba536
4
- data.tar.gz: 74c99a1b0148890a87f30f63b50de08413929860
3
+ metadata.gz: 4ade8976ae8671460f20dcaa8c9364b5668bf14b
4
+ data.tar.gz: d415d980378441c2c4fb600748cc6a844cb05afe
5
5
  SHA512:
6
- metadata.gz: 68618175bef0468fea47f0afc90b5018e78d1a11e3a244195fd185052a03b55a219db4431905c87978b2f02444e888330297e63e548339e297e42b187679b0d0
7
- data.tar.gz: 17169f8c8e09dc422d65d7bf6a3bb5750b436729caa12abaa5ecd6316cc90d26f0ab4c559dd7d8ca178fa4f0eb732acbcc4439cedf1e2a62c0bc16838b6c6a96
6
+ metadata.gz: 3d39141eac8afb2429eb90e9e8622de67a5b234cc1c6bb8afef61e8d7454c259f5cbdfaec1602ca95a14ae070d1f5c4e56c4b72c1f63a882928c22d753624298
7
+ data.tar.gz: 4ca4ebcf31534b090e0a1f62022581580e072552d0d192d5c5a765e57495cd781a628975820a05125446a36f2752453214f5a96b104babd2791aef9e63c59c69
@@ -1,3 +1,3 @@
1
1
  module Jeanine
2
- VERSION = "0.7.8"
2
+ VERSION = "0.8"
3
3
  end
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeanine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.8
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Brody