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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a86318cb5ed45a79914c8d1efa10ea3bf4527af8b45c3672641a248353ad3ef
4
- data.tar.gz: c4107d7a495f5a0c0cec5eab1ee7c51406a4dbb9f3973855a782b67b8913534c
3
+ metadata.gz: 22f21d3fa3fe13fe1d5f88e6c269b2db75caf975a11349fd054134c145d14933
4
+ data.tar.gz: 5f3a80c094a4af05782dc75c7578569e64da98883a1738cdb43f7efc0c823930
5
5
  SHA512:
6
- metadata.gz: 683a5a5ce32ca52b0c0ff053337cadec730387fddb9e0939e37bc6daa2eaf49ec4be7dac3d69f217f4af275986bcd6a2daeffeb318556fda097cc306c61ba858
7
- data.tar.gz: 2098721b8b6b28106bba2ac21ad71d422f36e9c9d59d990a0e595beb164f256add79b58f00ce1f4bf3b5059ee88424f216e0e12c1b137d0f4c1e2f2a7f968944
6
+ metadata.gz: 3e04418ec6d476d54dc98c214189d31fe59e6cc3bb6f2c68fc4906a269a8bb77dfd9b676f2faebe08540228362914eea5c5b5e5699fe143951778e088d832107
7
+ data.tar.gz: ac314c16da686de22f86b8f9a2dfe16926f170c6ec4ee2ea8b4a578cf3bd23f5a1b201cb73a8e29777a308ca574f4ce70c769c3b8c04e8c501090b56d787fb6d
@@ -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.1', '>= 4.1.0'
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.4.0'
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 :sidekiq_pid, "#{fetch(:deploy_to)}/shared/tmp/pids/sidekiq-0.pid"
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, true
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)}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DCSBestPractices
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
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
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-02 00:00:00.000000000 Z
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.1.0
259
+ version: 4.3.0
260
260
  - - "~>"
261
261
  - !ruby/object:Gem::Version
262
- version: '4.1'
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.1.0
269
+ version: 4.3.0
270
270
  - - "~>"
271
271
  - !ruby/object:Gem::Version
272
- version: '4.1'
272
+ version: '4.3'
273
273
  - !ruby/object:Gem::Dependency
274
274
  name: rubocop
275
275
  requirement: !ruby/object:Gem::Requirement