media_types 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/media_types/minitest/assert_media_types_registered.rb +3 -3
- data/lib/media_types/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08de3d174f6897c31f563d3c5e87c838cbb211e2'
|
4
|
+
data.tar.gz: 58bd0565983942f81bb491d55f9df96c35135b61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b0ba8e9ccf21b97639532d89f14ed116783540a87558c7c8e56ba6e0e92b7778c2e73ce024ec29e85c87ba11d7442920d6d79be22314df80dce1932dad8973
|
7
|
+
data.tar.gz: ee112e23a9e63338e02847cd7912cc06ae03eb191153c84662fdde3733f934af63c3c64889745eb5e98824a67e4aab0b7237d93904ffc0e1e6ba1818b9705373
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# MediaTypes
|
2
2
|
[![Build Status](https://travis-ci.com/SleeplessByte/media-types-ruby.svg?branch=master)](https://travis-ci.com/SleeplessByte/media-types-ruby)
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/media_types.svg)](https://badge.fury.io/rb/media_types)
|
4
4
|
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
|
5
5
|
[![Maintainability](https://api.codeclimate.com/v1/badges/6f2dc1fb37ecb98c4363/maintainability)](https://codeclimate.com/github/SleeplessByte/media-types-ruby/maintainability)
|
6
6
|
|
@@ -69,15 +69,15 @@ module MediaTypes
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def create(**opts, &block)
|
72
|
-
view(
|
72
|
+
view(CREATE_VIEW, **opts, &block)
|
73
73
|
end
|
74
74
|
|
75
75
|
def collection(**opts, &block)
|
76
|
-
view(
|
76
|
+
view(COLLECTION_VIEW, **opts, &block)
|
77
77
|
end
|
78
78
|
|
79
79
|
def index(**opts, &block)
|
80
|
-
view(
|
80
|
+
view(INDEX_VIEW, **opts, &block)
|
81
81
|
end
|
82
82
|
|
83
83
|
def to_h
|
data/lib/media_types/version.rb
CHANGED