seat_geek 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.byebug_history +6 -0
- data/lib/seat_geek/build_query.rb +4 -4
- data/lib/seat_geek/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e97691f77122292f4235f190818f8e0d11375d
|
4
|
+
data.tar.gz: ee8cffa76959b41034f66520e3e7ca32497ef45f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30ec602707b39c0540bce628f7b09c84bd52f3f2e408e5333bda2fe4f8745c1122ef5e570bd2953beb67a0eb37a489c8618d2ffcf86be1eea5c299552fd8bb13
|
7
|
+
data.tar.gz: c5618b946bed66ccb120f58559a9fd9b98d9238e816ed00fa7bb8102a196ce54c0b4fe8ce4165e72035b1fbb5bc68bbc5c118b07834a32e888c842cf6355c3e6
|
data/.byebug_history
ADDED
@@ -4,19 +4,19 @@ module SeatGeek
|
|
4
4
|
def self.build(options)
|
5
5
|
query = ""
|
6
6
|
if options[:month_of_the_year]
|
7
|
-
query = month_query(month_of_the_year)
|
7
|
+
query = month_query(options[:month_of_the_year])
|
8
8
|
end
|
9
9
|
if options[:state]
|
10
10
|
query = '?' unless query.match(/\?/)
|
11
|
-
query = query + location_query(state)
|
11
|
+
query = query + location_query(options[:state])
|
12
12
|
end
|
13
13
|
if options[:attendee_count]
|
14
14
|
query = '?' unless query.match(/\?/)
|
15
|
-
query = query + attendee_count_query(attendee_count)
|
15
|
+
query = query + attendee_count_query(options[:attendee_count])
|
16
16
|
end
|
17
17
|
if options[:event_type]
|
18
18
|
query = '?' unless query.match(/\?/)
|
19
|
-
query = query + event_type_query(event_type)
|
19
|
+
query = query + event_type_query(options[:event_type])
|
20
20
|
end
|
21
21
|
options[:base_url] + query
|
22
22
|
end
|
data/lib/seat_geek/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seat_geek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Moon
|
@@ -115,6 +115,7 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
+
- ".byebug_history"
|
118
119
|
- ".gitignore"
|
119
120
|
- ".travis.yml"
|
120
121
|
- CODE_OF_CONDUCT.md
|