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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2948f960f825823a7598c6eae02d7d2475db8b79
4
- data.tar.gz: 84d75b6802dfe4a40f1630e697b6de185ce9079f
3
+ metadata.gz: 49e97691f77122292f4235f190818f8e0d11375d
4
+ data.tar.gz: ee8cffa76959b41034f66520e3e7ca32497ef45f
5
5
  SHA512:
6
- metadata.gz: 89e068f2610a4dd3a0b48b44a2a7bc1afaa960445acbed6f5b566e89b302e47ff97006b103cb84b08c09bd8fd949ec99809ddd6b2fa2539b5d6b05e038dcf01f
7
- data.tar.gz: d9433e8a40128f3cbad0062ea5e57a686a069e33944393ba767f9bbbb04bda648b046e6711396afdd2f1f0685b05b8eedd5c1b218551b182e67e816d319c0e62
6
+ metadata.gz: 30ec602707b39c0540bce628f7b09c84bd52f3f2e408e5333bda2fe4f8745c1122ef5e570bd2953beb67a0eb37a489c8618d2ffcf86be1eea5c299552fd8bb13
7
+ data.tar.gz: c5618b946bed66ccb120f58559a9fd9b98d9238e816ed00fa7bb8102a196ce54c0b4fe8ce4165e72035b1fbb5bc68bbc5c118b07834a32e888c842cf6355c3e6
data/.byebug_history ADDED
@@ -0,0 +1,6 @@
1
+ exit
2
+ month_query(month_of_the_year)
3
+ n
4
+ options[:month_of_the_year]
5
+ c
6
+ options[:month_of_the_year]
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SeatGeek
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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