em-eventsource 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -2
  2. data/lib/em-eventsource.rb +1 -1
  3. metadata +15 -15
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # EventSource client for EventMachine
2
2
 
3
- This is currently a work in progress.
4
-
5
3
  See the specification: http://dev.w3.org/html5/eventsource/
6
4
 
7
5
  ## Install
@@ -93,6 +91,7 @@ source.inactivity_timeout = 120 # in seconds (default: 60).
93
91
 
94
92
  MIT License
95
93
 
94
+ Copyright (C) 2012 by François de Metz
96
95
  Copyright (C) 2011 by af83
97
96
 
98
97
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -87,7 +87,7 @@ module EventMachine
87
87
  # Cancel subscription
88
88
  def close
89
89
  @ready_state = CLOSED
90
- @req.close
90
+ @req.close if @req
91
91
  end
92
92
 
93
93
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-eventsource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-14 00:00:00.000000000Z
12
+ date: 2012-02-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &21570940 !ruby/object:Gem::Requirement
16
+ requirement: &19744640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.0.beta3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21570940
24
+ version_requirements: *19744640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: em-http-request
27
- requirement: &21570460 !ruby/object:Gem::Requirement
27
+ requirement: &19744160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *21570460
35
+ version_requirements: *19744160
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest
38
- requirement: &21570000 !ruby/object:Gem::Requirement
38
+ requirement: &19743700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *21570000
46
+ version_requirements: *19743700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &21569620 !ruby/object:Gem::Requirement
49
+ requirement: &19743320 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *21569620
57
+ version_requirements: *19743320
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &21569160 !ruby/object:Gem::Requirement
60
+ requirement: &19742860 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *21569160
68
+ version_requirements: *19742860
69
69
  description: ! " em-eventsource is an eventmachine library to consume Server-Sent
70
70
  Events streaming API.\n You can find the specification here: http://dev.w3.org/html5/eventsource/\n"
71
- email: francois.de.metz@af83.com
71
+ email: francois@2metz.fr
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files:
@@ -77,7 +77,7 @@ files:
77
77
  - README.md
78
78
  - Gemfile
79
79
  - lib/em-eventsource.rb
80
- homepage: http://github.com/af83/em-eventsource
80
+ homepage: http://github.com/AF83/em-eventsource
81
81
  licenses: []
82
82
  post_install_message:
83
83
  rdoc_options: []
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 1.8.6
100
+ rubygems_version: 1.8.10
101
101
  signing_key:
102
102
  specification_version: 3
103
103
  summary: em-eventsource is an eventmachine library to consume Server-Sent Events streaming