chiketto 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chiketto/venue.rb +2 -2
- data/lib/chiketto/version.rb +1 -1
- data/test/venue_test.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e70d8732151cbfb708473112b45278193b18d7d2
|
4
|
+
data.tar.gz: 25910f52cea0de3bfac5064818cafd218abac5a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e767413f7af517e32d5c905f8a3f4cf09c81e660d2456bf0b81eb30e9f91fc03b85a7dfbaa9061815c4ea2b7923fb6930914a2df088832b1c04fc99e01b7d25f
|
7
|
+
data.tar.gz: ec32f0b940ae5a99592ee8531a3d0f6b8aef30bf2999d8c4807c3094bb08175253a13028929309176852df9a3183364467a0119d3cf4426009cba8c155e47e6f
|
data/lib/chiketto/venue.rb
CHANGED
data/lib/chiketto/version.rb
CHANGED
data/test/venue_test.rb
CHANGED
@@ -8,7 +8,7 @@ class VenueTest < MiniTest::Test
|
|
8
8
|
|
9
9
|
def test_venue_methods_exist
|
10
10
|
@venue = Chiketto::Venue.new 'id' => '545454',
|
11
|
-
'
|
11
|
+
'address' => {
|
12
12
|
'city' => 'San Francisco',
|
13
13
|
'country' => 'US',
|
14
14
|
'region' => 'CA',
|
@@ -21,15 +21,15 @@ class VenueTest < MiniTest::Test
|
|
21
21
|
'name' => 'Eventbrite HQ'
|
22
22
|
|
23
23
|
assert_respond_to @venue, :id
|
24
|
-
assert_respond_to @venue, :
|
24
|
+
assert_respond_to @venue, :address
|
25
25
|
assert_respond_to @venue, :name
|
26
26
|
end
|
27
27
|
|
28
28
|
def test_venue_with_no_address
|
29
29
|
basic_venue
|
30
|
-
assert_respond_to @venue.
|
31
|
-
assert_respond_to @venue.
|
32
|
-
assert_respond_to @venue.
|
30
|
+
assert_respond_to @venue.address, :to_s
|
31
|
+
assert_respond_to @venue.address, :latitude
|
32
|
+
assert_respond_to @venue.address, :longitude
|
33
33
|
end
|
34
34
|
|
35
35
|
def test_venue_returns_name_for_to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chiketto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Radford
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|