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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a67fe5ab9dcc9acb798d1e449b81df83c7ad4e6e4744c599e0a3bd0e79a93811
4
- data.tar.gz: e2ff3d4c0b955cad9561875730ce978b148b7358568c679c3038d689e970e4b7
3
+ metadata.gz: 37a41cd16f65be78bc1c702fc3c19fe4adf4f3c5ff01f6e969dbec400ae14fba
4
+ data.tar.gz: 12e05cc9faa4878876941c9410f5393ebd6137360c2fd075459e24dda380314c
5
5
  SHA512:
6
- metadata.gz: b816598adb6ae57bf6fe03623fcf0c306082ec824b70dfaf4481babc3a5148952fbf73c6fd5df107ea3a153688a3cfb19f31b5dc163abc9d6e0398a47e8187b5
7
- data.tar.gz: f431b64d05428772e3ef2d0ded4c364860c953c713a21ec31ab20632f01bc03f7cf42fd81c5b972b053d883ec56cb8bc9030d4c75c683bc7b9512ac866cff678
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. Execute copy `linked_files` and `linked_dirs` with one command on deployed servers.
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
- 2. Skip `bundle install` if Gemfile isn't changed.
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
- 3. Skip `rake assets:precompile` and `yarn:install` if asset files not chagned.
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.6"
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'
@@ -1,3 +1,5 @@
1
+ set :conditionally_migrate, true
2
+
1
3
  namespace :deploy do
2
4
  namespace :symlink do
3
5
  Rake::Task["deploy:symlink:linked_files"].clear_actions
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.6
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-19 00:00:00.000000000 Z
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 assets:precompile`,
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: []