gemstash 2.8.0 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gemstash/config.ru +2 -0
- data/lib/gemstash/puma.rb +1 -0
- data/lib/gemstash/version.rb +1 -1
- data/lib/gemstash/web.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d93d61e291556de3c67887358a400305972899b93dea7b72ac25afd930b45cc2
|
|
4
|
+
data.tar.gz: 236d3f6b02e2b363d46e62c74b28dda908aae75fcf3a38f581cef2289f30b096
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 037b6f7d6c68e72fbd7ba9b4814b29dad7cf88b77b55e016df1fff8ef2b7334c925388dfd2f6fcc31be418ae1840acc088fb6f33a45de3eec085521cd26c6684
|
|
7
|
+
data.tar.gz: 7232a2a14cd8fecbd8b80badc2cfecdc2bc8c871757d5cadf80b9bbda5993653082362bcd5e38073be29b58b966e56083011b7c517701ffd92f6d21183d72c29
|
data/lib/gemstash/config.ru
CHANGED
data/lib/gemstash/puma.rb
CHANGED
|
@@ -8,3 +8,4 @@ threads 0, Gemstash::Env.current.config[:puma_threads].to_i
|
|
|
8
8
|
bind Gemstash::Env.current.config[:bind].to_s
|
|
9
9
|
workers Gemstash::Env.current.config[:puma_workers].to_i unless RUBY_PLATFORM == "java"
|
|
10
10
|
rackup Gemstash::Env.current.rackup
|
|
11
|
+
environment ENV["APP_ENV"] || ENV["RACK_ENV"] || "production"
|
data/lib/gemstash/version.rb
CHANGED
data/lib/gemstash/web.rb
CHANGED
|
@@ -7,7 +7,7 @@ require "gemstash"
|
|
|
7
7
|
module Gemstash
|
|
8
8
|
# :nodoc:
|
|
9
9
|
class Web < Sinatra::Base
|
|
10
|
-
|
|
10
|
+
def initialize(options = {})
|
|
11
11
|
raise ArgumentError unless options.is_a?(Hash)
|
|
12
12
|
|
|
13
13
|
@gemstash_env = options[:gemstash_env] || Gemstash::Env.new
|