grape-starter 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/starter/version.rb +1 -1
- data/template/.rubocop.yml +3 -1
- data/template/Gemfile +1 -0
- data/template/Rakefile +1 -0
- data/template/api/base.rb +1 -0
- data/template/api/endpoints/root.rb +1 -0
- data/template/api/entities/api_error.rb +1 -0
- data/template/api/entities/route.rb +1 -0
- data/template/config.ru +2 -1
- data/template/config/application.rb +1 -0
- data/template/config/boot.rb +1 -0
- data/template/config/environment.rb +1 -0
- data/template/lib/api.rb +1 -0
- data/template/lib/api/version.rb +1 -0
- data/template/spec/lib/api/version_spec.rb +1 -0
- data/template/spec/requests/documentation_spec.rb +1 -0
- data/template/spec/requests/root_spec.rb +5 -4
- data/template/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0112738c160ed430e73370b56e6fe19b9eeb1ca
|
4
|
+
data.tar.gz: 7d9d15f09ff55f5e710887a8712f4b4f2cf0a545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e8988df8aff88918cc726c0acfd5dfa1d8b38fd6dabbe1a2abfc12072dd3ab6693b03df7e43488ac57c0311c9786a1d328cf6a47ab44b60e0c36157e029ec8
|
7
|
+
data.tar.gz: e0fada9f049ce019b42eed372f4c5f1a063f23bef0c326225e918bd9513ab4f87175892f75b4bb4eb6330c0d058284426c5177da6a807a806d418534aa468306
|
data/lib/starter/version.rb
CHANGED
data/template/.rubocop.yml
CHANGED
data/template/Gemfile
CHANGED
data/template/Rakefile
CHANGED
data/template/api/base.rb
CHANGED
data/template/config.ru
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# frozen_string_literal: false
|
2
|
+
|
2
3
|
require 'rack/cors'
|
3
4
|
|
4
5
|
use Rack::CommonLogger
|
@@ -6,7 +7,7 @@ use Rack::CommonLogger
|
|
6
7
|
use Rack::Cors do
|
7
8
|
allow do
|
8
9
|
origins '*'
|
9
|
-
resource '*', headers: :any, methods: [
|
10
|
+
resource '*', headers: :any, methods: %i[get post put patch delete options]
|
10
11
|
end
|
11
12
|
end
|
12
13
|
|
data/template/config/boot.rb
CHANGED
data/template/lib/api.rb
CHANGED
data/template/lib/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-starter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LeFnord
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|