shogun 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/shogun/command/new.rb +6 -6
- data/lib/shogun/version.rb +1 -1
- data/scaffold/new/project/env +15 -0
- data/scaffold/new/project/rspec +3 -0
- data/scaffold/new/project/ruby-gemset +1 -0
- data/scaffold/new/project/ruby-version +1 -0
- data/scaffold/new/project/slugignore +6 -0
- data/scaffold/new/project/travis.yml +3 -0
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbbb7d3dded3ef408c23d684b28cef3066ef0dba
|
|
4
|
+
data.tar.gz: 11966bcc7dfa5ee5293136d19483409371e60027
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e8db39ec518c88b89dd4982da3ac3590cd532ae35a2ebe40d5fc9caabf7227494b6962b222d1f41e5626f7b32a325940fd8a9eb2f3a0da198b8320af824c899
|
|
7
|
+
data.tar.gz: bc396c2fd4ef36836692f9163c4dddbe8cd1fdd8fcbb2a0c2838cb9c2a67ef542c8b2d1b60cf836a011a6f46d4fd3f985843c12f91b0607c9fa7fc35dd8f9d50
|
data/lib/shogun/command/new.rb
CHANGED
|
@@ -15,12 +15,12 @@ module Shogun
|
|
|
15
15
|
architect.create(directory: architect.destination(namespace))
|
|
16
16
|
architect.within(source: "project", destination: namespace) do |scope|
|
|
17
17
|
scope.copy(file: "gitignore", as: ".gitignore", context: context)
|
|
18
|
-
scope.copy(file: ".rspec", context: context)
|
|
19
|
-
scope.copy(file: ".env", context: context)
|
|
20
|
-
scope.copy(file: ".ruby-gemset", context: context)
|
|
21
|
-
scope.copy(file: ".ruby-version", context: context)
|
|
22
|
-
scope.copy(file: ".slugignore", context: context)
|
|
23
|
-
scope.copy(file: ".travis.yml", context: context)
|
|
18
|
+
scope.copy(file: "rspec", as: ".rspec", context: context)
|
|
19
|
+
scope.copy(file: "env", as: ".env", context: context)
|
|
20
|
+
scope.copy(file: "ruby-gemset", as: ".ruby-gemset", context: context)
|
|
21
|
+
scope.copy(file: "ruby-version", as: ".ruby-version", context: context)
|
|
22
|
+
scope.copy(file: "slugignore", as: ".slugignore", context: context)
|
|
23
|
+
scope.copy(file: "travis.yml", as: ".travis.yml", context: context)
|
|
24
24
|
scope.copy(file: "config.ru", context: context)
|
|
25
25
|
scope.copy(file: "Envfile", context: context)
|
|
26
26
|
scope.copy(file: "Gemfile", context: context)
|
data/lib/shogun/version.rb
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
APPLICATION_SESSION_SECRET="{{namespace}}"
|
|
2
|
+
APPLICATION_LOG_LEVEL="DEBUG"
|
|
3
|
+
DATABASE_POOL=5
|
|
4
|
+
DATABASE_REAP_FREQUENCY=5
|
|
5
|
+
DATABASE_TIMEZONE="utc"
|
|
6
|
+
DATABASE_TIMEOUT=15
|
|
7
|
+
DATABASE_URL="postgres://{{namespace}}@localhost:5432/{{namespace}}_development"
|
|
8
|
+
PORT=9292
|
|
9
|
+
PUMA_THREADS_MAX=4
|
|
10
|
+
PUMA_THREADS_MIN=2
|
|
11
|
+
PUMA_WORKER_TIMEOUT=25
|
|
12
|
+
PUMA_WORKERS=2
|
|
13
|
+
RACK_ENV="development"
|
|
14
|
+
CLIENT_HOST="localhost:4200"
|
|
15
|
+
SERVER_HOST="localhost:9292"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{namespace}}-api
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shogun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.2.
|
|
4
|
+
version: 6.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kurtis Rainbolt-Greene
|
|
@@ -397,6 +397,7 @@ files:
|
|
|
397
397
|
- scaffold/new/project/Rakefile
|
|
398
398
|
- scaffold/new/project/config.ru
|
|
399
399
|
- scaffold/new/project/config/puma.rb
|
|
400
|
+
- scaffold/new/project/env
|
|
400
401
|
- scaffold/new/project/gitignore
|
|
401
402
|
- scaffold/new/project/lib/namespace.rb
|
|
402
403
|
- scaffold/new/project/lib/namespace/accounts.rb
|
|
@@ -450,6 +451,10 @@ files:
|
|
|
450
451
|
- scaffold/new/project/lib/namespace/sessions/endpoint.rb
|
|
451
452
|
- scaffold/new/project/lib/namespace/sessions/model.rb
|
|
452
453
|
- scaffold/new/project/lib/namespace/sessions/presenter.rb
|
|
454
|
+
- scaffold/new/project/rspec
|
|
455
|
+
- scaffold/new/project/ruby-gemset
|
|
456
|
+
- scaffold/new/project/ruby-version
|
|
457
|
+
- scaffold/new/project/slugignore
|
|
453
458
|
- scaffold/new/project/spec/lib/namespace/accounts/create/control_spec.rb
|
|
454
459
|
- scaffold/new/project/spec/lib/namespace/accounts/create/denormalizer_spec.rb
|
|
455
460
|
- scaffold/new/project/spec/lib/namespace/accounts/create/normalizer_spec.rb
|
|
@@ -491,6 +496,7 @@ files:
|
|
|
491
496
|
- scaffold/new/project/spec/lib/namespace/sessions/presenter_spec.rb
|
|
492
497
|
- scaffold/new/project/spec/lib/namespace_spec.rb
|
|
493
498
|
- scaffold/new/project/spec/spec_helper.rb
|
|
499
|
+
- scaffold/new/project/travis.yml
|
|
494
500
|
- spec/lib/shogun/authorizer_spec.rb
|
|
495
501
|
- spec/lib/shogun/control/null_spec.rb
|
|
496
502
|
- spec/lib/shogun/control_spec.rb
|