dcs-best-practices 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 +4 -4
- data/dcs-best-practices.gemspec +1 -1
- data/lib/capistrano/dcs/defaults.rb +7 -4
- data/lib/dcs_best_practices/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22f21d3fa3fe13fe1d5f88e6c269b2db75caf975a11349fd054134c145d14933
|
4
|
+
data.tar.gz: 5f3a80c094a4af05782dc75c7578569e64da98883a1738cdb43f7efc0c823930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e04418ec6d476d54dc98c214189d31fe59e6cc3bb6f2c68fc4906a269a8bb77dfd9b676f2faebe08540228362914eea5c5b5e5699fe143951778e088d832107
|
7
|
+
data.tar.gz: ac314c16da686de22f86b8f9a2dfe16926f170c6ec4ee2ea8b4a578cf3bd23f5a1b201cb73a8e29777a308ca574f4ce70c769c3b8c04e8c501090b56d787fb6d
|
data/dcs-best-practices.gemspec
CHANGED
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_dependency 'capistrano-sidekiq', '~> 1.0', '>= 1.0.0'
|
40
40
|
spec.add_dependency 'capistrano3-puma', '~> 4.0', '>= 4.0.0'
|
41
41
|
spec.add_dependency 'figaro', '~> 1.1', '>= 1.1.1'
|
42
|
-
spec.add_dependency 'puma', '~> 4.
|
42
|
+
spec.add_dependency 'puma', '~> 4.3', '>= 4.3.0'
|
43
43
|
|
44
44
|
spec.add_development_dependency 'rubocop', '~> 0.7', '>= 0.7.0'
|
45
45
|
spec.add_development_dependency 'rubocop-performance', '~> 1.5', '>= 1.5.0'
|
@@ -2,26 +2,29 @@
|
|
2
2
|
|
3
3
|
namespace :load do
|
4
4
|
task :defaults do
|
5
|
-
lock '>= 3.
|
5
|
+
lock '>= 3.10.0'
|
6
6
|
load 'config/deploy.rb'
|
7
7
|
load "config/deploy/#{fetch(:stage)}.rb" if fetch(:stage)
|
8
8
|
|
9
9
|
set :deploy_to, "/home/#{fetch(:user)}/projects/#{fetch(:application)}"
|
10
|
-
set :
|
10
|
+
set :bundle_path, nil
|
11
|
+
set :bundle_binstubs, nil
|
12
|
+
set :bundle_flags, '--system'
|
11
13
|
set :bundle_without, %i[development test console doc]
|
12
14
|
set :use_sudo, false
|
13
15
|
|
14
16
|
ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call
|
15
17
|
|
16
|
-
set :pty,
|
18
|
+
set :pty, false
|
17
19
|
|
18
20
|
set :log_level, :info
|
21
|
+
set :format_options, truncate: false
|
19
22
|
set :keep_releases, 5
|
20
23
|
set :env, worker_count: 8
|
21
24
|
|
22
25
|
set :linked_files, fetch(:linked_files, []) + %w[config/application.yml public/sitemap.xml]
|
23
26
|
set :linked_dirs, fetch(:linked_dirs, []) + %w[bin log tmp/cache tmp/pids tmp/sockets vendor/bundle
|
24
|
-
public/system public/uploads public/mails]
|
27
|
+
public/system public/uploads public/mails .bundle]
|
25
28
|
|
26
29
|
set :default_environments, 'RAILS_ENV=production'
|
27
30
|
set :production_rake, "rvm use #{fetch(:rvm_ruby_version)} do bundle exec rake #{fetch(:default_environments)}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dcs-best-practices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DarkWater
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -256,20 +256,20 @@ dependencies:
|
|
256
256
|
requirements:
|
257
257
|
- - ">="
|
258
258
|
- !ruby/object:Gem::Version
|
259
|
-
version: 4.
|
259
|
+
version: 4.3.0
|
260
260
|
- - "~>"
|
261
261
|
- !ruby/object:Gem::Version
|
262
|
-
version: '4.
|
262
|
+
version: '4.3'
|
263
263
|
type: :runtime
|
264
264
|
prerelease: false
|
265
265
|
version_requirements: !ruby/object:Gem::Requirement
|
266
266
|
requirements:
|
267
267
|
- - ">="
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version: 4.
|
269
|
+
version: 4.3.0
|
270
270
|
- - "~>"
|
271
271
|
- !ruby/object:Gem::Version
|
272
|
-
version: '4.
|
272
|
+
version: '4.3'
|
273
273
|
- !ruby/object:Gem::Dependency
|
274
274
|
name: rubocop
|
275
275
|
requirement: !ruby/object:Gem::Requirement
|