plezi 0.15.0 → 0.15.1

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
- SHA1:
3
- metadata.gz: 45a3eb75b619cb1724e18f7ae3124558769d09d1
4
- data.tar.gz: a201af9772fccbe0f07462c42500861fee8fcdb8
2
+ SHA256:
3
+ metadata.gz: 69e6f1d14836d5d173d7b090bfaecec8bcd97d7a5dccd8a9ecf313c69eadbdf1
4
+ data.tar.gz: 56e065663af0fc0e012eb7d1ab4c3cef1bf19c8c5dbc8b77997b6e4331f44b4b
5
5
  SHA512:
6
- metadata.gz: 74e90ba29166b17ce68bcfdae5d00ace0c8030e674afa2a60a88d15dd29b4ff304b685529ea59a4aee7fde1f35656fc4b2d52c0de24c785db56eddab632483d4
7
- data.tar.gz: b515a650921a1fd5f0d592c563340405b28c3925ce84824f5266c785060fd605c900498f31f1f3ad7c325770092f762baa9afd894cd6cf2a616d25697cc5d561
6
+ metadata.gz: 03dee5697a4c60ad40876632291a03fde3a5ebaef094f6b7f0c0c5cfd51450b4904c5ec31d10e83b17253f612ae4807dda8b98eaa588124754fd7b98c918d86a
7
+ data.tar.gz: 8ee4fc521192fb6106afb01cbea9df1ec0b663e514aac8cab6a1c06143ec3816fe7764bcedbd7830d06ac40d48bbc93892ae23205830de3c99e4896a61a82d6a
@@ -16,9 +16,10 @@ module Plezi
16
16
  self.hash_proc_4symstr # creates the Proc object used for request params
17
17
  @plezi_autostart = true if @plezi_autostart.nil?
18
18
  Iodine.patch_rack
19
- if((ENV['PL_REDIS_URL'.freeze] ||= ENV["REDIS_URL"]))
19
+ if((ENV['PL_REDIS_URL'.freeze] ||= ENV['REDIS_URL'.freeze]))
20
20
  uri = URI(ENV['PL_REDIS_URL'.freeze])
21
- Iodine.default_pubsub = Iodine::PubSub::RedisEngine.new(uri.host, uri.port, 0, uri.password)
21
+ Iodine.default_pubsub = Iodine::PubSub::RedisEngine.new(uri.host, uri.port, (ENV['PL_REDIS_TIMEOUT'.freeze] || ENV['REDIS_TIMEOUT'.freeze]).to_i, uri.password)
22
+ Iodine.default_pubsub = Iodine::PubSub::Cluster unless Iodine.default_pubsub
22
23
  end
23
24
  at_exit do
24
25
  next if @plezi_autostart == false
data/lib/plezi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plezi
2
- VERSION = '0.15.0'.freeze
2
+ VERSION = '0.15.1'.freeze
3
3
  end
data/plezi.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_dependency 'iodine', '~> 0.4'
30
+ spec.add_dependency 'iodine', '>= 0.4', '< 0.5'
31
31
  spec.add_dependency 'rack', '>= 2.0.0'
32
32
  spec.add_dependency 'bundler', '~> 1.14'
33
33
  # spec.add_dependency 'redcarpet', '> 3.3.0'
@@ -9,7 +9,7 @@
9
9
  // URI.
10
10
  // remember to update to the specific controller's path to your websocket URI.
11
11
  var ws_controller_path =
12
- windselfow.location.pathname; // change to '/controller/path'
12
+ window.location.pathname; // change to '/controller/path'
13
13
  var ws_uri = (self.location.protocol.match(/https/) ? 'wss' : 'ws') + '://' +
14
14
  self.document.location.host + ws_controller_path;
15
15
  // websocket variable.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plezi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-21 00:00:00.000000000 Z
11
+ date: 2018-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iodine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '0.5'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0.4'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.5'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rack
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
165
  version: '0'
160
166
  requirements: []
161
167
  rubyforge_project:
162
- rubygems_version: 2.6.11
168
+ rubygems_version: 2.7.3
163
169
  signing_key:
164
170
  specification_version: 4
165
171
  summary: The Plezi.io Ruby Framework for real time web applications.