eventbright 0.2.1 → 0.2.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{eventbright}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Haslem"]
12
- s.date = %q{2010-06-11}
12
+ s.date = %q{2010-06-18}
13
13
  s.description = %q{A simple, unoffical gem that integrates with the EventBrite events service. (http://www.eventbrite.com)}
14
14
  s.email = %q{therabidbanana@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -69,7 +69,8 @@ module EventBright
69
69
  self.class.relations.include?(k) ||
70
70
  self.class.relations.include?(k.to_sym) ||
71
71
  self.class.collections.include?(k) ||
72
- self.class.collections.include?(k.to_sym)
72
+ self.class.collections.include?(k.to_sym) ||
73
+ !self.respond_to?(k)
73
74
  end
74
75
  end
75
76
 
@@ -11,5 +11,7 @@ describe EventBright::ApiObject do
11
11
  describe "relationships" do
12
12
  it_should_behave_like "EventBright::ApiObject relationship methods"
13
13
  end
14
-
14
+ it "should have an init with hash method" do
15
+ # Implement this
16
+ end
15
17
  end
@@ -1 +1 @@
1
- {"event": {"box_header_text_color": "005580", "link_color": "EE6600", "box_background_color": "FFFFFF", "timezone": "America/Bogota", "box_border_color": "D5D5D3", "logo": "http://eventbrite-s3.s3.amazonaws.com/eventlogos/3728086/", "organizer": {"url": "http://www.eventbrite.com/org/439974412", "description": "test", "id": 439974412, "name": "testest"}, "background_color": "FFFFFF", "id": 605286428, "category": "", "box_header_background_color": "EFEFEF", "capacity": 9001, "title": "Test", "start_date": "2010-04-20 13:00:00", "status": "Live", "description": "tada", "end_date": "2010-04-20 16:00:00", "tags": "", "text_color": "005580", "title_text_color": "", "password": "", "tickets": [{"ticket": {"description": "", "end_date": "2010-04-20 10:00:00", "visible": "true", "price": "0.00", "quantity_sold": 1, "start_date": "2010-03-29 13:47:00", "currency": "USD", "quantity_available": 100, "type": 0, "id": 8975232, "name": "Lame"}}, {"ticket": {"description": "OSB Rules", "end_date": "2010-04-20 13:00:00", "visible": "true", "quantity_sold": 0, "start_date": "2010-03-29 14:00:08", "currency": "USD", "quantity_available": 42, "type": 1, "id": 9023537, "name": "Awesomeness"}}], "created": "2010-03-10 16:44:03", "url": "http://orangesparkleball1.eventbrite.com", "box_text_color": "000000", "privacy": "Private", "venue": {"city": "Atlanta", "name": "OSB HQ", "country": "United States", "region": "GA", "longitude": -84.400000000000006, "postal_code": "30313", "address_2": "", "address": "205 Walker Street", "latitude": 33.75, "country_code": "US", "id": 377404, "Lat-Long": "33.75 / -84.4"}, "modified": "2010-03-29 15:03:50", "logo_ssl": "https://www.eventbrite.com/php/logo.php?id="}}
1
+ {"event": {"box_header_text_color": "005580", "link_color": "EE6600", "box_background_color": "FFFFFF", "timezone": "America/Bogota", "box_border_color": "D5D5D3", "logo": "http://eventbrite-s3.s3.amazonaws.com/eventlogos/3728086/", "organizer": {"url": "http://www.eventbrite.com/org/439974412", "description": "test", "id": 439974412, "name": "testest"}, "background_color": "FFFFFF", "id": 605286428, "category": "", "box_header_background_color": "EFEFEF", "capacity": 9001, "title": "Test", "start_date": "2010-04-20 13:00:00", "status": "Live", "description": "tada", "end_date": "2010-04-20 16:00:00", "tags": "", "text_color": "005580", "title_text_color": "", "password": "", "tickets": [{"ticket": {"description": "", "end_date": "2010-04-20 10:00:00", "visible": "true", "price": "0.00", "quantity_sold": 1, "start_date": "2010-03-29 13:47:00", "currency": "USD", "quantity_available": 100, "type": 0, "id": 8975232, "name": "Lame"}}, {"ticket": {"description": "OSB Rules", "end_date": "2010-04-20 13:00:00", "visible": "true", "quantity_sold": 0, "start_date": "2010-03-29 14:00:08", "currency": "USD", "quantity_available": 42, "type": 1, "id": 9023537, "name": "Awesomeness"}}], "created": "2010-03-10 16:44:03", "url": "http://orangesparkleball1.eventbrite.com", "box_text_color": "000000", "privacy": "Private", "venue": {"city": "Atlanta", "name": "OSB HQ", "country": "United States", "region": "GA", "longitude": -84.400000000000006, "postal_code": "30313", "address_2": "", "address": "205 Walker Street", "latitude": 33.75, "country_code": "US", "id": 377404, "Lat-Long": "33.75 / -84.4"}, "modified": "2010-03-29 15:03:50", "logo_ssl": "https://www.eventbrite.com/php/logo.php?id=", "unknown_attr": "foobar"}}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Haslem
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-11 00:00:00 -04:00
17
+ date: 2010-06-18 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency