pubnub 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pubnub might be problematic. Click here for more details.

@@ -4,7 +4,7 @@
4
4
 
5
5
  ## including required libraries
6
6
  require 'rubygems'
7
- require 'pubnub_ruby/pubnub'
7
+ require 'pubnub'
8
8
 
9
9
  ## declaring publish_key, subscribe_key, secret_key, cipher_key and ssl flag
10
10
  publish_key = 'demo'
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## including required libraries
6
6
  require 'rubygems'
7
- require 'pubnub_ruby/pubnub'
7
+ require 'pubnub'
8
8
 
9
9
  ## declaring publish_key, subscribe_key, secret_key, cipher_key, channel, ssl flag, messages
10
10
  publish_key = 'demo'
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## including required libraries
6
6
  require 'rubygems'
7
- require 'pubnub_ruby/pubnub'
7
+ require 'pubnub'
8
8
 
9
9
  ## declaring publish_key, subscribe_key, secret_key, cipher_key, ssl flag
10
10
  publish_key = 'demo'
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## including required libraries
6
6
  require 'rubygems'
7
- require 'pubnub_ruby/pubnub'
7
+ require 'pubnub'
8
8
 
9
9
  ## Generating UUID String
10
10
  pubnub=Pubnub.new("","","","",false)
data/lib/pubnub.rb CHANGED
@@ -20,7 +20,7 @@ require 'pp'
20
20
  require 'rubygems'
21
21
  require 'securerandom'
22
22
  require 'digest'
23
- require 'pubnub_ruby/pubnub_crypto'
23
+ require 'pubnub_crypto'
24
24
  require 'eventmachine'
25
25
  require 'em-http'
26
26
  require 'fiber'
data/tests/unit_test.rb CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## including required libraries
13
13
  require 'rubygems'
14
- require 'pubnub_ruby/pubnub'
14
+ require 'pubnub'
15
15
 
16
16
  ## declaring publish_key, subscribe_key, secret_key, cipher_key, message, ssl_on
17
17
  publish_key = ARGV[0] || 'demo'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Luke Carpenter / PubNub.com
@@ -17,24 +17,10 @@ cert_chain: []
17
17
  date: 2011-05-28 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: eventmachine
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- - 11
30
- - 0
31
- version: 0.11.0
32
- type: :runtime
33
- version_requirements: *id001
34
20
  - !ruby/object:Gem::Dependency
35
21
  name: em-http-request
36
22
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
38
24
  requirements:
39
25
  - - ">="
40
26
  - !ruby/object:Gem::Version
@@ -44,11 +30,11 @@ dependencies:
44
30
  - 2
45
31
  version: 1.0.2
46
32
  type: :runtime
47
- version_requirements: *id002
33
+ version_requirements: *id001
48
34
  - !ruby/object:Gem::Dependency
49
35
  name: json
50
36
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
52
38
  requirements:
53
39
  - - ">="
54
40
  - !ruby/object:Gem::Version
@@ -56,7 +42,7 @@ dependencies:
56
42
  - 0
57
43
  version: "0"
58
44
  type: :runtime
59
- version_requirements: *id003
45
+ version_requirements: *id002
60
46
  description: Simply Pubnub.rb in gem format, :require => "pubnub" - ask @PubNub for upgrades.
61
47
  email: stephen@pubnub.com
62
48
  executables: []