yext-api 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 231f74310029474a04fbd38792855a4fe2062ab6
4
- data.tar.gz: 011a274982d38ae9da9014915f97ddf11c617650
3
+ metadata.gz: 3aeeb0787c7cb64c35c33dd502229d6000a069a8
4
+ data.tar.gz: 41bb674660c1997da44d668f8bf23bbe264af45c
5
5
  SHA512:
6
- metadata.gz: 278829385446794d3fe4d9d59b34c9a21389996634c7e23629e5401a6f28cfb9bbef96d0d18c19b8e71454916b54c5134f85950eb95d9c8c4e6f2d7c48045dd1
7
- data.tar.gz: 80a0f5606e80f15db7d90b89e0214cf482c340e0f3aa712f542f346705eb9e525fa8fe6070f25de4d6ccc7b1eeb23d395eb979a32e27d06b7dbf6d27cc451e71
6
+ metadata.gz: '009d47ed163e73e9c7dc0dba8443f748cfe6ec2a80c8535b169ae5ec5891bd05a0b508c2696cc29f11017e16f57bd9397d829e6c59252823856f5c033102ac6d'
7
+ data.tar.gz: f8b58429f14460939533a6e48a54234af2f6f741b882fddf69d835381a6cca3117af248e815feb01651a273dc4adc2c65ec7ed54e6a1a801e70b44c16e09df72
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yext-api (0.1.8)
4
+ yext-api (0.1.9)
5
5
  memoist (~> 0)
6
6
  rails (> 4)
7
7
  spyke (~> 5)
@@ -10,46 +10,50 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (5.1.4)
14
- actionpack (= 5.1.4)
13
+ actioncable (5.2.0)
14
+ actionpack (= 5.2.0)
15
15
  nio4r (~> 2.0)
16
- websocket-driver (~> 0.6.1)
17
- actionmailer (5.1.4)
18
- actionpack (= 5.1.4)
19
- actionview (= 5.1.4)
20
- activejob (= 5.1.4)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailer (5.2.0)
18
+ actionpack (= 5.2.0)
19
+ actionview (= 5.2.0)
20
+ activejob (= 5.2.0)
21
21
  mail (~> 2.5, >= 2.5.4)
22
22
  rails-dom-testing (~> 2.0)
23
- actionpack (5.1.4)
24
- actionview (= 5.1.4)
25
- activesupport (= 5.1.4)
23
+ actionpack (5.2.0)
24
+ actionview (= 5.2.0)
25
+ activesupport (= 5.2.0)
26
26
  rack (~> 2.0)
27
27
  rack-test (>= 0.6.3)
28
28
  rails-dom-testing (~> 2.0)
29
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (5.1.4)
31
- activesupport (= 5.1.4)
30
+ actionview (5.2.0)
31
+ activesupport (= 5.2.0)
32
32
  builder (~> 3.1)
33
33
  erubi (~> 1.4)
34
34
  rails-dom-testing (~> 2.0)
35
35
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
- activejob (5.1.4)
37
- activesupport (= 5.1.4)
36
+ activejob (5.2.0)
37
+ activesupport (= 5.2.0)
38
38
  globalid (>= 0.3.6)
39
- activemodel (5.1.4)
40
- activesupport (= 5.1.4)
41
- activerecord (5.1.4)
42
- activemodel (= 5.1.4)
43
- activesupport (= 5.1.4)
44
- arel (~> 8.0)
45
- activesupport (5.1.4)
39
+ activemodel (5.2.0)
40
+ activesupport (= 5.2.0)
41
+ activerecord (5.2.0)
42
+ activemodel (= 5.2.0)
43
+ activesupport (= 5.2.0)
44
+ arel (>= 9.0)
45
+ activestorage (5.2.0)
46
+ actionpack (= 5.2.0)
47
+ activerecord (= 5.2.0)
48
+ marcel (~> 0.3.1)
49
+ activesupport (5.2.0)
46
50
  concurrent-ruby (~> 1.0, >= 1.0.2)
47
- i18n (~> 0.7)
51
+ i18n (>= 0.7, < 2)
48
52
  minitest (~> 5.1)
49
53
  tzinfo (~> 1.1)
50
54
  addressable (2.5.2)
51
55
  public_suffix (>= 2.0.2, < 4.0)
52
- arel (8.0.0)
56
+ arel (9.0.0)
53
57
  builder (3.2.3)
54
58
  codecov (0.1.10)
55
59
  json
@@ -60,10 +64,10 @@ GEM
60
64
  activesupport
61
65
  crack (0.4.3)
62
66
  safe_yaml (~> 1.0.0)
63
- crass (1.0.3)
67
+ crass (1.0.4)
64
68
  diff-lcs (1.3)
65
69
  docile (1.1.5)
66
- erubi (1.7.0)
70
+ erubi (1.7.1)
67
71
  faraday (0.14.0)
68
72
  multipart-post (>= 1.2, < 3)
69
73
  faraday_middleware (0.12.2)
@@ -73,51 +77,57 @@ GEM
73
77
  activesupport (>= 4.2.0)
74
78
  hashdiff (0.3.7)
75
79
  hashie (3.5.7)
76
- i18n (0.9.1)
80
+ i18n (1.0.1)
77
81
  concurrent-ruby (~> 1.0)
78
82
  json (2.1.0)
79
- loofah (2.1.1)
83
+ crass (~> 1.0.2)
84
+ nokogiri (>= 1.5.9)
85
+ loofah (2.2.2)
80
86
  crass (~> 1.0.2)
81
87
  nokogiri (>= 1.5.9)
82
88
  mail (2.7.0)
83
89
  mini_mime (>= 0.1.1)
90
+ marcel (0.3.2)
91
+ mimemagic (~> 0.3.2)
84
92
  memoist (0.16.0)
85
93
  method_source (0.9.0)
94
+ mimemagic (0.3.2)
86
95
  mini_mime (1.0.0)
87
96
  mini_portile2 (2.3.0)
88
- minitest (5.11.1)
97
+ minitest (5.11.3)
89
98
  multipart-post (2.0.0)
90
- nio4r (2.2.0)
91
- nokogiri (1.8.1)
99
+ nio4r (2.3.1)
100
+ nokogiri (1.8.4)
92
101
  mini_portile2 (~> 2.3.0)
93
102
  public_suffix (3.0.1)
94
- rack (2.0.3)
95
- rack-test (0.8.2)
103
+ rack (2.0.5)
104
+ rack-test (1.0.0)
96
105
  rack (>= 1.0, < 3)
97
- rails (5.1.4)
98
- actioncable (= 5.1.4)
99
- actionmailer (= 5.1.4)
100
- actionpack (= 5.1.4)
101
- actionview (= 5.1.4)
102
- activejob (= 5.1.4)
103
- activemodel (= 5.1.4)
104
- activerecord (= 5.1.4)
105
- activesupport (= 5.1.4)
106
+ rails (5.2.0)
107
+ actioncable (= 5.2.0)
108
+ actionmailer (= 5.2.0)
109
+ actionpack (= 5.2.0)
110
+ actionview (= 5.2.0)
111
+ activejob (= 5.2.0)
112
+ activemodel (= 5.2.0)
113
+ activerecord (= 5.2.0)
114
+ activestorage (= 5.2.0)
115
+ activesupport (= 5.2.0)
106
116
  bundler (>= 1.3.0)
107
- railties (= 5.1.4)
117
+ railties (= 5.2.0)
108
118
  sprockets-rails (>= 2.0.0)
109
119
  rails-dom-testing (2.0.3)
110
120
  activesupport (>= 4.2.0)
111
121
  nokogiri (>= 1.6)
112
- rails-html-sanitizer (1.0.3)
113
- loofah (~> 2.0)
114
- railties (5.1.4)
115
- actionpack (= 5.1.4)
116
- activesupport (= 5.1.4)
122
+ rails-html-sanitizer (1.0.4)
123
+ loofah (~> 2.2, >= 2.2.2)
124
+ railties (5.2.0)
125
+ actionpack (= 5.2.0)
126
+ activesupport (= 5.2.0)
117
127
  method_source
118
128
  rake (>= 0.8.7)
119
129
  thor (>= 0.18.1, < 2.0)
120
- rake (10.4.2)
130
+ rake (10.5.0)
121
131
  rspec (3.6.0)
122
132
  rspec-core (~> 3.6.0)
123
133
  rspec-expectations (~> 3.6.0)
@@ -147,7 +157,7 @@ GEM
147
157
  simplecov-html (0.10.2)
148
158
  simplecov-rcov (0.2.3)
149
159
  simplecov (>= 0.4.1)
150
- sprockets (3.7.1)
160
+ sprockets (3.7.2)
151
161
  concurrent-ruby (~> 1.0)
152
162
  rack (> 1, < 3)
153
163
  sprockets-rails (3.2.1)
@@ -162,7 +172,7 @@ GEM
162
172
  faraday_middleware (>= 0.9.1, < 2.0)
163
173
  thor (0.20.0)
164
174
  thread_safe (0.3.6)
165
- tzinfo (1.2.4)
175
+ tzinfo (1.2.5)
166
176
  thread_safe (~> 0.1)
167
177
  url (0.3.2)
168
178
  valid (1.2.0)
@@ -171,7 +181,7 @@ GEM
171
181
  addressable (>= 2.3.6)
172
182
  crack (>= 0.3.2)
173
183
  hashdiff
174
- websocket-driver (0.6.5)
184
+ websocket-driver (0.7.0)
175
185
  websocket-extensions (>= 0.1.0)
176
186
  websocket-extensions (0.1.3)
177
187
 
@@ -184,14 +194,17 @@ DEPENDENCIES
184
194
  cornucopia
185
195
  gem-release
186
196
  hashie
197
+ loofah (~> 2.2.1)
198
+ rails-html-sanitizer (~> 1.0.4)
187
199
  rake (~> 10)
188
200
  rspec
189
201
  rspec-rails
190
202
  simplecov
191
203
  simplecov-rcov
204
+ sprockets (~> 3.7.2)
192
205
  vcr
193
206
  webmock
194
207
  yext-api!
195
208
 
196
209
  BUNDLED WITH
197
- 1.16.1
210
+ 1.16.2
data/lib/config/api.yml CHANGED
@@ -422,7 +422,7 @@
422
422
  :power_listings:
423
423
  :module_name: Powerlistings
424
424
  :objects:
425
- :publishser:
425
+ :publisher:
426
426
  :actions:
427
427
  - :action: :index
428
428
  :method: :get
data/lib/yext.rb ADDED
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "spyke"
4
+ require "yext/api"
5
+ require "yext/api/engine"
6
+ require "yext/api/concerns/enum_all"
7
+ require "yext/api/enumerations/add_request_location_mode"
8
+ require "yext/api/enumerations/add_request_status"
9
+ require "yext/api/enumerations/error_codes/agreements_errors"
10
+ require "yext/api/enumerations/error_codes/analytics_errors"
11
+ require "yext/api/enumerations/error_codes/customers_errros"
12
+ require "yext/api/enumerations/error_codes/ecl_errors"
13
+ require "yext/api/enumerations/error_codes/feedback_errors"
14
+ require "yext/api/enumerations/error_codes/general_errors"
15
+ require "yext/api/enumerations/error_codes/live_api_errors"
16
+ require "yext/api/enumerations/error_codes/locations_errors"
17
+ require "yext/api/enumerations/error_codes/optimizations_errors"
18
+ require "yext/api/enumerations/error_codes/publisher_suggestions_errors"
19
+ require "yext/api/enumerations/error_codes/reviews_errors"
20
+ require "yext/api/enumerations/error_codes/social_errors"
21
+ require "yext/api/enumerations/error_codes/subscriptions_errors"
22
+ require "yext/api/enumerations/error_codes/suppression_errors"
23
+ require "yext/api/enumerations/error_codes/users_errors"
24
+ require "yext/api/enumerations/error_codes"
25
+ require "yext/api/enumerations/listing_status"
26
+ require "yext/api/enumerations/location_type"
27
+ require "yext/api/enumerations/optimization_link_mode"
28
+ require "yext/api/enumerations/validation"
29
+ require "yext/api/utils/configuration"
30
+ require "yext/api/concerns/rate_limits"
31
+ require "yext/api/live_api"
32
+ require "yext/api/utils/api_finder"
33
+ require "yext/api/utils/middleware/api_rate_limits"
34
+ require "yext/api/utils/middleware/default_parameters"
35
+ require "yext/api/utils/middleware/response_parser"
36
+ require "yext/api/utils/middleware/uri_cleanup"
37
+ require "yext/api/concerns/faraday_connection"
38
+ require "yext/api/concerns/default_scopes"
39
+ require "yext/api/utils/api_base"
40
+ require "yext/api/concerns/account_child"
41
+ require "yext/api/concerns/account_relations"
42
+ require "yext/api/live_api/location"
43
+ require "yext/api/knowledge_api"
44
+ require "yext/api/knowledge_api/account_settings/account"
45
+ require "yext/api/validators/account_validator"
46
+ require "yext/api/administrative_api"
47
+ require "yext/api/administrative_api/account"
48
+ require "yext/api/administrative_api/add_request"
49
+ require "yext/api/administrative_api/service"
50
+ require "yext/api/knowledge_api/account_settings/role"
51
+ require "yext/api/knowledge_api/account_settings/user"
52
+ require "yext/api/knowledge_api/health_check/health"
53
+ require "yext/api/knowledge_api/knowledge_manager/category"
54
+ require "yext/api/knowledge_api/knowledge_manager/location"
55
+ require "yext/api/knowledge_api/optimization_tasks/optimization_link"
56
+ require "yext/api/knowledge_api/optimization_tasks/optimization_task"
57
+ require "yext/api/knowledge_api/powerlistings/listing"
58
+ require "yext/api/knowledge_api/powerlistings/publisher"
59
+ require "yext/../../app/controllers/yext/api/application_controller"
60
+ require "yext/../../app/controllers/yext/api/agreements/add_request_controller"
61
+ require "yext/../../app/controllers/yext/api/powerlistings/listing_controller"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yext
4
4
  module Api
5
- VERSION = "0.1.8"
5
+ VERSION = "0.1.9"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yext-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - CardTapp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-23 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memoist
@@ -249,6 +249,7 @@ files:
249
249
  - config/initializers/valid.rb
250
250
  - config/routes.rb
251
251
  - lib/config/api.yml
252
+ - lib/yext.rb
252
253
  - lib/yext/api.rb
253
254
  - lib/yext/api/administrative_api.rb
254
255
  - lib/yext/api/administrative_api/account.rb