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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53b9132ad4862fd665528e46a51ae41409f472fb
4
- data.tar.gz: 6557e2d81cbb7fe71fa0be8e0f21c3df317a763a
3
+ metadata.gz: 7dedda7ad4708156e1da48a9891191f1e3b002d8
4
+ data.tar.gz: 35913a58885367474ed6e47e0cf5f34e38b4084c
5
5
  SHA512:
6
- metadata.gz: 6471354e1b415bb167edcc537a431c3b144ab8b69202693c0c2ea2c13d247aa23a6fb7e92eb99cb523492fc409ce425964a5396a9734ef5c974917ab11db8c8e
7
- data.tar.gz: 2b013f3ce49ceaff9a0e5f839361d14bfed304d080d693bd4eac80def8333317fefec6c9ffaff0012d4445d3b1556b0016af5754297a112febc4af4a62452cc0
6
+ metadata.gz: 0b017057e45b11a8df7a0f89a9809cd2702d7e48bc20e96d2a9ef17e74cb4c9d67d783679765f5bdb9c219422db959e3c6c1e049b99381adec7aa9aef4e9c7d8
7
+ data.tar.gz: fb3755bb20c40702eeb4d676c6d80b2de2a31c8d8d7bd3d4a93f6b750cda33b9a70db7994d5a83bbb53f12b3a3d9722d55b73df51f4e4820fe7a22408be8d96c
data/Gemfile CHANGED
@@ -4,5 +4,3 @@ gemspec name: 'lalala'
4
4
  gemspec name: 'lalala-development', groups: [:development]
5
5
  gemspec name: 'lalala-assets', groups: [:development, :assets]
6
6
  gemspec name: 'lalala-test', groups: [:test]
7
-
8
- gem 'sqlite3'
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 'thin', '= 1.5.1'
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
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "71"
3
+ BUILD = "72"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
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.71
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: thin
145
+ name: puma
146
146
  requirement: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - '='
149
149
  - !ruby/object:Gem::Version
150
- version: 1.5.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.5.1
157
+ version: 1.6.2
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: stringex
160
160
  requirement: !ruby/object:Gem::Requirement