em-eventsource 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/em-eventsource.rb +1 -1
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95c24ede142738fe85b07756853451e5bbebf4fd8410bd936e87605a16146282
4
- data.tar.gz: 33f594c9bc4eacf1c964740954bf3886598fc868c5a9530bad649e458af732fd
3
+ metadata.gz: 07eb2474b4e317acf72bc0d1b3d6a6c9ec4302a6c1991fa54d78d30eb824497b
4
+ data.tar.gz: 714df708bb8d021db927e63bb7df451d0fb62e29af6b54b87c452dfae02cd7a7
5
5
  SHA512:
6
- metadata.gz: 1b47b6ca2112aea7b2e1d6705337af0630c064212b176fcdf018dc9ad9058e74510136e700506348729ef791cf0c14285eb12f2ffe7cdfeabbcd0ca1c51e5e3c
7
- data.tar.gz: f77ae58493e99174037db1adf956de52b590200530511d92563970e0cd9f0a11cf43210a4c7aac8cf1182b3814d62db0596b64be191282876605968316332cd1
6
+ metadata.gz: 866e483737d4f1f3607918ed21682359865a025107394bc16e802e4c9fc414e0c2302c597593c272d47f321bfe335d6f3f33ce60ea53f2be505cf94a4feaf0dd
7
+ data.tar.gz: b7140a888a565b307b9054ff61334c1d9c5c30b126ffea54354ba8b9f13631e42a3259e0fed8e2892b28918669bb92b3da3d39fef78ea37cedfaca4692e11d08
@@ -0,0 +1,5 @@
1
+ # em-eventsource changelog
2
+
3
+ ## 0.3.0
4
+
5
+ - Handle retry values sent by the server as milliseconds [[#14](https://github.com/francois2metz/em-eventsource/issues/14)]
@@ -176,7 +176,7 @@ module EventMachine
176
176
  end
177
177
  /^retry:(.+)$/.match(part) do |m|
178
178
  if m[1].strip! =~ /^[0-9]+$/
179
- @retry = m[1].to_i
179
+ @retry = m[1].to_i / 1000
180
180
  end
181
181
  end
182
182
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-eventsource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - François de Metz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-03 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -103,6 +103,7 @@ extensions: []
103
103
  extra_rdoc_files:
104
104
  - README.md
105
105
  files:
106
+ - CHANGELOG.md
106
107
  - Gemfile
107
108
  - README.md
108
109
  - lib/em-eventsource.rb