gris 0.0.7 → 0.0.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a683be06c5c714578f43ac6e2d0f21ed51d74a4c
|
4
|
+
data.tar.gz: 3191f2ffde90d228298f06887c62f16a8b210007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616ddbd83398dd971737f535c87f4faf0df5b23f0a315ea6b94bc81ee956737b6f95e52eff93826b03d3fa19364242dd33a92208a17b7604dc7a29211829852f
|
7
|
+
data.tar.gz: 708d01729f56cf84ee336ae253fd5e3592f0d2e65ffa23e0752aad9ab36b94e42795aeb6955b6a9140a37596dd9b968d03456b32d02a61536d2ce4edc160645d
|
data/Gemfile.lock
CHANGED
data/lib/gris/version.rb
CHANGED
@@ -79,6 +79,10 @@ describe Gris::Generators::ScaffoldGenerator do
|
|
79
79
|
expect(application_api_file).to match(/class ApplicationEndpoint < Grape::API/)
|
80
80
|
end
|
81
81
|
|
82
|
+
it 'the application endpoint uses hal+json content_type' do
|
83
|
+
expect(application_api_file).to include "content_type :json, 'application/hal+json'"
|
84
|
+
end
|
85
|
+
|
82
86
|
it 'mounts the RootPresenter' do
|
83
87
|
expect(application_api_file).to match(/present self, with: RootPresenter/)
|
84
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Fareed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|