capistrano-faster-rails 1.0.6 → 1.0.7
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/README.md +5 -3
- data/capistrano-faster-rails.gemspec +2 -2
- data/lib/capistrano/tasks/faster-rails.rake +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37a41cd16f65be78bc1c702fc3c19fe4adf4f3c5ff01f6e969dbec400ae14fba
|
4
|
+
data.tar.gz: 12e05cc9faa4878876941c9410f5393ebd6137360c2fd075459e24dda380314c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456514b12e25ae02941b11157cf71eeee54d71d419afef85d00a02bcf9396f508e7ef04ceb39b1f163dda978128898055894c00ed8d45d9c7ac66c1c76e42328
|
7
|
+
data.tar.gz: e7792a721a42accdfc37c7d5b442cac28a1fc1bacd77b53a293110310cee72abda3dcd98fe309ea373f36192444cf3ebbf17985b4cf579fdce0927026c1281b5
|
data/README.md
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
|
3
3
|
## What does this gem do?
|
4
4
|
|
5
|
-
1.
|
5
|
+
1. Set `conditionally_migrate` to true to skip `rails db:migrate` if migration files not changed.
|
6
|
+
|
7
|
+
2. Execute copy `linked_files` and `linked_dirs` with one command on deployed servers.
|
6
8
|
|
7
9
|
Capistrano runs each command separately on their own SSH session and it takes too long to deploy an application, copy `linked_files` and `linked_dirs` on deployed servers with one command will speedup deploying process.
|
8
10
|
|
9
|
-
|
11
|
+
3. Skip `bundle install` if Gemfile isn't changed.
|
10
12
|
|
11
13
|
`bundle install` takes few or dozens of seconds, most of the time your project's Gemfile will not be changed, and you don't have to execute `bundle install` if your Gemfile isn't changed.
|
12
14
|
|
13
|
-
|
15
|
+
4. Skip `rake assets:precompile` and `yarn:install` if asset files not chagned.
|
14
16
|
|
15
17
|
`rake assets:precompile` and `yarn:install` is really slow if your Rails project has plenty of assets to precompile, even if they are not changed. You don't have to execute them if your asset files not chagned.
|
16
18
|
|
@@ -4,14 +4,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-faster-rails"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.7"
|
8
8
|
spec.authors = ["lifuzhong"]
|
9
9
|
spec.email = ["lifuzho@126.com"]
|
10
10
|
|
11
11
|
spec.summary = %q{Speedup deploy Ruby On Rails project when using capistrano}
|
12
12
|
spec.description = %q{
|
13
13
|
Make your Ruby On Rails project deploying with Capistrano even faster.
|
14
|
-
It skips unnecessary steps(`bundle install`, `rake assets:precompile`, `yarn:install`) intelligently.
|
14
|
+
It skips unnecessary steps(`rails db:migrate`, `bundle install`, `rake assets:precompile`, `yarn:install`) intelligently.
|
15
15
|
}
|
16
16
|
spec.homepage = "https://github.com/ifool/capistrano-faster-rails"
|
17
17
|
spec.license = 'MIT'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-faster-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lifuzhong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -39,8 +39,8 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
description: "\n Make your Ruby On Rails project deploying with Capistrano even
|
42
|
-
faster.\n It skips unnecessary steps(`bundle install`, `rake
|
43
|
-
`yarn:install`) intelligently.\n "
|
42
|
+
faster.\n It skips unnecessary steps(`rails db:migrate`, `bundle install`, `rake
|
43
|
+
assets:precompile`, `yarn:install`) intelligently.\n "
|
44
44
|
email:
|
45
45
|
- lifuzho@126.com
|
46
46
|
executables: []
|