media_types 0.2.2 → 0.2.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
  SHA1:
3
- metadata.gz: 6fc33fb9364e57ab683f4b4952e91a57e798755b
4
- data.tar.gz: f4850c3da5de1d4828eba05f1db76e3a280e2732
3
+ metadata.gz: dfc032dcb8a8e98536dac1ca449bd8138c3594c2
4
+ data.tar.gz: 489d7e95f4819ac96379221d30b5202fbdacaa37
5
5
  SHA512:
6
- metadata.gz: 8b0dce264cf1843068066c4b2a02479507c41db7a86b8d2c41f524060966b8a55ee1fa3889b5a33e01b5cd8e5d95194fa22c2448356fe92f28767f0a27c2d4b0
7
- data.tar.gz: 2f45782ddf09d89efbba993cbc465d3bf37dac75bcfe49143fd7d9e3b5873bd81ad6f105aee3a484a13788615f8167976ead37e0acc22e15c4806c93a8550d32
6
+ metadata.gz: 24c6f02bdb57bfd3e86a434b13ad6d42f3701bb496234a2c411a23cc503a124a34adaca30ee2e01420b9e8078e3a63ab1b3a0db482998d5230079d0c971ae559
7
+ data.tar.gz: 694cdc7622903947e80acc5056ce31d187b76e11566be259d1f3e515dcbb5309d305ecc77c25dc56dd548585e1c86dffd5d2fe8be52c26834acc5346ea1b5855
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.3
2
+
3
+ - Fix an issue with `Hash#compact` which was introduce in 2.4+. Now works with Ruby 2.3.
4
+
1
5
  # 0.2.2
2
6
 
3
7
  - Fix an issue with `Registrar#versions`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- media_types (0.2.2)
4
+ media_types (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -123,7 +123,7 @@ module MediaTypes
123
123
 
124
124
  def each_combination
125
125
  iterable(registered_versions).each do |version|
126
- iterable(registered_views).each do |view, view_opts|
126
+ registered_views.each do |view, view_opts|
127
127
  iterable(registered_suffixes).each do |suffix|
128
128
  opts = { view: view_opts }
129
129
  yield version, view, suffix, opts
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MediaTypes
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld