capistrano-faster-rails 1.0.5 → 1.0.6

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: 3c27bd41538284e866aa011daddf6707c004edf5b8737620353b3026b86c1ae8
4
- data.tar.gz: 35050bfbade0d05279e32618b1467e4c866a98076cfeef86eb0348696d84bbd1
3
+ metadata.gz: a67fe5ab9dcc9acb798d1e449b81df83c7ad4e6e4744c599e0a3bd0e79a93811
4
+ data.tar.gz: e2ff3d4c0b955cad9561875730ce978b148b7358568c679c3038d689e970e4b7
5
5
  SHA512:
6
- metadata.gz: 9390ec415afd8d142a4fb1189cd2f9fafb42e1e0cd012c5a52ba70e4dbbeab6f9f060259d14961d864fd6c28be4e058a025589b96a4c863edef76139c356bece
7
- data.tar.gz: 90f7405708d460444233799d763935740ba13254e81040c5402e1670cf6665e8f344e481d42484c3e04d48556a5c71887a183c3f2c49c1b60d3a6ee7acce5b8f
6
+ metadata.gz: b816598adb6ae57bf6fe03623fcf0c306082ec824b70dfaf4481babc3a5148952fbf73c6fd5df107ea3a153688a3cfb19f31b5dc163abc9d6e0398a47e8187b5
7
+ data.tar.gz: f431b64d05428772e3ef2d0ded4c364860c953c713a21ec31ab20632f01bc03f7cf42fd81c5b972b053d883ec56cb8bc9030d4c75c683bc7b9512ac866cff678
@@ -4,17 +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.5"
7
+ spec.version = "1.0.6"
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
- Execute copy `linked_files` and `linked_dirs` with one command on deployed servers.
14
-
15
- Skip `bundle install` if Gemfile isn't changed.
16
-
17
- Skip `rake assets:precompile` and `yarn:install` if asset files not chagned.
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.
18
15
  }
19
16
  spec.homepage = "https://github.com/ifool/capistrano-faster-rails"
20
17
  spec.license = 'MIT'
@@ -97,8 +97,8 @@ if yarn_install_task
97
97
  Rake::Task["yarn:install"]
98
98
  task :install do
99
99
  on roles fetch(:yarn_roles) do
100
- log "[yarn:install] Checking assets changes"
101
- asset_files = fetch(:asset_files, "vendor/assets app/assets config/initializers/assets.rb")
100
+ log "[yarn:install] Checking package.json and yarn.lock changes"
101
+ asset_files = fetch(:asset_files, "package.json yarn.lock")
102
102
  asset_changed = within(repo_path) {
103
103
  previous_revision, current_revision = fetch(:previous_revision), fetch(:current_revision)
104
104
  previous_revision.to_s.empty? ||
@@ -111,7 +111,7 @@ if yarn_install_task
111
111
  end
112
112
  end
113
113
  else
114
- log "[yarn:install] Skip `yarn:install` (assets not changed)"
114
+ log "[yarn:install] Skip `yarn:install` (package.json and yarn.lock not changed)"
115
115
  end
116
116
  end
117
117
  end
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.5
4
+ version: 1.0.6
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-18 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,10 +38,9 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: "\n Execute copy `linked_files` and `linked_dirs` with one command
42
- on deployed servers.\n\n Skip `bundle install` if Gemfile isn't changed.\n\n
43
- \ Skip `rake assets:precompile` and `yarn:install` if asset files not chagned.\n
44
- \ "
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 "
45
44
  email:
46
45
  - lifuzho@126.com
47
46
  executables: []