pusher 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/pusher.rb +2 -3
  3. data/pusher.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/lib/pusher.rb CHANGED
@@ -29,9 +29,8 @@ module Pusher
29
29
  self.app_id = ENV["PUSHER_APP_ID"] if ENV["PUSHER_APP_ID"]
30
30
  self.key = ENV["PUSHER_KEY"] if ENV["PUSHER_KEY"]
31
31
  self.secret = ENV["PUSHER_SECRET"] if ENV["PUSHER_SECRET"]
32
- self.host = ENV["PUSHER_API_HOST"] or 'api.pusherapp.com'
33
- self.port = ENV["PUSHER_API_PORT"] or 80
34
-
32
+ self.host = ENV["PUSHER_API_HOST"] || 'api.pusherapp.com'
33
+ self.port = ENV["PUSHER_API_PORT"] || 80
35
34
 
36
35
  def self.[](channel_name)
37
36
  raise ArgumentError, 'Missing configuration: please check that Pusher.app_id, Pusher.key, and Pusher.secret are all configured' unless @app_id && @key && @secret
data/pusher.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pusher}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["New Bamboo"]
12
- s.date = %q{2010-04-30}
12
+ s.date = %q{2010-05-05}
13
13
  s.description = %q{Wrapper for pusherapp.com REST api}
14
14
  s.email = %q{support@pusherapp.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 1
9
- version: 0.4.1
8
+ - 2
9
+ version: 0.4.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - New Bamboo
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-30 00:00:00 +01:00
17
+ date: 2010-05-05 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency