actv 1.1.17 → 1.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/actv/article.rb +4 -0
- data/lib/actv/asset.rb +25 -1
- data/lib/actv/asset_status.rb +3 -0
- data/lib/actv/client.rb +29 -0
- data/lib/actv/event.rb +0 -2
- data/lib/actv/organizer.rb +25 -0
- data/lib/actv/organizer_results.rb +12 -0
- data/lib/actv/version.rb +1 -1
- data/spec/actv/client/organizer_spec.rb +75 -0
- data/spec/fixtures/valid_organizer.json +20 -0
- data/spec/fixtures/valid_organizers.json +45 -0
- metadata +37 -29
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YWJiNGQ1NWUxMGJmYjQxMTc1OTllMzg3YmVjN2I1MTFiZmNhNWRkMg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDc1ZjE0OWI1MmY5MjVlNTJhOTRlYmQ4M2RiZWMwNTE3YTdmNTA0MQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODBkZTc1NGU4ZGVkMzMzZjlkOTU3NDE2OTg5OTg0Mjk3ZjBlOTljNDhlZDRh
|
10
|
+
ZThmNjU0N2UwMjA5YWY2YzNkNDFhYzhlMWMzNmM0OTUxMTRkNTkzNzRhMDM0
|
11
|
+
NjZkNWUxNzU5MzgyNDRkZDliZjdkYzc2NTRhYjMzNDk0MGY4MjQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzEzNmE1YzYyYjNiYThjM2M2NzU3MjA5ZDk0ODM4Njk1OWJlYWZlMWRkYTlh
|
14
|
+
ZDA4ZWVjOWI3MjU2ODEzODQ3YzhjYjliMzlhMjUwMGQ1ZDQxMGVlZmU0ODQx
|
15
|
+
ZGVlM2ViOGJhODRiZGI5NDQ3ODAwYTI2NjI5YzkzZWZjYmFhODk=
|
data/lib/actv/article.rb
CHANGED
data/lib/actv/asset.rb
CHANGED
@@ -16,7 +16,7 @@ module ACTV
|
|
16
16
|
|
17
17
|
attr_reader :assetGuid, :assetName, :assetDsc, :activityStartDate, :activityStartTime, :activityEndDate, :activityEndTime,
|
18
18
|
:homePageUrlAdr, :isRecurring, :contactName, :contactEmailAdr, :contactPhone, :showContact, :publishDate, :createdDate, :modifiedDate,
|
19
|
-
:authorName, :is_event, :is_article
|
19
|
+
:authorName, :is_event, :is_article, :currencyCd
|
20
20
|
|
21
21
|
alias id assetGuid
|
22
22
|
alias title assetName
|
@@ -34,6 +34,9 @@ module ACTV
|
|
34
34
|
alias created_at createdDate
|
35
35
|
alias updated_at modifiedDate
|
36
36
|
alias author_name authorName
|
37
|
+
alias activity_start_date activityStartDate
|
38
|
+
alias activity_end_date activityEndDate
|
39
|
+
alias currency_code currencyCd
|
37
40
|
|
38
41
|
def place
|
39
42
|
@place ||= ACTV::Place.new(@attrs[:place]) unless @attrs[:place].nil?
|
@@ -65,6 +68,10 @@ module ACTV
|
|
65
68
|
alias asset_status status
|
66
69
|
alias assetStatus status
|
67
70
|
|
71
|
+
def visible?
|
72
|
+
asset_status.visible?
|
73
|
+
end
|
74
|
+
|
68
75
|
def legacy_data
|
69
76
|
@legacy_data ||= ACTV::AssetLegacyData.new(@attrs[:assetLegacyData]) unless @attrs[:assetLegacyData].nil?
|
70
77
|
end
|
@@ -258,6 +265,7 @@ module ACTV
|
|
258
265
|
def first_topic
|
259
266
|
get_first_topic_taxonomy[0]
|
260
267
|
end
|
268
|
+
alias topic first_topic
|
261
269
|
|
262
270
|
def first_topic_path
|
263
271
|
urlize first_topic
|
@@ -279,6 +287,22 @@ module ACTV
|
|
279
287
|
urlize "#{sub_topic_path}/#{sub_2_topic}"
|
280
288
|
end
|
281
289
|
|
290
|
+
def sub_3_topic
|
291
|
+
get_first_topic_taxonomy[3]
|
292
|
+
end
|
293
|
+
|
294
|
+
def sub_3_topic_path
|
295
|
+
urlize "#{sub_2_topic_path}/#{sub_3_topic}"
|
296
|
+
end
|
297
|
+
|
298
|
+
def sub_4_topic
|
299
|
+
get_first_topic_taxonomy[4]
|
300
|
+
end
|
301
|
+
|
302
|
+
def sub_4_topic_path
|
303
|
+
urlize "#{sub_3_topic_path}/#{sub_4_topic}"
|
304
|
+
end
|
305
|
+
|
282
306
|
def image_with_placeholder
|
283
307
|
if image_path.empty?
|
284
308
|
"/images/logo-active-icon-gray.gif"
|
data/lib/actv/asset_status.rb
CHANGED
data/lib/actv/client.rb
CHANGED
@@ -14,6 +14,8 @@ require 'actv/search_results'
|
|
14
14
|
require 'actv/event_search_results'
|
15
15
|
require 'actv/popular_interest_search_results'
|
16
16
|
require 'actv/user'
|
17
|
+
require 'actv/organizer'
|
18
|
+
require 'actv/organizer_results'
|
17
19
|
require 'simple_oauth'
|
18
20
|
require 'active_support/core_ext/hash/indifferent_access'
|
19
21
|
|
@@ -78,6 +80,33 @@ module ACTV
|
|
78
80
|
end
|
79
81
|
end
|
80
82
|
|
83
|
+
# Returns an organizer with the specified ID
|
84
|
+
#
|
85
|
+
# @authentication_required No
|
86
|
+
# @return ACTV::Organizer The requested organizer.
|
87
|
+
# @param id [String] An assset ID.
|
88
|
+
# @param options [Hash] A customizable set of options.
|
89
|
+
# @example Return the organizer with the id AA388860-2718-4B20-B380-8F939596B123
|
90
|
+
# ACTV.organizer("AA388860-2718-4B20-B380-8F939596B123")
|
91
|
+
def organizer(id, params={})
|
92
|
+
response = get("/v3/organizers/#{id}.json", params)
|
93
|
+
ACTV::Organizer.from_response response
|
94
|
+
end
|
95
|
+
|
96
|
+
|
97
|
+
# Returns all organizers
|
98
|
+
#
|
99
|
+
# @authentication_required No
|
100
|
+
# @param options [Hash] A customizable set of options.
|
101
|
+
# @return [ACTV::Organizer] Return organizations
|
102
|
+
# @example Returns organizers
|
103
|
+
# ACTV.organizers
|
104
|
+
# ACTV.organizers({per_page: 8, current_page: 2})
|
105
|
+
def organizers(params={})
|
106
|
+
response = get("/v3/organizers.json", params)
|
107
|
+
ACTV::OrganizerResults.from_response response
|
108
|
+
end
|
109
|
+
|
81
110
|
# Returns an asset with the specified url path
|
82
111
|
#
|
83
112
|
# @authentication_required No
|
data/lib/actv/event.rb
CHANGED
@@ -5,8 +5,6 @@ module ACTV
|
|
5
5
|
attr_reader :salesStartDate, :salesEndDate, :activityStartDate, :activityEndDate
|
6
6
|
alias sales_start_date salesStartDate
|
7
7
|
alias sales_end_date salesEndDate
|
8
|
-
alias activity_start_date activityStartDate
|
9
|
-
alias activity_end_date activityEndDate
|
10
8
|
|
11
9
|
def online_registration_available?
|
12
10
|
if is_present?(self.registrationUrlAdr)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'actv/identity'
|
2
|
+
|
3
|
+
module ACTV
|
4
|
+
class Organizer < ACTV::Identity
|
5
|
+
|
6
|
+
attr_reader :organizationDsc, :organizationGuid, :addressCityName, :fax, :sourceSystemGuid, :addressPostalCd,
|
7
|
+
:organizationName, :addressStateProvinceCode, :addressCountryCd, :primaryContactPhone, :addressLine1Txt,
|
8
|
+
:primaryContactEmailAdr, :hideOrganizationContact, :addressLocalityName, :showOrganizationName, :primaryContactName, :addressLine2Txt
|
9
|
+
|
10
|
+
alias id organizationGuid
|
11
|
+
alias name organizationName
|
12
|
+
alias description organizationDsc
|
13
|
+
alias address_line1 addressLine1Txt
|
14
|
+
alias address_line2 addressLine2Txt
|
15
|
+
alias city addressCityName
|
16
|
+
alias locality addressLocalityName
|
17
|
+
alias state addressStateProvinceCode
|
18
|
+
alias country addressCountryCd
|
19
|
+
alias postal_code addressPostalCd
|
20
|
+
alias primary_contact primaryContactName
|
21
|
+
alias email primaryContactEmailAdr
|
22
|
+
alias phone primaryContactPhone
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/lib/actv/version.rb
CHANGED
@@ -0,0 +1,75 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ACTV::Client do
|
4
|
+
before do
|
5
|
+
@client = ACTV::Client.new
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "#organizer" do
|
9
|
+
context "with a valid asset ID passed" do
|
10
|
+
before do
|
11
|
+
stub_get("/v3/organizers/valid_organizer.json").
|
12
|
+
to_return(body: fixture("valid_organizer.json"))
|
13
|
+
@organizer = @client.organizer("valid_organizer")
|
14
|
+
end
|
15
|
+
|
16
|
+
it "requests the correct asset" do
|
17
|
+
a_get("/v3/organizers/valid_organizer.json").should have_been_made
|
18
|
+
end
|
19
|
+
|
20
|
+
it "returns the correct id" do
|
21
|
+
@organizer.id.should == "3f9d9266-1e44-4871-a9cb-48d876fcdcd0"
|
22
|
+
end
|
23
|
+
it "returns the correct name" do
|
24
|
+
@organizer.name.should == "test org name"
|
25
|
+
end
|
26
|
+
it "returns the correct description" do
|
27
|
+
@organizer.description.should == "test org dsc"
|
28
|
+
end
|
29
|
+
it "returns the correct address_line1" do
|
30
|
+
@organizer.address_line1.should == "addy 1"
|
31
|
+
end
|
32
|
+
it "returns the correct address_line2" do
|
33
|
+
@organizer.address_line2.should == "addy 2"
|
34
|
+
end
|
35
|
+
it "returns the correct city" do
|
36
|
+
@organizer.city.should == "city"
|
37
|
+
end
|
38
|
+
it "returns the correct locality" do
|
39
|
+
@organizer.locality.should == "locality"
|
40
|
+
end
|
41
|
+
it "returns the correct state" do
|
42
|
+
@organizer.state.should == "CA"
|
43
|
+
end
|
44
|
+
it "returns the correct country" do
|
45
|
+
@organizer.country.should == "US"
|
46
|
+
end
|
47
|
+
it "returns the correct postal_code" do
|
48
|
+
@organizer.postal_code.should == "82828"
|
49
|
+
end
|
50
|
+
it "returns the correct primary_contact" do
|
51
|
+
@organizer.primary_contact.should == "org contact name"
|
52
|
+
end
|
53
|
+
it "returns the correct email" do
|
54
|
+
@organizer.email.should == "org email"
|
55
|
+
end
|
56
|
+
it "returns the correct phone" do
|
57
|
+
@organizer.phone.should == "888-555-1234"
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe "#organizers" do
|
63
|
+
context "with a valid asset ID passed" do
|
64
|
+
before do
|
65
|
+
stub_get("/v3/organizers.json").
|
66
|
+
to_return(body: fixture("valid_organizers.json"))
|
67
|
+
@organizers = @client.organizers
|
68
|
+
end
|
69
|
+
it "returns an array of organizers" do
|
70
|
+
@organizers.total.should == 34968
|
71
|
+
@organizers.results.first.should be_a ACTV::Organizer
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"organizationDsc": "test org dsc",
|
3
|
+
"organizationGuid": "3f9d9266-1e44-4871-a9cb-48d876fcdcd0",
|
4
|
+
"addressCityName": "city",
|
5
|
+
"fax": "999 444 8888",
|
6
|
+
"sourceSystemGuid": "ea4e860a-9dcd-4daa-a7ca-4a77ad194f65",
|
7
|
+
"addressPostalCd": "82828",
|
8
|
+
"organizationName": "test org name",
|
9
|
+
"addressStateProvinceCode": "CA",
|
10
|
+
"addressCountryCd": "US",
|
11
|
+
"primaryContactPhone": "888-555-1234",
|
12
|
+
"addressLine1Txt": "addy 1",
|
13
|
+
"primaryContactEmailAdr": "org email",
|
14
|
+
"organizationUrlAdr": "my org url",
|
15
|
+
"hideOrganizationContact": false,
|
16
|
+
"addressLocalityName": "locality",
|
17
|
+
"showOrganizationName": false,
|
18
|
+
"primaryContactName": "org contact name",
|
19
|
+
"addressLine2Txt": "addy 2"
|
20
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"total": 34968,
|
3
|
+
"results": [
|
4
|
+
{
|
5
|
+
"organizationDsc": "test org dsc",
|
6
|
+
"organizationGuid": "3f9d9266-1e44-4871-a9cb-48d876fcdcd0",
|
7
|
+
"addressCityName": "city",
|
8
|
+
"fax": "999 444 8888",
|
9
|
+
"sourceSystemGuid": "ea4e860a-9dcd-4daa-a7ca-4a77ad194f65",
|
10
|
+
"addressPostalCd": "82828",
|
11
|
+
"organizationName": "test org name",
|
12
|
+
"addressStateProvinceCode": "CA",
|
13
|
+
"addressCountryCd": "US ",
|
14
|
+
"primaryContactPhone": "org contact phone",
|
15
|
+
"addressLine1Txt": "addy 1",
|
16
|
+
"primaryContactEmailAdr": "org email",
|
17
|
+
"organizationUrlAdr": "my org url",
|
18
|
+
"hideOrganizationContact": false,
|
19
|
+
"addressLocalityName": "locality",
|
20
|
+
"showOrganizationName": false,
|
21
|
+
"primaryContactName": "org contact name",
|
22
|
+
"addressLine2Txt": "addy 2"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"organizationDsc": "test org dsc",
|
26
|
+
"organizationGuid": "48ae0fca-3d5f-4869-8ae0-41fb1c53a393",
|
27
|
+
"addressCityName": "city",
|
28
|
+
"fax": "999 444 8888",
|
29
|
+
"sourceSystemGuid": "ecffc8b6-51ed-43af-82d3-540e607e5af5",
|
30
|
+
"addressPostalCd": "82828",
|
31
|
+
"organizationName": "test org name",
|
32
|
+
"addressStateProvinceCode": "CA",
|
33
|
+
"addressCountryCd": "US ",
|
34
|
+
"primaryContactPhone": "org contact phone",
|
35
|
+
"addressLine1Txt": "addy 1",
|
36
|
+
"primaryContactEmailAdr": "org email",
|
37
|
+
"organizationUrlAdr": "my org url",
|
38
|
+
"hideOrganizationContact": false,
|
39
|
+
"addressLocalityName": "locality",
|
40
|
+
"showOrganizationName": false,
|
41
|
+
"primaryContactName": "org contact name",
|
42
|
+
"addressLine2Txt": "addy 2"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathaniel Barnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02
|
11
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -56,168 +56,168 @@ dependencies:
|
|
56
56
|
name: nokogiri
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - '>='
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - '>='
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '>='
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '>='
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: maruku
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - '>='
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - '>='
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - '>='
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - '>='
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - '>='
|
115
|
+
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - '>='
|
122
|
+
- - ! '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - '>='
|
129
|
+
- - ! '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - '>='
|
136
|
+
- - ! '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - '>='
|
143
|
+
- - ! '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - '>='
|
150
|
+
- - ! '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: timecop
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - '>='
|
157
|
+
- - ! '>='
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - '>='
|
164
|
+
- - ! '>='
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: webmock
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - '>='
|
171
|
+
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - '>='
|
178
|
+
- - ! '>='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: yard
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - '>='
|
185
|
+
- - ! '>='
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - '>='
|
192
|
+
- - ! '>='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: guard-rspec
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - '>='
|
199
|
+
- - ! '>='
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - '>='
|
206
|
+
- - ! '>='
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: active_support
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - '>='
|
213
|
+
- - ! '>='
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - '>='
|
220
|
+
- - ! '>='
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
description: A Ruby wrapper for the Active API
|
@@ -283,6 +283,8 @@ files:
|
|
283
283
|
- lib/actv/identity.rb
|
284
284
|
- lib/actv/interest.rb
|
285
285
|
- lib/actv/null_object.rb
|
286
|
+
- lib/actv/organizer.rb
|
287
|
+
- lib/actv/organizer_results.rb
|
286
288
|
- lib/actv/phone_number.rb
|
287
289
|
- lib/actv/place.rb
|
288
290
|
- lib/actv/popular_interest.rb
|
@@ -312,6 +314,7 @@ files:
|
|
312
314
|
- spec/actv/client/assets_spec.rb
|
313
315
|
- spec/actv/client/event_results_spec.rb
|
314
316
|
- spec/actv/client/events_spec.rb
|
317
|
+
- spec/actv/client/organizer_spec.rb
|
315
318
|
- spec/actv/client/search_spec.rb
|
316
319
|
- spec/actv/client/system_health_spec.rb
|
317
320
|
- spec/actv/client/users_spec.rb
|
@@ -333,6 +336,8 @@ files:
|
|
333
336
|
- spec/fixtures/valid_event_results.json
|
334
337
|
- spec/fixtures/valid_evergreen.json
|
335
338
|
- spec/fixtures/valid_evergreen_child_1.json
|
339
|
+
- spec/fixtures/valid_organizer.json
|
340
|
+
- spec/fixtures/valid_organizers.json
|
336
341
|
- spec/fixtures/valid_search.json
|
337
342
|
- spec/fixtures/valid_search_no_event_results.json
|
338
343
|
- spec/fixtures/valid_search_no_results.json
|
@@ -348,17 +353,17 @@ require_paths:
|
|
348
353
|
- lib
|
349
354
|
required_ruby_version: !ruby/object:Gem::Requirement
|
350
355
|
requirements:
|
351
|
-
- - '>='
|
356
|
+
- - ! '>='
|
352
357
|
- !ruby/object:Gem::Version
|
353
358
|
version: '0'
|
354
359
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
355
360
|
requirements:
|
356
|
-
- - '>='
|
361
|
+
- - ! '>='
|
357
362
|
- !ruby/object:Gem::Version
|
358
363
|
version: '0'
|
359
364
|
requirements: []
|
360
365
|
rubyforge_project:
|
361
|
-
rubygems_version: 2.
|
366
|
+
rubygems_version: 2.1.4
|
362
367
|
signing_key:
|
363
368
|
specification_version: 4
|
364
369
|
summary: Active API
|
@@ -377,6 +382,7 @@ test_files:
|
|
377
382
|
- spec/actv/client/assets_spec.rb
|
378
383
|
- spec/actv/client/event_results_spec.rb
|
379
384
|
- spec/actv/client/events_spec.rb
|
385
|
+
- spec/actv/client/organizer_spec.rb
|
380
386
|
- spec/actv/client/search_spec.rb
|
381
387
|
- spec/actv/client/system_health_spec.rb
|
382
388
|
- spec/actv/client/users_spec.rb
|
@@ -398,6 +404,8 @@ test_files:
|
|
398
404
|
- spec/fixtures/valid_event_results.json
|
399
405
|
- spec/fixtures/valid_evergreen.json
|
400
406
|
- spec/fixtures/valid_evergreen_child_1.json
|
407
|
+
- spec/fixtures/valid_organizer.json
|
408
|
+
- spec/fixtures/valid_organizers.json
|
401
409
|
- spec/fixtures/valid_search.json
|
402
410
|
- spec/fixtures/valid_search_no_event_results.json
|
403
411
|
- spec/fixtures/valid_search_no_results.json
|