media_types 0.1.2 → 0.1.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: 03fff8876615db6b87ca6901a712cc4f0f154a22
4
- data.tar.gz: 2fa066664ba06f8ebe3f33614cce7ca099d6d954
3
+ metadata.gz: 27062ffb1d9b17404a0032f220478b120aa41089
4
+ data.tar.gz: ba0dab9025a4e53aef10e8b9de7edd3ef121c2dc
5
5
  SHA512:
6
- metadata.gz: faf5b66bdaf22ff41b76b5ae8bf0b5cb36784e658340dfaf6be44eeeb9fd7904b0f32fd2a49ce97124bb4b30bf75889c658762f1af897f9d887b4bff03a92d85
7
- data.tar.gz: cfce45aced6fbcf7cd310bd20348a828ccef321b91b172e51aafd6aed8ccfe11fb3aa3950c033962fb4db22ce5e203eb6c33ff48fd12fa66513409400c112b87
6
+ metadata.gz: f18dd51f3f86ba10a7c8deb68ce21dc5f2fe1f07bafe2a2fbdf6ed2a30caba04c92df54b1468adce18512641742c593d433b974304db28345804ae6020e79fe4
7
+ data.tar.gz: b05ed05756b9af5512eca5a10dec3244a75462d8ea3a7869ccd9b6e0fe2dc76b2c4fab5d5d89f39b760f606ec496590b9469d8a82fc2b96f8ea4d288f4576ba4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- media_types (0.1.2)
4
+ media_types (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -7,15 +7,15 @@ module MediaTypes
7
7
  class Collector < SimpleDelegator
8
8
 
9
9
  def index(*args, **options)
10
- view(INDEX_VIEW, *args, **options)
10
+ view(MediaTypes::INDEX_VIEW, *args, **options)
11
11
  end
12
12
 
13
13
  def create(*args, **options, &block)
14
- view(CREATE_VIEW, *args, **options, &block)
14
+ view(MediaTypes::CREATE_VIEW, *args, **options, &block)
15
15
  end
16
16
 
17
17
  def collection(*args, **options)
18
- view(COLLECTION_VIEW, *args, **options)
18
+ view(MediaTypes::COLLECTION_VIEW, *args, **options)
19
19
  end
20
20
 
21
21
  def view(view, *args, **options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MediaTypes
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld