capistrano-rails 1.2.0 → 1.2.1
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/CHANGELOG.md +7 -1
- data/capistrano-rails.gemspec +1 -1
- data/lib/capistrano/tasks/migrations.rake +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e744d9c0e08aeb36ac4885d8a8561cd67eb1a798
|
|
4
|
+
data.tar.gz: 4c1d91cff7a7fbbf6a86feb0d9c067e0a0d5900d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ae15d578ec86f4ba662dc17721cd01cfdd0d0db0b6ddc36871d91512fb79235f151619620c9ae68bafa775a3c27638e2b6317dbd75d3c38db30242f1443ebb2
|
|
7
|
+
data.tar.gz: 115ed44aef22ec0e95786083e96e87a394deb3c8661c3bbdc064ed380645728276bd5f1304f87bde7b2420b97b3d0ec56744b4e5cc90f259d53948f577003bd4
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
* Your contribution here!
|
|
4
4
|
|
|
5
|
+
# [1.2.1][] (Dec 23 2016)
|
|
6
|
+
|
|
7
|
+
* Diff db directory recursively
|
|
8
|
+
* Avoid warning while running migrations on multiple servers (#189)
|
|
9
|
+
|
|
5
10
|
# [1.2.0][] (Oct 25 2016)
|
|
6
11
|
|
|
7
12
|
* Diff entire db directory when determining if migrations are needed
|
|
@@ -60,5 +65,6 @@
|
|
|
60
65
|
|
|
61
66
|
Initial release
|
|
62
67
|
|
|
63
|
-
[master]: https://github.com/capistrano/rails/compare/v1.2.
|
|
68
|
+
[master]: https://github.com/capistrano/rails/compare/v1.2.1...HEAD
|
|
69
|
+
[1.2.1]: https://github.com/capistrano/rails/compare/v1.2.0...v1.2.1
|
|
64
70
|
[1.2.0]: https://github.com/capistrano/rails/compare/v1.1.8...v1.2.0
|
data/capistrano-rails.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "capistrano-rails"
|
|
7
|
-
gem.version = '1.2.
|
|
7
|
+
gem.version = '1.2.1'
|
|
8
8
|
gem.authors = ["Tom Clements", "Lee Hambley", "Kir Shatrov"]
|
|
9
9
|
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com", "shatrov@me.com"]
|
|
10
10
|
gem.description = %q{Rails specific Capistrano tasks}
|
|
@@ -7,11 +7,11 @@ namespace :deploy do
|
|
|
7
7
|
on fetch(:migration_servers) do
|
|
8
8
|
conditionally_migrate = fetch(:conditionally_migrate)
|
|
9
9
|
info '[deploy:migrate] Checking changes in db' if conditionally_migrate
|
|
10
|
-
if conditionally_migrate && test(
|
|
10
|
+
if conditionally_migrate && test(:diff, "-qr #{release_path}/db #{current_path}/db")
|
|
11
11
|
info '[deploy:migrate] Skip `deploy:migrate` (nothing changed in db)'
|
|
12
12
|
else
|
|
13
13
|
info '[deploy:migrate] Run `rake db:migrate`'
|
|
14
|
-
invoke :'deploy:migrating'
|
|
14
|
+
invoke :'deploy:migrating' unless Rake::Task[:'deploy:migrating'].already_invoked
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Clements
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-
|
|
13
|
+
date: 2016-12-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: capistrano
|
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
82
|
version: '0'
|
|
83
83
|
requirements: []
|
|
84
84
|
rubyforge_project:
|
|
85
|
-
rubygems_version: 2.6.
|
|
85
|
+
rubygems_version: 2.6.8
|
|
86
86
|
signing_key:
|
|
87
87
|
specification_version: 4
|
|
88
88
|
summary: Rails specific Capistrano tasks
|