ticketmaster-unfuddle 0.3.4 → 0.3.5

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -15,7 +15,7 @@ module TicketMaster::Provider
15
15
  def authorize(auth = {})
16
16
  @authentication ||= TicketMaster::Authenticator.new(auth)
17
17
  auth = @authentication
18
- if auth.account.nil? or auth.username.nil? or auth.password.nil?
18
+ if (auth.account.nil? and auth.subdomain.nil?) or auth.username.nil? or auth.password.nil?
19
19
  raise "Please provide at least an account (subdomain), username and password)"
20
20
  end
21
21
  UnfuddleAPI.protocol = auth.protocol if auth.protocol?
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-unfuddle}
8
- s.version = "0.3.4"
8
+ s.version = "0.3.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Luis Hurtado"]
12
- s.date = %q{2010-11-25}
12
+ s.date = %q{2010-12-08}
13
13
  s.description = %q{Unfuddle provider for ticketmaster implemented with ActiveResource}
14
14
  s.email = %q{luis@hybridgroup.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-unfuddle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 4
10
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luis Hurtado
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-25 00:00:00 -08:00
18
+ date: 2010-12-08 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency