plezi 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/plezi +2 -2
- data/lib/plezi/common/dsl.rb +1 -0
- data/lib/plezi/version.rb +1 -1
- data/plezi.gemspec +1 -1
- data/resources/config.ru +6 -2
- data/resources/environment.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a79e8ebffa88be56932714fbfe61cde3e551f34
|
4
|
+
data.tar.gz: e05504c2761ea2dd76168c20754187421f51a08b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 912eb0219649ab4e90849735a5403d78f499e4fc32f459e78e5c2c714d65f5c8d89ebfdaa86973fa47722c72dc538ebef950c27538245266cca4ccd536102da2
|
7
|
+
data.tar.gz: 0baa2f1aab0646f043359695368629c9ffede6016ad505e64fc81861142ca0c068516471493370490d9041bfbcb59c007c65f39e6d059c8942a084c0cd5fae07
|
data/bin/plezi
CHANGED
@@ -90,8 +90,8 @@ class AppTemplate
|
|
90
90
|
app_tree["db"]["config.yml"] ||= IO.read(::File.expand_path(File.join("..", "..", "resources" ,"database.yml"), __FILE__))
|
91
91
|
|
92
92
|
#set up the extras folder, to be filled with future goodies.
|
93
|
-
app_tree["extras"] ||= {}
|
94
|
-
app_tree["extras"]["config.ru"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"config.ru"), __FILE__)
|
93
|
+
# app_tree["extras"] ||= {}
|
94
|
+
# app_tree["extras"]["config.ru"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"config.ru"), __FILE__)
|
95
95
|
|
96
96
|
#set up I18n stub
|
97
97
|
app_tree["locales"] ||= {}
|
data/lib/plezi/common/dsl.rb
CHANGED
data/lib/plezi/version.rb
CHANGED
data/plezi.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "grhttp", "~> 0.0.
|
21
|
+
spec.add_dependency "grhttp", "~> 0.0.7"
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.7"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
|
data/resources/config.ru
CHANGED
@@ -31,7 +31,11 @@ load ::File.expand_path(File.join("..", "environment.rb"), __FILE__)
|
|
31
31
|
load ::File.expand_path(File.join("..", "routes.rb"), __FILE__)
|
32
32
|
|
33
33
|
# start the plezi EM, to make sure that the plezi async code doesn't break.
|
34
|
+
GReactor.clear_listeners
|
34
35
|
GReactor.start Plezi::Settings.max_threads
|
35
36
|
|
36
|
-
# run the Rack app
|
37
|
-
run Plezi::Base::
|
37
|
+
# run the Rack app - not yet supported
|
38
|
+
# run Plezi::Base::Rack
|
39
|
+
|
40
|
+
# # exit rack to start the plezi server
|
41
|
+
# Process.kill 'TERM'
|
data/resources/environment.rb
CHANGED
@@ -27,7 +27,7 @@ require 'tilt/sass' if defined?(::Slim) && defined?(::Sass)
|
|
27
27
|
GReactor.create_logger File.expand_path(File.join 'logs','server.log'), ENV["RACK_ENV"]=="development" unless ENV['DYNO']
|
28
28
|
|
29
29
|
## Allow forking? ONLY if your code is fully scalable across processes.
|
30
|
-
# GReactor.set_forking 4
|
30
|
+
# GReactor::Settings.set_forking 4
|
31
31
|
|
32
32
|
# load all config files
|
33
33
|
Dir[File.join "{config}", "**" , "*.rb"].each {|file| load File.expand_path(file)}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plezi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|