lalala 4.0.0.dev.71 → 4.0.0.dev.72
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/lalala.gemspec +1 -1
- data/lib/lalala/engine.rb +8 -0
- data/lib/lalala/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dedda7ad4708156e1da48a9891191f1e3b002d8
|
4
|
+
data.tar.gz: 35913a58885367474ed6e47e0cf5f34e38b4084c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b017057e45b11a8df7a0f89a9809cd2702d7e48bc20e96d2a9ef17e74cb4c9d67d783679765f5bdb9c219422db959e3c6c1e049b99381adec7aa9aef4e9c7d8
|
7
|
+
data.tar.gz: fb3755bb20c40702eeb4d676c6d80b2de2a31c8d8d7bd3d4a93f6b750cda33b9a70db7994d5a83bbb53f12b3a3d9722d55b73df51f4e4820fe7a22408be8d96c
|
data/Gemfile
CHANGED
data/lalala.gemspec
CHANGED
@@ -40,7 +40,7 @@ Gem::Specification.new do |gem|
|
|
40
40
|
gem.add_runtime_dependency 'pg', '= 0.14.1'
|
41
41
|
gem.add_runtime_dependency 'rails', '= 3.2.13'
|
42
42
|
gem.add_runtime_dependency 'redcarpet', '= 2.2.2'
|
43
|
-
gem.add_runtime_dependency '
|
43
|
+
gem.add_runtime_dependency 'puma', '= 1.6.2'
|
44
44
|
gem.add_runtime_dependency 'stringex', '= 1.5.1'
|
45
45
|
gem.add_runtime_dependency 'rails-i18n', '= 0.7.3'
|
46
46
|
gem.add_runtime_dependency 'i18n-country-translations', '= 0.0.9'
|
data/lib/lalala/engine.rb
CHANGED
@@ -9,6 +9,10 @@ module Lalala
|
|
9
9
|
config.lalala.i18n = ActiveSupport::OrderedOptions.new
|
10
10
|
config.lalala.i18n.adapter = nil
|
11
11
|
|
12
|
+
initializer "lalala.threadsafe" do |app|
|
13
|
+
app.config.threadsafe!
|
14
|
+
end
|
15
|
+
|
12
16
|
initializer "lalala.error_handlers" do |app|
|
13
17
|
app.config.exceptions_app = app.routes
|
14
18
|
end
|
@@ -67,4 +71,8 @@ module Lalala
|
|
67
71
|
ActionDispatch::Routing::Mapper.send :include, Lalala::Pages::RouteMapper
|
68
72
|
end
|
69
73
|
|
74
|
+
# load the puma handler
|
75
|
+
require 'rack/handler'
|
76
|
+
Rack::Handler::WEBrick = Rack::Handler.get(:puma)
|
77
|
+
|
70
78
|
end
|
data/lib/lalala/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lalala
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.dev.
|
4
|
+
version: 4.0.0.dev.72
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Menke
|
@@ -142,19 +142,19 @@ dependencies:
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: 2.2.2
|
144
144
|
- !ruby/object:Gem::Dependency
|
145
|
-
name:
|
145
|
+
name: puma
|
146
146
|
requirement: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - '='
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 1.
|
150
|
+
version: 1.6.2
|
151
151
|
type: :runtime
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - '='
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 1.
|
157
|
+
version: 1.6.2
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: stringex
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|