ticketmaster-unfuddle 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -18,6 +18,7 @@ module TicketMaster::Provider
18
18
  if auth.account.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
+ UnfuddleAPI.protocol = auth.protocol if auth.protocol?
21
22
  UnfuddleAPI.account = auth.account || auth.subdomain
22
23
  UnfuddleAPI.authenticate(auth.username, auth.password)
23
24
  end
@@ -8,4 +8,9 @@ describe "Ticketmaster::Provider::Unfuddle" do
8
8
  @ticketmaster.should be_a_kind_of(TicketMaster::Provider::Unfuddle)
9
9
  end
10
10
 
11
+ it "should allow to use SSL" do
12
+ @ticketmaster = TicketMaster.new(:unfuddle, {:account => 'ticketmaster', :username => 'foo', :password => '000000', :protocol => 'https'})
13
+ @ticketmaster.provider::TICKET_API.site.should be_an_instance_of(URI::HTTPS)
14
+ @ticketmaster.provider::PROJECT_API.site.should be_an_instance_of(URI::HTTPS)
15
+ end
11
16
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-unfuddle
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 2
8
+ - 3
8
9
  - 0
9
- version: 0.2.0
10
+ version: 0.3.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Luis Hurtado
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-10-06 00:00:00 -05:00
18
+ date: 2010-11-01 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rspec
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 1
29
32
  - 2
@@ -85,23 +88,27 @@ rdoc_options:
85
88
  require_paths:
86
89
  - lib
87
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
88
92
  requirements:
89
93
  - - ">="
90
94
  - !ruby/object:Gem::Version
95
+ hash: 3
91
96
  segments:
92
97
  - 0
93
98
  version: "0"
94
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
95
101
  requirements:
96
102
  - - ">="
97
103
  - !ruby/object:Gem::Version
104
+ hash: 3
98
105
  segments:
99
106
  - 0
100
107
  version: "0"
101
108
  requirements: []
102
109
 
103
110
  rubyforge_project:
104
- rubygems_version: 1.3.6
111
+ rubygems_version: 1.3.7
105
112
  signing_key:
106
113
  specification_version: 3
107
114
  summary: The Unfuddle provider for ticketmaster.