sinatra-cometio 0.5.4 → 0.5.5

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
2
  SHA1:
3
- metadata.gz: c4f1dc641e7df6ebe49c7a99f041e1de6d293438
4
- data.tar.gz: a39552b2bb11e74004cfb78871fccfbb17d683b1
3
+ metadata.gz: 73ce6035810b3c246bcbea80882d3ef01b20afe7
4
+ data.tar.gz: 8cebb648687ce259528ecaf5553f750bc7fa51e1
5
5
  SHA512:
6
- metadata.gz: a3cedac7a912b90b559dbde3586ef9519597960854607014d7b09596a23f99e36f71e66d9890cb1b2874b1302af6981a3564317545fd823e6de4e059f1b65112
7
- data.tar.gz: c81fdfb4e1128cba7881ba80dafe430f1fbb2ef46f7690e8f5a55ec4b8989a4680659bf8aca3aab9d53c4182104eb23d22084fe8f3fa2e1019f3f040b2209f2a
6
+ metadata.gz: 88f8f841affb6969885bb502661d48e277071d3a336fd86eeccee5fe003837aefe7a907b729a64aa58b603de8985f61d464fcb1e91581b67cd93aa314bfb782d
7
+ data.tar.gz: 49e43eb227a7e511472e8c80d129128be663d7e3b4e033c10ddc2020e2ef2df7f3ea2eec7b040e5904804f25643c9c6333ea51264359bea29890e6cc237c81dc
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  vendor
6
6
  .sass-cache
7
7
  .bundle
8
+ .ruby-version
8
9
  config.yml
9
10
  *.gem
10
11
  *.rbc
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.5.5 2013-05-23
2
+
3
+ * bugfix server side
4
+
1
5
  === 0.5.4 2013-04-05
2
6
 
3
7
  * bugfix javascript
@@ -42,7 +42,7 @@ module Sinatra
42
42
 
43
43
  app.post '/cometio/io' do
44
44
  from = params[:session]
45
- halt 400, 'no session' if from.empty?
45
+ halt 400, 'no session' if !from or from.empty?
46
46
  events = params[:events]
47
47
  halt 400, 'no data' unless [Hash, Array].include? events.class
48
48
  events = events.keys.sort.map{|i| events[i] } if events.kind_of? Hash
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module CometIO
3
- VERSION = '0.5.4'
3
+ VERSION = '0.5.5'
4
4
  end
5
5
  end
@@ -28,5 +28,5 @@ Gem::Specification.new do |gem|
28
28
  gem.add_dependency 'eventmachine', '>= 1.0.0'
29
29
  gem.add_dependency 'json', '>= 1.7.0'
30
30
  gem.add_dependency 'event_emitter', '>= 0.2.5'
31
- gem.add_dependency 'httparty', '>= 0.10.2'
31
+ gem.add_dependency 'httparty'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-cometio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-05 00:00:00.000000000 Z
11
+ date: 2013-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - '>='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.10.2
173
+ version: '0'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '>='
179
179
  - !ruby/object:Gem::Version
180
- version: 0.10.2
180
+ version: '0'
181
181
  description: Comet component for Sinatra RocketIO
182
182
  email:
183
183
  - hashimoto@shokai.org
@@ -245,3 +245,4 @@ test_files:
245
245
  - test/app/main.rb
246
246
  - test/test_cometio.rb
247
247
  - test/test_helper.rb
248
+ has_rdoc: