pusher 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,7 +4,7 @@ Pusher gem
4
4
  Getting started
5
5
  ---------------
6
6
 
7
- After registering at <http://pusherapp.com> configure your app with the security credentials
7
+ After registering at <http://pusher.com> configure your app with the security credentials
8
8
 
9
9
  Pusher.app_id = 'your-pusher-app-id'
10
10
  Pusher.key = 'your-pusher-key'
@@ -22,7 +22,7 @@ Handle errors by rescuing `Pusher::Error` (all Pusher errors are descendants of
22
22
  # (Pusher::AuthenticationError, Pusher::HTTPError, or Pusher::Error)
23
23
  end
24
24
 
25
- Optionally a socket id may be provided. This will exclude the event from being triggered on this socket id (see <http://pusherapp.com/docs/duplicates> for more info).
25
+ Optionally a socket id may be provided. This will exclude the event from being triggered on this socket id (see <http://pusher.com/docs/publisher_api_guide/publisher_excluding_recipients> for more info).
26
26
 
27
27
  Pusher['a_channel'].trigger!('an_event', {:some => 'data'}, socket_id)
28
28
 
@@ -64,7 +64,7 @@ The Pusher Gem also deals with signing requests for authenticated private channe
64
64
  reponse = Pusher['private-my_channel'].authenticate(params[:socket_id])
65
65
  render :json => response
66
66
 
67
- Read more about private channels in [the docs](http://pusherapp.com/docs/private_channels) and under {Pusher::Channel#authenticate}.
67
+ Read more about private channels in [the docs](http://pusher.com/docs/client_api_guide/client_channels#subscribe-private-channels) and under {Pusher::Channel#authenticate}.
68
68
 
69
69
  Developing
70
70
  ----------
@@ -97,7 +97,7 @@ module Pusher
97
97
  # @raise [ConfigurationError] unless key, secret and app_id have been
98
98
  # configured
99
99
  def self.[](channel_name)
100
- raise ConfigurationError, 'Missing configuration: please check that Pusher.url is configured' unless configured?
100
+ raise ConfigurationError, 'Missing configuration: please check that Pusher.key, Pusher.secret and Pusher.app_id are configured.' unless configured?
101
101
  @channels ||= {}
102
102
  @channels[channel_name.to_s] ||= Channel.new(url, channel_name)
103
103
  end
@@ -66,7 +66,7 @@ module Pusher
66
66
  # @param data [Object] Event data to be triggered in javascript.
67
67
  # Objects other than strings will be converted to JSON
68
68
  # @param socket_id Allows excluding a given socket_id from receiving the
69
- # event - see http://pusherapp.com/docs/duplicates for more info
69
+ # event - see http://pusher.com/docs/publisher_api_guide/publisher_excluding_recipients for more info
70
70
  #
71
71
  # @raise [Pusher::Error] on invalid Pusher response - see the error message for more details
72
72
  # @raise [Pusher::HTTPError] on any error raised inside Net::HTTP - the original error is available in the original_error attribute
@@ -113,7 +113,7 @@ module Pusher
113
113
 
114
114
  # Compute authentication string required to subscribe to this channel.
115
115
  #
116
- # See http://pusherapp.com/docs/auth_signatures for more details.
116
+ # See http://pusher.com/docs/auth_signatures for more details.
117
117
  #
118
118
  # @param socket_id [String] Each Pusher socket connection receives a
119
119
  # unique socket_id. This is sent from pusher.js to your server when
@@ -3,11 +3,11 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "pusher"
6
- s.version = "0.8.2"
6
+ s.version = "0.8.3"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Pusher"]
9
9
  s.email = ["support@pusher.com"]
10
- s.homepage = "http://github.com/newbamboo/pusher-gem"
10
+ s.homepage = "http://github.com/pusher/pusher-gem"
11
11
  s.summary = %q{Pusher API client}
12
12
  s.description = %q{Wrapper for pusher.com REST api}
13
13
 
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.add_development_dependency "rspec", "~> 2.0"
20
20
  s.add_development_dependency "webmock"
21
- s.add_development_dependency "em-http-request", "~> 0.3.0"
21
+ s.add_development_dependency "em-http-request", "~> 1.0.0"
22
+ s.add_development_dependency "rake"
22
23
 
23
24
  s.files = `git ls-files`.split("\n")
24
25
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,105 +1,111 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pusher
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.3
4
5
  prerelease:
5
- version: 0.8.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Pusher
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-08 00:00:00 +01:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-20 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: multi_json
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70297839817840 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: "1.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: crack
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70297839817840
25
+ - !ruby/object:Gem::Dependency
26
+ name: crack
27
+ requirement: &70297839817300 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
31
+ - !ruby/object:Gem::Version
35
32
  version: 0.1.0
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: ruby-hmac
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70297839817300
36
+ - !ruby/object:Gem::Dependency
37
+ name: ruby-hmac
38
+ requirement: &70297839816760 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
46
43
  version: 0.4.0
47
44
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: signature
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70297839816760
47
+ - !ruby/object:Gem::Dependency
48
+ name: signature
49
+ requirement: &70297839816180 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
51
+ requirements:
55
52
  - - ~>
56
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
57
54
  version: 0.1.2
58
55
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: rspec
62
56
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70297839816180
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ requirement: &70297839815680 !ruby/object:Gem::Requirement
64
61
  none: false
65
- requirements:
62
+ requirements:
66
63
  - - ~>
67
- - !ruby/object:Gem::Version
68
- version: "2.0"
64
+ - !ruby/object:Gem::Version
65
+ version: '2.0'
69
66
  type: :development
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: webmock
73
67
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70297839815680
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: &70297839815180 !ruby/object:Gem::Requirement
75
72
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
80
77
  type: :development
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: em-http-request
84
78
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70297839815180
80
+ - !ruby/object:Gem::Dependency
81
+ name: em-http-request
82
+ requirement: &70297839814460 !ruby/object:Gem::Requirement
86
83
  none: false
87
- requirements:
84
+ requirements:
88
85
  - - ~>
89
- - !ruby/object:Gem::Version
90
- version: 0.3.0
86
+ - !ruby/object:Gem::Version
87
+ version: 1.0.0
91
88
  type: :development
92
- version_requirements: *id007
89
+ prerelease: false
90
+ version_requirements: *70297839814460
91
+ - !ruby/object:Gem::Dependency
92
+ name: rake
93
+ requirement: &70297839813680 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *70297839813680
93
102
  description: Wrapper for pusher.com REST api
94
- email:
103
+ email:
95
104
  - support@pusher.com
96
105
  executables: []
97
-
98
106
  extensions: []
99
-
100
107
  extra_rdoc_files: []
101
-
102
- files:
108
+ files:
103
109
  - .document
104
110
  - .gemtest
105
111
  - .gitignore
@@ -116,35 +122,31 @@ files:
116
122
  - spec/channel_spec.rb
117
123
  - spec/pusher_spec.rb
118
124
  - spec/spec_helper.rb
119
- has_rdoc: true
120
- homepage: http://github.com/newbamboo/pusher-gem
125
+ homepage: http://github.com/pusher/pusher-gem
121
126
  licenses: []
122
-
123
127
  post_install_message:
124
128
  rdoc_options: []
125
-
126
- require_paths:
129
+ require_paths:
127
130
  - lib
128
- required_ruby_version: !ruby/object:Gem::Requirement
131
+ required_ruby_version: !ruby/object:Gem::Requirement
129
132
  none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: "0"
134
- required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ! '>='
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
138
  none: false
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: "0"
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
140
143
  requirements: []
141
-
142
144
  rubyforge_project:
143
- rubygems_version: 1.6.2
145
+ rubygems_version: 1.8.7
144
146
  signing_key:
145
147
  specification_version: 3
146
148
  summary: Pusher API client
147
- test_files:
149
+ test_files:
148
150
  - spec/channel_spec.rb
149
151
  - spec/pusher_spec.rb
150
152
  - spec/spec_helper.rb