gris 0.0.4 → 0.0.5

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: 04e8cf11f998e3b614460e921507e3b6c90fa9ec
4
- data.tar.gz: ffbc14978f65bafcb8b597bde0a407f7fe7a796a
3
+ metadata.gz: 3dee1519f08d481cb3dc87b52b38b38541a0842d
4
+ data.tar.gz: 0a289e0ac32d55f546ad16926e6dada6024ce8b3
5
5
  SHA512:
6
- metadata.gz: 3a304524e59586cbd9d6a52ed4d2b104b1aed247199c73f539ce09057656c5f099129b23abbb5ccbf30c6215c3ad8ce8f376306d715d4fca3b266c4d41cd189a
7
- data.tar.gz: 2119c505cb16a7ae8f46e6a5e4425fb625d3b994d192b374d9f36a7f49736541979400887be9c8f42e945d9ab0fc878cda79886238d7846e0a2d9d5df4d40ac7
6
+ metadata.gz: 8d3ecfdc6d5622cfe457b4c39ef0d4cb42d3ad3fbae11f52ee44a825045c3f7dfd5ad5825ab8bfc586e5be7d99b709431eb2565803220b606e074ecf9325c69e
7
+ data.tar.gz: fb5ee5158b87ab99ab14977a4d02818b4f4e005911aedd7b4ce79ddae45053b9cf37de56f55798fa769da7f28a81229192635915b563fbd6f340acd806256ab8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gris (0.0.4)
4
+ gris (0.0.5)
5
5
  activesupport (~> 4.2, >= 4.2.0)
6
6
  dotenv (~> 1.0.2, >= 1.0.2)
7
7
  git (~> 1.2, >= 1.2.8)
@@ -19,4 +19,5 @@ class ApplicationEndpoint < Grape::API
19
19
  get do
20
20
  present self, with: RootPresenter
21
21
  end
22
+ # Additional mounted endpoints
22
23
  end
@@ -9,6 +9,8 @@ module RootPresenter
9
9
  { href: "#{base_url(opts)}/health" }
10
10
  end
11
11
 
12
+ # Additional endpoint links
13
+
12
14
  private
13
15
 
14
16
  def base_url(opts)
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Application::Service do
3
+ describe <%= app_name.classify %>::Application do
4
4
  include Rack::Test::Methods
5
5
 
6
6
  context 'CORS' do
data/lib/gris/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Gris
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
 
4
4
  class Version
5
5
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Fareed
@@ -371,9 +371,7 @@ files:
371
371
  - lib/gris/generators/templates/scaffold/config/database.yml.tt
372
372
  - lib/gris/generators/templates/scaffold/config/initializers/active_record.rb
373
373
  - lib/gris/generators/templates/scaffold/db/schema.rb
374
- - lib/gris/generators/templates/scaffold/public/errors/404.html
375
- - lib/gris/generators/templates/scaffold/public/errors/500.html
376
- - lib/gris/generators/templates/scaffold/spec/endpoints/cors_spec.rb
374
+ - lib/gris/generators/templates/scaffold/spec/endpoints/cors_spec.rb.tt
377
375
  - lib/gris/generators/templates/scaffold/spec/spec_helper.rb
378
376
  - lib/gris/generators/templates/scaffold/spec/support/app_helper.rb.tt
379
377
  - lib/gris/grape_extensions/authentication_helpers.rb
@@ -1,11 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Page Not Found</title>
4
- </head>
5
- <body>
6
- <h1>Ooops...</h1>
7
- <p>
8
- This page could not be found.
9
- </p>
10
- </body>
11
- </html>
@@ -1,11 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Unexpected Error</title>
4
- </head>
5
- <body>
6
- <h1>Ouch...</h1>
7
- <p>
8
- Something went terribly wrong.
9
- </p>
10
- </body>
11
- </html>