meeting_finder 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e38afe56d9e7d36a1ea148f78bc939a6bffa0158
4
- data.tar.gz: a8b46ad5beea3d924e94d321a02224e6604d1364
3
+ metadata.gz: e28ddfdc418c86be8363879ff62444c8477829b2
4
+ data.tar.gz: be0a6c0134f660f9b7d44851bccc80ce8d4b50a5
5
5
  SHA512:
6
- metadata.gz: b30299b3522c37e11768f36d3fedba1c909a9375e3aa0a8ad2096ed07964ba4b97f95990d3498fe04832856924715dd294a6c67c5a54dd2de606037061f6d5ae
7
- data.tar.gz: 772517724a1229b97f564898bf2156c4151d7c245108062f6fabb196645093dfe360660b990e14b2bcad401ecac3912360fdab762bfb54fc25c86359e7b6a6fd
6
+ metadata.gz: d4a90659404c9020d6074a48ac13c9e824ed3b95db198d51b7025ade87b995916976323c1b27da1bfcac0b1d309da0965c9b37ddbad6703b22e1d108136e54fc
7
+ data.tar.gz: ee6363038eff2e3bc6dc554835268eeee22fa078e39bdb43ffd93fd298fae3eb2c77291a21c04f57bb07d5817b80bf05815e8db22f1cdf322ccf1006505f9bc7
@@ -1,13 +1,12 @@
1
1
  module MeetingFinder
2
2
  class Meeting
3
- attr_reader :name, :location, :address, :day, :time, :fellowship, :lat, :lng
3
+ attr_reader :name, :location, :address, :day, :time, :lat, :lng
4
4
  def initialize(attributes={})
5
5
  @name = attributes['name']
6
6
  @location = attributes['location']
7
7
  @address = attributes['address']
8
8
  @day = attributes['day']
9
9
  @time = attributes['time']
10
- @fellowship = attributes['fellowship']
11
10
  @lat = attributes['lat']
12
11
  @lng = attributes['lng']
13
12
  end
@@ -52,7 +52,7 @@ module MeetingFinder
52
52
  end
53
53
 
54
54
  def search_url
55
- 'http://meetings.intherooms.com/meetings/search?search=&proximity=10'
55
+ 'http://meetings.intherooms.com/meetings/search?search=&fellowship=AA&proximity=5'
56
56
  end
57
57
 
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module MeetingFinder
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -6,9 +6,9 @@ describe MeetingFinder::Search do
6
6
  VCR.use_cassette('find_by') do
7
7
  result = MeetingFinder::Search.find_by({"latitude" => 39.7316982, "longitude" => -104.9213643})
8
8
  first_meeting = result.first
9
- expect(first_meeting.name).to eq('Church')
10
- expect(first_meeting.lat).to eq(39.7338507)
11
- expect(first_meeting.lng).to eq(-104.9524757)
9
+ expect(first_meeting.name).to eq('Renovacion')
10
+ expect(first_meeting.lat).to eq(39.7177958)
11
+ expect(first_meeting.lng).to eq(-104.946666)
12
12
  end
13
13
  end
14
14
 
@@ -16,7 +16,7 @@ describe MeetingFinder::Search do
16
16
  VCR.use_cassette('find_by_zip') do
17
17
  result = MeetingFinder::Search.by_zip(92109)
18
18
  first_meeting = result.first
19
- expect(first_meeting.name).to eq("1675 Garnet Avenue")
19
+ expect(first_meeting.name).to eq("Noontime on the Patio")
20
20
  end
21
21
  end
22
22