trailer_vote-api 0.5.1 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46d57c6c5edcc73fc6c16b5302c956ac7760c4da
4
- data.tar.gz: 79adf40d6e35c77879e7f72e84f088c24d6cb4a2
3
+ metadata.gz: f12068ff87343f989361daa76d6177e6ce6512b4
4
+ data.tar.gz: eb25f5a8ddfb27a92ee5488dd78cfe19433fe530
5
5
  SHA512:
6
- metadata.gz: b5fc67e11870aa11ba62949b1c026af013aa22c0c6f67206e2928f05c2ae3aceca90b4274ee2519c933ee2d693b968ffe2f064f3a2baee6d8cfdf818ec2ef37b
7
- data.tar.gz: 5330b02f5b511e699f5518d2acc4e96a24ca411dcb77bfc285ef7df50c2f2660df17cb497e9338423b88a951a354f459b3d6ee9eb6aed6c731c94028a7f50146
6
+ metadata.gz: 28ec670b376dd160323028839e42dc3cb5928a5392fe6c735ee01882d3040e37bec85bff6b55a98c2161c3bbfea618d86a1647de159e643e04df1c79c21ef57c
7
+ data.tar.gz: 97331b6793a5c6035994843f7b5dc5c9a8c491558ae3140607b70a0f1b078cd5cec2ec17d0f451fa57229bede0d5e4dbcdd9759f98b6ac2f064dcad8510a47e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.2
2
+
3
+ - Fix a bug with the `media_types` integration
4
+
1
5
  # 0.5.1
2
6
 
3
7
  - Loosen Gem dependency versions to allow any minor update, except for dogfooded gems, which are allowed major updates, until they hit 1.0.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-api (0.5.1)
4
+ trailer_vote-api (0.5.2)
5
5
  http (>= 3.3.0, < 4.x)
6
6
  oj (>= 3.6, < 4.x)
7
7
  trailer_vote-media_types (>= 0.6.1, < 1)
@@ -49,8 +49,8 @@ GEM
49
49
  json (>= 1.8, < 3)
50
50
  simplecov-html (~> 0.10.0)
51
51
  simplecov-html (0.10.2)
52
- trailer_vote-media_types (0.6.1)
53
- media_types (~> 0.6.0)
52
+ trailer_vote-media_types (0.6.2)
53
+ media_types (>= 0.6.0, < 1)
54
54
  unf (0.1.4)
55
55
  unf_ext
56
56
  unf_ext (0.0.7.5-x64-mingw32)
@@ -62,7 +62,7 @@ module TrailerVote
62
62
  end
63
63
 
64
64
  def define_encode(adapter, media_type)
65
- adapter.define_singleton_method(:encode) do
65
+ adapter.define_singleton_method(:encode) do |obj|
66
66
  begin
67
67
  media_type.validate!(obj)
68
68
  Oj.dump(obj, mode: :compat)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TrailerVote
4
4
  module Api
5
- VERSION = '0.5.1'
5
+ VERSION = '0.5.2'
6
6
  end
7
7
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.metadata = {
17
17
  'bug_tracker_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/issues',
18
18
  'changelog_uri' => 'https://github.com/TrailerVote/trailervote-api-clients/blob/master/ruby/CHANGELOG.md',
19
- 'documentation_uri' => 'https://www.rubydoc.info/gems/media_types',
19
+ 'documentation_uri' => 'https://www.rubydoc.info/gems/trailer_vote-api',
20
20
  'homepage_uri' => 'https://github.com/trailervote/trailervote-api-clients',
21
21
  'source_code_uri' => 'https://github.com/trailervote/trailervote-api-clients/blob/master/ruby',
22
22
  'wiki_uri' => 'https://docs.trailervote.com/reference/media-types'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailer_vote-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
@@ -231,7 +231,7 @@ licenses: []
231
231
  metadata:
232
232
  bug_tracker_uri: https://github.com/TrailerVote/trailervote-api-clients/issues
233
233
  changelog_uri: https://github.com/TrailerVote/trailervote-api-clients/blob/master/ruby/CHANGELOG.md
234
- documentation_uri: https://www.rubydoc.info/gems/media_types
234
+ documentation_uri: https://www.rubydoc.info/gems/trailer_vote-api
235
235
  homepage_uri: https://github.com/trailervote/trailervote-api-clients
236
236
  source_code_uri: https://github.com/trailervote/trailervote-api-clients/blob/master/ruby
237
237
  wiki_uri: https://docs.trailervote.com/reference/media-types