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 +4 -4
- data/capistrano-faster-rails.gemspec +3 -6
- data/lib/capistrano/tasks/faster-rails.rake +3 -3
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a67fe5ab9dcc9acb798d1e449b81df83c7ad4e6e4744c599e0a3bd0e79a93811
|
4
|
+
data.tar.gz: e2ff3d4c0b955cad9561875730ce978b148b7358568c679c3038d689e970e4b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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
|
101
|
-
asset_files = fetch(:asset_files, "
|
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` (
|
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.
|
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-
|
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
|
42
|
-
|
43
|
-
|
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: []
|