media_types 0.2.1 → 0.2.2

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: '09eccfe62ff3d2b3fb9235dc70654be4c80b17e2'
4
- data.tar.gz: 4e67cae37de6d2388468aebd11adab245a409407
3
+ metadata.gz: 6fc33fb9364e57ab683f4b4952e91a57e798755b
4
+ data.tar.gz: f4850c3da5de1d4828eba05f1db76e3a280e2732
5
5
  SHA512:
6
- metadata.gz: c2101829df031b3c36e596b9507b25ce6973f657fbc2b62f4d4a0c6756b028b9459a40eb41331eb0009139f86e0881b2f48e731142349e00a4e2bd2967410ee3
7
- data.tar.gz: 3028b29f405864c4dee9ff9001053f2799d821ed286093d8ca5517e9441c99c5f90e6c5fd41c6b2817bf9411b09dad255badf777cdc34d97631423bd4f64d685
6
+ metadata.gz: 8b0dce264cf1843068066c4b2a02479507c41db7a86b8d2c41f524060966b8a55ee1fa3889b5a33e01b5cd8e5d95194fa22c2448356fe92f28767f0a27c2d4b0
7
+ data.tar.gz: 2f45782ddf09d89efbba993cbc465d3bf37dac75bcfe49143fd7d9e3b5873bd81ad6f105aee3a484a13788615f8167976ead37e0acc22e15c4806c93a8550d32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # 0.2.2
2
+
3
+ - Fix an issue with `Registrar#versions`
4
+ - Fix link in the gemspec to Github
5
+
6
+ # 0.2.1
7
+
8
+ - Fix an issue with `Constructable#valid?` and `Constructable#validate!`
9
+
1
10
  # 0.2.0
2
11
 
3
12
  Breaking changes to update public API and usage
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- media_types (0.2.1)
4
+ media_types (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -84,10 +84,10 @@ module MediaTypes
84
84
  ##
85
85
  # Registers +versions+
86
86
  #
87
- # @param [*Numeric, Array<Numeric>] versions the versions to register
87
+ # @param [*Numeric] versions the versions to register
88
88
  #
89
89
  def versions(*versions)
90
- registered_versions.push(*Array(versions))
90
+ registered_versions.push(*versions)
91
91
  self
92
92
  end
93
93
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MediaTypes
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
data/media_types.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = 'Library to create media type definitions, schemes and validations'
14
14
  spec.description = 'Media Types as mime types are not easily supported by frameworks such as rails. '
15
- spec.homepage = 'https://github.com/SleeplessBytes/media-types-ruby'
15
+ spec.homepage = 'https://github.com/SleeplessByte/media-types-ruby'
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
18
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: media_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
@@ -148,7 +148,7 @@ files:
148
148
  - lib/media_types/validations.rb
149
149
  - lib/media_types/version.rb
150
150
  - media_types.gemspec
151
- homepage: https://github.com/SleeplessBytes/media-types-ruby
151
+ homepage: https://github.com/SleeplessByte/media-types-ruby
152
152
  licenses: []
153
153
  metadata: {}
154
154
  post_install_message: