media_types-serialization 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: 129d55b60f1d39859d01d1bdf4981f6463feb3a63ddb258e073ec472d566d2b2
4
- data.tar.gz: 4b04a87f78d765f68073ecb89d9a1bb64b2b111beb3743dddf26184ea25c65d1
3
+ metadata.gz: f06cbbb5eb9ccdb11dfa751a8fa3d20b03e675a3b94f6393538acda79f61081d
4
+ data.tar.gz: 4b8347532cfdc1e9020189ad1a50a047bf8699df0705f602bdbb2340a5a44f8e
5
5
  SHA512:
6
- metadata.gz: 33a37e3f6343069fca0c3fb82953b008ed427ff86c5c411969a3ab79f87dd8c31c2881d405baac4fac1ffca55ec0169ac741fafd79839156629bb3737b9ce3da
7
- data.tar.gz: dd4324afe7d9715d29d5d21bdc329c1a21f9b0435048bef4e39cbdbd80bbeb1a6570674cba562759240368b3f7f534d712a8991e3047bfe2f538501dce6e4254
6
+ metadata.gz: a6d56c098681e1a854b9284a08fa18b56542b1786fec6dbe58182af59da487d21526bd2cdcd7ddb08ee03277201f4e710ce9e1a0b57c09bbfa196d38d12e1227
7
+ data.tar.gz: 45eeb2cb62c4c100e13513eba6a1ef97ce0953ed22b21d70cef3f1f142f52d183b9d596906e76d8f29e110b85030077273b0eee6b9a15e494c05343cdc2d0d25
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.3
4
+
5
+ - 🐛 Unvalidated serializers would put the view part of the identifier before the version. This was not in line with validated serializers.
6
+
3
7
  ## 1.0.2
4
8
 
5
9
  - 🐛 Explicitly set all oj parameters when decoding as well.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- media_types-serialization (1.0.1)
4
+ media_types-serialization (1.0.3)
5
5
  actionpack (>= 4.0.0)
6
6
  activesupport (>= 4.0.0)
7
7
  http_headers-accept (>= 0.2.2, < 1.0.0)
@@ -27,8 +27,8 @@ class FakeValidator
27
27
  def identifier
28
28
  suffix = suffixes[[internal_view, internal_version]] || ''
29
29
  result = prefix
30
- result += '.' + internal_view.to_s unless internal_view.nil?
31
30
  result += '.v' + internal_version.to_s unless internal_version.nil?
31
+ result += '.' + internal_view.to_s unless internal_view.nil?
32
32
  result += '+' + suffix.to_s unless suffix.empty?
33
33
 
34
34
  result
@@ -1,5 +1,5 @@
1
1
  module MediaTypes
2
2
  module Serialization
3
- VERSION = '1.0.2'.freeze
3
+ VERSION = '1.0.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: media_types-serialization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld