pixelforce_recipes 2.0 → 2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pixelforce_recipes.rb +2 -13
- data/lib/pixelforce_recipes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 646a39fe331bfdfb9d399525d4727fbf3872eddaf7ef9da027928c64f2a8ccec
|
4
|
+
data.tar.gz: 12a83480e34c1da523d8aa82ce568f78e967bca86d633d64f352de589b08e920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4b0912a870be8429c9c2811add7bc06e3854cd02bbec7fa3c973b3a1c312c02ba89d7c41c2febd12f3011e718f81b0809aee1ec367b6152ce7da2355741e755
|
7
|
+
data.tar.gz: 51d9cecf38a69ee98eeffe3a32403ff96c221f96601d28314aa9f030d7a36f95eb0fe64b49e48e8c310a11bcbb701d63a11666483155dcda83e3832b79e80cbe
|
data/lib/pixelforce_recipes.rb
CHANGED
@@ -3,19 +3,8 @@ require "capistrano"
|
|
3
3
|
|
4
4
|
if defined?(Capistrano::VERSION)
|
5
5
|
if Capistrano::VERSION.to_s.split('.').first.to_i >= 3
|
6
|
-
|
7
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/sidekiq")
|
8
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/resque")
|
9
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/resque_scheduler")
|
10
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/supervisor")
|
11
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/unicorn")
|
12
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/puma")
|
6
|
+
Dir[File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/capistrano_3_recipes/*.rb")].each {|file| require file }
|
13
7
|
else
|
14
|
-
|
15
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/unicorn")
|
16
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/sidekiq")
|
17
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/resque")
|
18
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/puma")
|
19
|
-
require File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/logrotate")
|
8
|
+
Dir[File.expand_path("#{File.dirname(__FILE__)}/pixelforce_recipes/legacy_recipes/*.rb")].each {|file| require file }
|
20
9
|
end
|
21
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixelforce_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|