private_pub 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ## 1.0.3 (August 20, 2012)
2
+
3
+ * fixed Faye startup error (thanks gitt) - issue #40
4
+
5
+
1
6
  ## 1.0.2 (August 20, 2012)
2
7
 
3
8
  * added HTTPS support (thanks vanne)
@@ -4,5 +4,7 @@ require "yaml"
4
4
  require "faye"
5
5
  require "private_pub"
6
6
 
7
+ Faye::WebSocket.load_adapter('thin')
8
+
7
9
  PrivatePub.load_config(File.expand_path("../config/private_pub.yml", __FILE__), ENV["RAILS_ENV"] || "development")
8
10
  run PrivatePub.faye_app
@@ -1,5 +1,6 @@
1
1
  require "digest/sha1"
2
2
  require "net/http"
3
+ require "net/https"
3
4
 
4
5
  require "private_pub/faye_extension"
5
6
  require "private_pub/engine" if defined? Rails
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
+ require 'json'
3
4
  require 'faye'
4
5
  Bundler.require(:default)
5
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: private_pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: