seatgeek 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/seat_geek/connection.rb +1 -1
- data/lib/seat_geek/version.rb +1 -1
- data/lib/seatgeek.rb +5 -0
- data/spec/lib/sg_spec.rb +7 -0
- metadata +15 -13
data/Gemfile.lock
CHANGED
data/lib/seat_geek/connection.rb
CHANGED
@@ -73,7 +73,7 @@ module SeatGeek
|
|
73
73
|
def request(url, params)
|
74
74
|
handle_response(Faraday.new(*builder(url, params.clone)) do |build|
|
75
75
|
build.adapter adapter
|
76
|
-
build.use Faraday::Response::VerboseLogger, logger
|
76
|
+
build.use Faraday::Response::VerboseLogger, logger unless logger.nil?
|
77
77
|
end.get)
|
78
78
|
end
|
79
79
|
|
data/lib/seat_geek/version.rb
CHANGED
data/lib/seatgeek.rb
CHANGED
data/spec/lib/sg_spec.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seatgeek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-15 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
|
-
requirement: &
|
16
|
+
requirement: &70345881699200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70345881699200
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: multi_json
|
27
|
-
requirement: &
|
27
|
+
requirement: &70345881697820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70345881697820
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70345881696440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70345881696440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: yajl-ruby
|
49
|
-
requirement: &
|
49
|
+
requirement: &70345881695420 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70345881695420
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70345881693420 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70345881693420
|
69
69
|
description: This gem provides Ruby functionality around the SeatGeek Platform API
|
70
70
|
(http://platform.seatgeek.com). It is designed to be framework agnostic and was
|
71
71
|
originally developed for use in my day job at Ticket Evolution.
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- seatgeek.gemspec
|
91
91
|
- spec/lib/seat_geek/connection_spec.rb
|
92
92
|
- spec/lib/seat_geek/version_spec.rb
|
93
|
+
- spec/lib/sg_spec.rb
|
93
94
|
- spec/spec_helper.rb
|
94
95
|
homepage: http://platform.seatgeek.com
|
95
96
|
licenses: []
|
@@ -105,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
106
|
version: '0'
|
106
107
|
segments:
|
107
108
|
- 0
|
108
|
-
hash:
|
109
|
+
hash: 2766271802599134346
|
109
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
111
|
none: false
|
111
112
|
requirements:
|
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
115
|
version: '0'
|
115
116
|
segments:
|
116
117
|
- 0
|
117
|
-
hash:
|
118
|
+
hash: 2766271802599134346
|
118
119
|
requirements: []
|
119
120
|
rubyforge_project: seatgeek
|
120
121
|
rubygems_version: 1.8.6
|
@@ -124,4 +125,5 @@ summary: A Ruby wrapper for the SeatGeek Platform API.
|
|
124
125
|
test_files:
|
125
126
|
- spec/lib/seat_geek/connection_spec.rb
|
126
127
|
- spec/lib/seat_geek/version_spec.rb
|
128
|
+
- spec/lib/sg_spec.rb
|
127
129
|
- spec/spec_helper.rb
|