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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/media_types/base/collector.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: 27062ffb1d9b17404a0032f220478b120aa41089
|
4
|
+
data.tar.gz: ba0dab9025a4e53aef10e8b9de7edd3ef121c2dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18dd51f3f86ba10a7c8deb68ce21dc5f2fe1f07bafe2a2fbdf6ed2a30caba04c92df54b1468adce18512641742c593d433b974304db28345804ae6020e79fe4
|
7
|
+
data.tar.gz: b05ed05756b9af5512eca5a10dec3244a75462d8ea3a7869ccd9b6e0fe2dc76b2c4fab5d5d89f39b760f606ec496590b9469d8a82fc2b96f8ea4d288f4576ba4
|
data/Gemfile.lock
CHANGED
@@ -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)
|
data/lib/media_types/version.rb
CHANGED