trailer_vote-api 0.8.4 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +13 -13
  3. data/.rubocop.yml +29 -29
  4. data/CHANGELOG.md +56 -56
  5. data/Gemfile +6 -6
  6. data/Gemfile.lock +10 -11
  7. data/README.md +188 -188
  8. data/Rakefile +12 -12
  9. data/bin/console +15 -15
  10. data/bin/setup +8 -8
  11. data/lib/trailer_vote/api.rb +43 -43
  12. data/lib/trailer_vote/api/autoload.rb +24 -22
  13. data/lib/trailer_vote/api/composable/common.rb +91 -91
  14. data/lib/trailer_vote/api/composable/get.rb +66 -66
  15. data/lib/trailer_vote/api/configuration.rb +71 -71
  16. data/lib/trailer_vote/api/errors.rb +115 -115
  17. data/lib/trailer_vote/api/fallback_content_types.rb +50 -50
  18. data/lib/trailer_vote/api/issue.rb +31 -31
  19. data/lib/trailer_vote/api/issue/create.rb +72 -72
  20. data/lib/trailer_vote/api/issue/find.rb +42 -42
  21. data/lib/trailer_vote/api/links.rb +54 -54
  22. data/lib/trailer_vote/api/place.rb +24 -24
  23. data/lib/trailer_vote/api/place/children.rb +33 -0
  24. data/lib/trailer_vote/api/place/children/urls.rb +67 -0
  25. data/lib/trailer_vote/api/place/create.rb +83 -83
  26. data/lib/trailer_vote/api/place/find.rb +60 -59
  27. data/lib/trailer_vote/api/product.rb +33 -33
  28. data/lib/trailer_vote/api/product/create.rb +63 -63
  29. data/lib/trailer_vote/api/product/find.rb +55 -55
  30. data/lib/trailer_vote/api/product/image.rb +38 -38
  31. data/lib/trailer_vote/api/product/image/create.rb +83 -83
  32. data/lib/trailer_vote/api/product/image/find.rb +54 -54
  33. data/lib/trailer_vote/api/product/image/urls.rb +66 -66
  34. data/lib/trailer_vote/api/product/lookup.rb +97 -97
  35. data/lib/trailer_vote/api/product/place.rb +40 -40
  36. data/lib/trailer_vote/api/product/place/link.rb +75 -75
  37. data/lib/trailer_vote/api/product/update.rb +80 -80
  38. data/lib/trailer_vote/api/product/video.rb +38 -38
  39. data/lib/trailer_vote/api/product/video/create.rb +80 -80
  40. data/lib/trailer_vote/api/product/video/find.rb +56 -56
  41. data/lib/trailer_vote/api/product/video/urls.rb +66 -66
  42. data/lib/trailer_vote/api/type_registry.rb +99 -99
  43. data/lib/trailer_vote/api/version.rb +7 -7
  44. data/trailer_vote-api.gemspec +45 -45
  45. metadata +7 -6
@@ -1,45 +1,45 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'trailer_vote/api/version'
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = 'trailer_vote-api'
9
- spec.version = TrailerVote::Api::VERSION
10
- spec.authors = ['Derk-Jan Karrenbeld']
11
- spec.email = ['dj@trailervote.com']
12
- spec.homepage = 'https://github.com/TrailerVote/trailervote-api-clients'
13
- spec.summary = 'Provides a client to interact with the TrailerVote API'
14
-
15
- # noinspection RubyStringKeysInHashInspection
16
- spec.metadata = {
17
- 'bug_tracker_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/issues',
18
- 'changelog_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/blob/master/ruby/CHANGELOG.md',
19
- 'documentation_uri' => 'https://www.rubydoc.info/gems/trailer_vote-api',
20
- 'homepage_uri' => 'https://github.com/trailervote/trailervote-api-clients',
21
- 'source_code_uri' => 'https://github.com/trailervote/trailervote-api-clients/blob/master/ruby',
22
- 'wiki_uri' => 'https://docs.trailervote.com/reference/media-types'
23
- }
24
-
25
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
- f.match(%r{^(test|spec|features)/})
27
- end
28
- spec.bindir = 'bin'
29
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
- spec.require_paths = ['lib']
31
-
32
- # spec.add_runtime_dependency 'httpx'
33
- spec.add_runtime_dependency 'http', '>= 3.3.0', '< 4.x'
34
- spec.add_runtime_dependency 'oj', '>= 3.6', '< 4.x'
35
- spec.add_runtime_dependency 'trailer_vote-media_types', '>= 0.6.1', '< 1'
36
-
37
- spec.add_development_dependency 'awesome_print', '~> 1.8'
38
- spec.add_development_dependency 'bundler', '~> 1.16'
39
- spec.add_development_dependency 'minitest', '~> 5.11'
40
- spec.add_development_dependency 'minitest-ci', '~> 3.4'
41
- spec.add_development_dependency 'minitest-reporters', '~> 1.3'
42
- spec.add_development_dependency 'rake', '~> 10.5'
43
- spec.add_development_dependency 'simplecov', '~> 0.16'
44
- spec.add_development_dependency 'webmock', '~> 3.4'
45
- end
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'trailer_vote/api/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'trailer_vote-api'
9
+ spec.version = TrailerVote::Api::VERSION
10
+ spec.authors = ['Derk-Jan Karrenbeld']
11
+ spec.email = ['dj@trailervote.com']
12
+ spec.homepage = 'https://github.com/TrailerVote/trailervote-api-clients'
13
+ spec.summary = 'Provides a client to interact with the TrailerVote API'
14
+
15
+ # noinspection RubyStringKeysInHashInspection
16
+ spec.metadata = {
17
+ 'bug_tracker_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/issues',
18
+ 'changelog_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/blob/master/ruby/CHANGELOG.md',
19
+ 'documentation_uri' => 'https://www.rubydoc.info/gems/trailer_vote-api',
20
+ 'homepage_uri' => 'https://github.com/trailervote/trailervote-api-clients',
21
+ 'source_code_uri' => 'https://github.com/trailervote/trailervote-api-clients/blob/master/ruby',
22
+ 'wiki_uri' => 'https://docs.trailervote.com/reference/media-types'
23
+ }
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = 'bin'
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ # spec.add_runtime_dependency 'httpx'
33
+ spec.add_runtime_dependency 'http', '>= 3.3.0', '< 4.x'
34
+ spec.add_runtime_dependency 'oj', '>= 3.6', '< 4.x'
35
+ spec.add_runtime_dependency 'trailer_vote-media_types', '>= 0.6.1', '< 1'
36
+
37
+ spec.add_development_dependency 'awesome_print', '~> 1.8'
38
+ spec.add_development_dependency 'bundler', '~> 1.16'
39
+ spec.add_development_dependency 'minitest', '~> 5.11'
40
+ spec.add_development_dependency 'minitest-ci', '~> 3.4'
41
+ spec.add_development_dependency 'minitest-reporters', '~> 1.3'
42
+ spec.add_development_dependency 'rake', '~> 12.3'
43
+ spec.add_development_dependency 'simplecov', '~> 0.16'
44
+ spec.add_development_dependency 'webmock', '~> 3.4'
45
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailer_vote-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-25 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -146,14 +146,14 @@ dependencies:
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: '10.5'
149
+ version: '12.3'
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
- version: '10.5'
156
+ version: '12.3'
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: simplecov
159
159
  requirement: !ruby/object:Gem::Requirement
@@ -210,6 +210,8 @@ files:
210
210
  - lib/trailer_vote/api/issue/find.rb
211
211
  - lib/trailer_vote/api/links.rb
212
212
  - lib/trailer_vote/api/place.rb
213
+ - lib/trailer_vote/api/place/children.rb
214
+ - lib/trailer_vote/api/place/children/urls.rb
213
215
  - lib/trailer_vote/api/place/create.rb
214
216
  - lib/trailer_vote/api/place/find.rb
215
217
  - lib/trailer_vote/api/product.rb
@@ -254,8 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
256
  - !ruby/object:Gem::Version
255
257
  version: '0'
256
258
  requirements: []
257
- rubyforge_project:
258
- rubygems_version: 2.6.14.1
259
+ rubygems_version: 3.0.3
259
260
  signing_key:
260
261
  specification_version: 4
261
262
  summary: Provides a client to interact with the TrailerVote API