eventbrite-api-v3 0.0.5 → 0.0.6
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 +5 -5
- data/.ruby-version +1 -1
- data/Gemfile +0 -0
- data/Gemfile.lock +44 -44
- data/LICENSE +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/eventbrite-api-v3.gemspec +4 -3
- data/lib/eventbrite-api.rb +1 -0
- data/lib/eventbrite/api/client.rb +1 -0
- data/lib/eventbrite/api/helper.rb +0 -0
- data/lib/eventbrite/api/model/base.rb +0 -0
- data/lib/eventbrite/api/model/category.rb +0 -0
- data/lib/eventbrite/api/model/event.rb +0 -0
- data/lib/eventbrite/api/model/event_ticket_class.rb +0 -0
- data/lib/eventbrite/api/model/format.rb +0 -0
- data/lib/eventbrite/api/model/order.rb +0 -0
- data/lib/eventbrite/api/model/organizer.rb +0 -0
- data/lib/eventbrite/api/model/owned_event.rb +0 -0
- data/lib/eventbrite/api/model/owned_event_attendee.rb +0 -0
- data/lib/eventbrite/api/model/owned_event_order.rb +0 -0
- data/lib/eventbrite/api/model/structured_content.rb +21 -0
- data/lib/eventbrite/api/model/user.rb +0 -0
- data/lib/eventbrite/api/model/user_contact.rb +0 -0
- data/lib/eventbrite/api/model/user_contact_list.rb +0 -0
- data/lib/eventbrite/api/model/user_order.rb +0 -0
- data/lib/eventbrite/api/model/user_organizer.rb +0 -0
- data/lib/eventbrite/api/model/user_venue.rb +0 -0
- data/lib/eventbrite/api/model/venue.rb +0 -0
- data/spec/eventbrite/api/client_spec.rb +0 -0
- data/spec/eventbrite/api/model/base_spec.rb +0 -0
- data/spec/eventbrite/api/model/event_spec.rb +0 -0
- data/spec/eventbrite/api/model/owned_event_attendee_spec.rb +0 -0
- data/spec/eventbrite/api/model/owned_event_order_spec.rb +0 -0
- data/spec/eventbrite/api/model/owned_event_spec.rb +0 -0
- data/spec/fixtures/events/13270934723/publish.json +0 -0
- data/spec/fixtures/events/13270934723/unpublish.json +0 -0
- data/spec/fixtures/events_page1.json +0 -0
- data/spec/fixtures/events_page2.json +0 -0
- data/spec/fixtures/events_page3.json +0 -0
- data/spec/fixtures/owned_event_attendees/page1.json +0 -0
- data/spec/fixtures/owned_event_attendees/page2.json +0 -0
- data/spec/fixtures/owned_event_attendees/page3.json +0 -0
- data/spec/fixtures/users/133925426255/owned_event_attendees.json +0 -0
- data/spec/fixtures/users/133925426255/owned_event_orders.json +0 -0
- data/spec/fixtures/users/133925426255/owned_events.json +0 -0
- data/spec/fixtures/users/me.json +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0eb98f6a794eb0a9fd3582692c45396a4f359573f178fada0f08f12107ae459c
|
|
4
|
+
data.tar.gz: 1ba51269fe36c6f01d9413757f550b9f010e79c3a4c6b8cdd5baec0dc56541ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7c01e6b82136b15efd9c41f07c74b9d15222d058c88d17e5c0e4525b02c7b36e8d770bf39d65ee09d967762122686f24797d43c2f19ffdb450fd44ea2e32b84
|
|
7
|
+
data.tar.gz: f298cf997545528f3f7b957bcec49bd3b1a45f22e93b7932875728913718d152c6accb419544d8d2dcf58fdafbe0d2ba58ae9ba9fd0a34278f25e499545bf89e
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-2.
|
|
1
|
+
ruby-2.5.3@eventbrite-api-v3
|
data/Gemfile
CHANGED
|
File without changes
|
data/Gemfile.lock
CHANGED
|
@@ -2,17 +2,18 @@ GEM
|
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
4
|
addressable (2.4.0)
|
|
5
|
-
builder (3.2.
|
|
5
|
+
builder (3.2.4)
|
|
6
6
|
crack (0.4.3)
|
|
7
7
|
safe_yaml (~> 1.0.0)
|
|
8
|
-
deep_merge (1.
|
|
8
|
+
deep_merge (1.2.1)
|
|
9
9
|
descendants_tracker (0.0.4)
|
|
10
10
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
11
11
|
diff-lcs (1.3)
|
|
12
|
-
docile (1.
|
|
12
|
+
docile (1.3.2)
|
|
13
13
|
faraday (0.9.2)
|
|
14
14
|
multipart-post (>= 1.2, < 3)
|
|
15
|
-
git (1.
|
|
15
|
+
git (1.7.0)
|
|
16
|
+
rchardet (~> 1.8)
|
|
16
17
|
github_api (0.16.0)
|
|
17
18
|
addressable (~> 2.4.0)
|
|
18
19
|
descendants_tracker (~> 0.0.4)
|
|
@@ -20,65 +21,64 @@ GEM
|
|
|
20
21
|
hashie (>= 3.4)
|
|
21
22
|
mime-types (>= 1.16, < 3.0)
|
|
22
23
|
oauth2 (~> 1.0)
|
|
23
|
-
hashdiff (0.
|
|
24
|
-
hashie (
|
|
25
|
-
highline (
|
|
26
|
-
jeweler (2.3.
|
|
24
|
+
hashdiff (1.0.1)
|
|
25
|
+
hashie (4.1.0)
|
|
26
|
+
highline (2.0.3)
|
|
27
|
+
jeweler (2.3.9)
|
|
27
28
|
builder
|
|
28
|
-
bundler
|
|
29
|
+
bundler
|
|
29
30
|
git (>= 1.2.5)
|
|
30
31
|
github_api (~> 0.16.0)
|
|
31
32
|
highline (>= 1.6.15)
|
|
32
33
|
nokogiri (>= 1.5.10)
|
|
33
|
-
psych
|
|
34
|
+
psych
|
|
34
35
|
rake
|
|
35
36
|
rdoc
|
|
36
37
|
semver2
|
|
37
|
-
|
|
38
|
-
jwt (1.5.6)
|
|
38
|
+
jwt (2.2.1)
|
|
39
39
|
mime-types (2.99.3)
|
|
40
|
-
mini_portile2 (2.
|
|
41
|
-
multi_json (1.
|
|
40
|
+
mini_portile2 (2.4.0)
|
|
41
|
+
multi_json (1.14.1)
|
|
42
42
|
multi_xml (0.6.0)
|
|
43
|
-
multipart-post (2.
|
|
44
|
-
nokogiri (1.
|
|
45
|
-
mini_portile2 (~> 2.
|
|
46
|
-
oauth2 (1.4.
|
|
47
|
-
faraday (>= 0.8, < 0
|
|
48
|
-
jwt (
|
|
43
|
+
multipart-post (2.1.1)
|
|
44
|
+
nokogiri (1.10.9)
|
|
45
|
+
mini_portile2 (~> 2.4.0)
|
|
46
|
+
oauth2 (1.4.4)
|
|
47
|
+
faraday (>= 0.8, < 2.0)
|
|
48
|
+
jwt (>= 1.0, < 3.0)
|
|
49
49
|
multi_json (~> 1.3)
|
|
50
50
|
multi_xml (~> 0.5)
|
|
51
51
|
rack (>= 1.2, < 3)
|
|
52
|
-
psych (
|
|
53
|
-
rack (2.
|
|
54
|
-
rake (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
rspec-
|
|
59
|
-
rspec-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
52
|
+
psych (3.1.0)
|
|
53
|
+
rack (2.2.2)
|
|
54
|
+
rake (13.0.1)
|
|
55
|
+
rchardet (1.8.0)
|
|
56
|
+
rdoc (6.2.1)
|
|
57
|
+
rspec (3.9.0)
|
|
58
|
+
rspec-core (~> 3.9.0)
|
|
59
|
+
rspec-expectations (~> 3.9.0)
|
|
60
|
+
rspec-mocks (~> 3.9.0)
|
|
61
|
+
rspec-core (3.9.1)
|
|
62
|
+
rspec-support (~> 3.9.1)
|
|
63
|
+
rspec-expectations (3.9.1)
|
|
63
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
64
|
-
rspec-support (~> 3.
|
|
65
|
-
rspec-mocks (3.
|
|
65
|
+
rspec-support (~> 3.9.0)
|
|
66
|
+
rspec-mocks (3.9.1)
|
|
66
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
67
|
-
rspec-support (~> 3.
|
|
68
|
-
rspec-support (3.
|
|
69
|
-
safe_yaml (1.0.
|
|
68
|
+
rspec-support (~> 3.9.0)
|
|
69
|
+
rspec-support (3.9.2)
|
|
70
|
+
safe_yaml (1.0.5)
|
|
70
71
|
semver2 (3.4.2)
|
|
71
|
-
simplecov (0.
|
|
72
|
-
docile (~> 1.1
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
simplecov-html (0.10.1)
|
|
72
|
+
simplecov (0.18.5)
|
|
73
|
+
docile (~> 1.1)
|
|
74
|
+
simplecov-html (~> 0.11)
|
|
75
|
+
simplecov-html (0.12.2)
|
|
76
76
|
thread_safe (0.3.6)
|
|
77
77
|
timecop (0.9.1)
|
|
78
|
-
webmock (3.
|
|
78
|
+
webmock (3.8.3)
|
|
79
79
|
addressable (>= 2.3.6)
|
|
80
80
|
crack (>= 0.3.2)
|
|
81
|
-
hashdiff
|
|
81
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
82
82
|
|
|
83
83
|
PLATFORMS
|
|
84
84
|
ruby
|
|
@@ -93,4 +93,4 @@ DEPENDENCIES
|
|
|
93
93
|
webmock
|
|
94
94
|
|
|
95
95
|
BUNDLED WITH
|
|
96
|
-
1.
|
|
96
|
+
1.16.6
|
data/LICENSE
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.6
|
data/eventbrite-api-v3.gemspec
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "eventbrite-api-v3".freeze
|
|
9
|
-
s.version = "0.0.
|
|
9
|
+
s.version = "0.0.6"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["BV Satyaram".freeze, "BrunoChauvet".freeze]
|
|
14
|
-
s.date = "
|
|
14
|
+
s.date = "2020-04-28"
|
|
15
15
|
s.description = "Integrate with Eventbrite API".freeze
|
|
16
16
|
s.email = "bvsatyaram@gmail.com".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -44,6 +44,7 @@ Gem::Specification.new do |s|
|
|
|
44
44
|
"lib/eventbrite/api/model/owned_event.rb",
|
|
45
45
|
"lib/eventbrite/api/model/owned_event_attendee.rb",
|
|
46
46
|
"lib/eventbrite/api/model/owned_event_order.rb",
|
|
47
|
+
"lib/eventbrite/api/model/structured_content.rb",
|
|
47
48
|
"lib/eventbrite/api/model/user.rb",
|
|
48
49
|
"lib/eventbrite/api/model/user_contact.rb",
|
|
49
50
|
"lib/eventbrite/api/model/user_contact_list.rb",
|
|
@@ -73,7 +74,7 @@ Gem::Specification.new do |s|
|
|
|
73
74
|
]
|
|
74
75
|
s.homepage = "https://github.com/bvsatyaram/eventbrite-api".freeze
|
|
75
76
|
s.licenses = ["MIT".freeze]
|
|
76
|
-
s.rubygems_version = "
|
|
77
|
+
s.rubygems_version = "3.0.6".freeze
|
|
77
78
|
s.summary = "Integrate with Eventbrite API".freeze
|
|
78
79
|
|
|
79
80
|
if s.respond_to? :specification_version then
|
data/lib/eventbrite-api.rb
CHANGED
|
@@ -18,4 +18,5 @@ require 'eventbrite/api/model/user_organizer.rb'
|
|
|
18
18
|
require 'eventbrite/api/model/owned_event.rb'
|
|
19
19
|
require 'eventbrite/api/model/owned_event_attendee.rb'
|
|
20
20
|
require 'eventbrite/api/model/owned_event_order.rb'
|
|
21
|
+
require 'eventbrite/api/model/structured_content.rb'
|
|
21
22
|
require 'deep_merge/rails_compat'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Eventbrite
|
|
2
|
+
module Api
|
|
3
|
+
module Model
|
|
4
|
+
class StructuredContent < Base
|
|
5
|
+
def model_route
|
|
6
|
+
'events/:event_id/structured_content'
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def create(object, opts={})
|
|
10
|
+
@client.connection.post(url(opts, '1/'), {:headers => @client.headers, :body => object.to_json})
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def update(page_version, object, opts={})
|
|
14
|
+
page_version = page_version.to_s
|
|
15
|
+
page_version << '/' unless page_version.match? /\/$/
|
|
16
|
+
@client.connection.post(url(opts, page_version), {:headers => @client.headers, :body => object.to_json})
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/fixtures/users/me.json
CHANGED
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eventbrite-api-v3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BV Satyaram
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-04-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: oauth2
|
|
@@ -86,6 +86,7 @@ files:
|
|
|
86
86
|
- lib/eventbrite/api/model/owned_event.rb
|
|
87
87
|
- lib/eventbrite/api/model/owned_event_attendee.rb
|
|
88
88
|
- lib/eventbrite/api/model/owned_event_order.rb
|
|
89
|
+
- lib/eventbrite/api/model/structured_content.rb
|
|
89
90
|
- lib/eventbrite/api/model/user.rb
|
|
90
91
|
- lib/eventbrite/api/model/user_contact.rb
|
|
91
92
|
- lib/eventbrite/api/model/user_contact_list.rb
|
|
@@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
132
133
|
version: '0'
|
|
133
134
|
requirements: []
|
|
134
135
|
rubyforge_project:
|
|
135
|
-
rubygems_version: 2.
|
|
136
|
+
rubygems_version: 2.7.8
|
|
136
137
|
signing_key:
|
|
137
138
|
specification_version: 4
|
|
138
139
|
summary: Integrate with Eventbrite API
|