models_auditor 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4d8a63f47a37b183caad670c9745fa9334e9b58
4
- data.tar.gz: 8b2cf91af9cfba52013ca43527f2c9679d45766f
3
+ metadata.gz: a248c7be6e7791226e4e3dfdd025ebf1f0951628
4
+ data.tar.gz: 6db62e95de615c9d464a7cc3079081a7a757f217
5
5
  SHA512:
6
- metadata.gz: 4f48f4b73c1e5b153052e8d8c1ca4fe08ee1dbbf3115e0758762f9458e4e747f0eb136a1ba7c7128380eefaa6c8f33b644889d67c848d5d31cb507c0a7058d51
7
- data.tar.gz: 9dc858c8469c39f356be4e2e84cc1a4fb84a27fab25b47fb03fde427af2e90b28a685c67a68c246b2c98d47140132b5589500c4090807fe8cd469c4eefcc6571
6
+ metadata.gz: d5c3749a62ded4d9e41049e4a49651c3dae14408bda99a078f8acf40574847e8dddb1856a67286147b6cd57db566e05547e21924f505a53945f3012f2b9cefdc
7
+ data.tar.gz: 01b11969cb4d8f346683a94dba8055a034e2e4cfa3be221322faa78fd82fd23b6fffc54c1e7c2b693f783b4db31eeb7a8ba1f124c6a5d8459f72d72d8e8378b3
@@ -3,15 +3,10 @@ namespace :deploy do
3
3
  desc 'Runs rake db:audit:migrate if migrations are set'
4
4
  task :audit_migrate do
5
5
  on primary fetch(:migration_role) do
6
- info '[deploy:audit_migrate] Checking changes in /db/audit_migrate'
7
- if test("diff -q #{release_path}/db/audit_migrate #{current_path}/db/audit_migrate")
8
- info '[deploy:audit_migrate] Skip `deploy:audit_migrate` (nothing changed in db/audit_migrate)'
9
- else
10
- info '[deploy:audit_migrate] Run `rake db:audit:migrate`'
11
- within release_path do
12
- with rails_env: fetch(:rails_env) do
13
- execute :rake, 'db:audit:migrate'
14
- end
6
+ info '[deploy:audit_migrate] Run `rake db:audit:migrate`'
7
+ within release_path do
8
+ with rails_env: fetch(:rails_env) do
9
+ execute :rake, 'db:audit:migrate'
15
10
  end
16
11
  end
17
12
  end
@@ -1,3 +1,3 @@
1
1
  module ModelsAuditor
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: models_auditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Gorbunov