em-eventsource 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +6 -14
  2. data/README.md +6 -2
  3. metadata +25 -25
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjlhZjYyOTUyZDQwZTE5MjcyYjE0Y2FmOTczMWI3ODk3ZGRhZGNiMA==
5
- data.tar.gz: !binary |-
6
- NjhlNjk1ZjgwNTE0YjlkZDUwODM0ZjE4ZGNjYmFlMjA5OTM1NzY2OA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- N2E0NWU5YWNmMWNjYTUzNDA1YjFiOWI1ZTllYzdkOWQ3YjAwOWNkNTk3Yzg0
10
- Yjg1MzdhMTBiZjIxYTVjZjBkMGJmZDA0NTI0MTc5NWE0ZmRhNDE2Yjc4MjQ4
11
- OGY4YmZiZDdjM2E4M2I3NGJiNTJhZjQ3YWQxYzVhMGEzMmVkYmU=
12
- data.tar.gz: !binary |-
13
- OThjZDhhM2Q3ZGE1ODAzNWU5ZGIwZjUyY2ZhNTNkNDM2ZDg5NzFlNGJjYTc4
14
- NzA1Y2QzN2IxMjcxNWMzZTJhNmM4MDdjNDQyYmVmYjg1YTE1YWY4NTQ5OTI0
15
- NTI3MmMzMGM5YjEyMjAzMDI3NmJhNDAwNDkzM2E0YTEwODZkZDU=
2
+ SHA1:
3
+ metadata.gz: 61cdedd4b8c4bc2de111711549ae2f6e669708ae
4
+ data.tar.gz: b7a80c54e2e82384dd68a14f83b8ac539af8607b
5
+ SHA512:
6
+ metadata.gz: ab9833ed7b9511d2cd53b120a44183ad606b3b3e9b80aecf9e75800c942be2f557c5c9bd6ba65a94a296896c2cbabcf8a1d9da3aee45666d00b824df0c9654c3
7
+ data.tar.gz: d20577d0312b1ce605f36648a07aec5f02da9c3947ed22334d73f5380d7056a16b97910497a24cb5070d9d186b1ababca51e81df95f368e894b46664cbc9c7f0
data/README.md CHANGED
@@ -10,7 +10,7 @@ Install with Rubygems:
10
10
 
11
11
  If you use bundler, add it to your Gemfile:
12
12
 
13
- gem "em-eventsource", "~>0.1.2"
13
+ gem "em-eventsource", "~> 0.2.0"
14
14
 
15
15
  ## Usage
16
16
 
@@ -60,7 +60,11 @@ source.close
60
60
  Current status of the connection:
61
61
 
62
62
  ```ruby
63
- source.ready_state # Can be EM::EventSource::CLOSED, EM::EventSource::CONNECTING, EM::EventSource::OPEN
63
+ # Can be:
64
+ # - EM::EventSource::CLOSED
65
+ # - EM::EventSource::CONNECTING
66
+ # - EM::EventSource::OPEN
67
+ source.ready_state
64
68
  ```
65
69
 
66
70
  Override the default retry value (if the connection is lost):
metadata CHANGED
@@ -1,109 +1,110 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-eventsource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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: 2014-08-11 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.beta3
19
+ version: '1.0'
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: 1.0.0.beta3
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: em-http-request
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.0
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest-spec-context
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: ! " em-eventsource is an eventmachine library to consume Server-Sent
98
- Events streaming API.\n You can find the specification here: http://dev.w3.org/html5/eventsource/\n"
97
+ description: |2
98
+ em-eventsource is an eventmachine library to consume Server-Sent Events streaming API.
99
+ You can find the specification here: http://dev.w3.org/html5/eventsource/
99
100
  email: francois@2metz.fr
100
101
  executables: []
101
102
  extensions: []
102
103
  extra_rdoc_files:
103
104
  - README.md
104
105
  files:
105
- - README.md
106
106
  - Gemfile
107
+ - README.md
107
108
  - lib/em-eventsource.rb
108
109
  homepage: http://github.com/AF83/em-eventsource
109
110
  licenses: []
@@ -114,20 +115,19 @@ require_paths:
114
115
  - lib
115
116
  required_ruby_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
- - - ! '>='
118
+ - - ">="
118
119
  - !ruby/object:Gem::Version
119
120
  version: '0'
120
121
  required_rubygems_version: !ruby/object:Gem::Requirement
121
122
  requirements:
122
- - - ! '>='
123
+ - - ">="
123
124
  - !ruby/object:Gem::Version
124
125
  version: '0'
125
126
  requirements: []
126
127
  rubyforge_project:
127
- rubygems_version: 2.0.7
128
+ rubygems_version: 2.4.6
128
129
  signing_key:
129
130
  specification_version: 4
130
131
  summary: em-eventsource is an eventmachine library to consume Server-Sent Events streaming
131
132
  API.
132
133
  test_files: []
133
- has_rdoc: