sinatra-pubsub 0.0.4 → 0.0.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: 007d169c518b587661a43ff768b3b1303ac43c75
4
- data.tar.gz: 42504078b6c11962ee183d28b6d27d13c2e57c5b
3
+ metadata.gz: 88b49616fc359844b36324f48ef20e8b200c4688
4
+ data.tar.gz: 5111f02511e1e11e779fcb3f6abb8ae1dfaa55ac
5
5
  SHA512:
6
- metadata.gz: bb440c3613aab4414d3c8cf074a9dac355a6ab4df592153b32f2f117629a74aa5f252bee38f6ca06fec17075b8be1e5bf8ce0f4d4e4d6276ab710b8735bafc67
7
- data.tar.gz: a00e6ecc1e586b0c29fc7c8fdf3c90cdd17a1d0ced41115a48e6ca5dc9b18c427aa0277fa2acbe37dc607514b1623fe9e508e3b3b7624f7384bbb7efe0d557c8
6
+ metadata.gz: b8f3bea75fb2626c0c6997625fa67ab96fe3e1ca8cd3469b622f70c0ab4e196b5f94a1a6cbd49997f47a10de6adf808e2d6b94f63abb6c5b692e60747edc6df4
7
+ data.tar.gz: a37d54ba23e8ebad0177ba23412cd2c7e4f7a0d2ba6ac766c6b9ed605bde38555f93a06d01c836dae790a21e58c9f901be2cde786750396d69ee48fdf0b4974b
data/examples/app.rb CHANGED
@@ -3,8 +3,6 @@ require 'sinatra/pubsub'
3
3
 
4
4
  register Sinatra::PubSub
5
5
 
6
- Sinatra::PubSub.set(cors: true)
7
-
8
6
  EventMachine.next_tick do
9
7
  EventMachine::PeriodicTimer.new(1) do
10
8
  Sinatra::PubSub.publish_all(type: 'tick')
@@ -2,7 +2,7 @@ module Sinatra
2
2
  module PubSub
3
3
  class App < Sinatra::Base
4
4
  configure do
5
- set :cors, false
5
+ set :cors, true
6
6
  set :origin, '*'
7
7
  end
8
8
 
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module PubSub
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-30 00:00:00.000000000 Z
11
+ date: 2013-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler