deploy_pin 1.7.0 → 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ced30166491b43cb26d26c837ca1276e9825d3b48631cea70f3095e0a8590d01
4
- data.tar.gz: '0538bf5ea753ba70a2daa8e2104939d38d8605f8ae72d284417bcbe249659a4f'
3
+ metadata.gz: 231084c3af2dd8f819d5ff7acb16a870a82a184065bf061ec68cebd49870e2cf
4
+ data.tar.gz: e5137be3496284aeb4da5249860fb64f608ee5bd130203658536d834b943e68f
5
5
  SHA512:
6
- metadata.gz: f16f07130b5544236e0a17d0658e2c1b5ec2eb2103a5321c4f11ef391492f87c056b69e8b8498553f686e1523989f6723bec205147760fc2c12062f266c3a27e
7
- data.tar.gz: 64424aa72c121603c5ddd23f9e15051fca979b4e3393b1ed942b0319aadd3d441515d24203201148c8c125aed4c6dcb0e43b4c2079466e430f7681a56c5700e8
6
+ metadata.gz: 0ba193060689f387db8cfc77dca413dec40e781c7540abd2c63b887dbf023b57993678e51859b16d80dd344febbc7662ec5b58cf8eb74b8a2bcd53a8a4e11c9b
7
+ data.tar.gz: b7b54e4e70559aff8aaa2f7d40d208a8194802d412c4dd186aa411763eb560b36e2fd221251c8fb460e8f148546fca7d2b73995dcd2708f6ff2fcaed0d373065
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2019 rafael
1
+ Copyright 2019 Viktor Sych
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -197,9 +197,6 @@ end
197
197
  This allows your task to resume from where it left off, minimizing the risk of repeating work.
198
198
 
199
199
 
200
-
201
- ```bash
202
-
203
200
  ## Recurring Tasks
204
201
  If you want to generate a recurring task, you can use the `--recurring` option. Make sure to set a correct `--identifier`, which should be a numeric value. Positive and negative numbers are possible here. The identifier affects the order of task execution, allowing you to customize the sequence as desired.
205
202
 
@@ -236,6 +233,8 @@ bundle exec rake deploy_pin:run[I, II, III] - # enters to ongoing state before "
236
233
  bundle exec rake deploy_pin:run[rollback] - # enters "pending state"
237
234
  ```
238
235
  ## Similar Gems
236
+ - https://github.com/ilyakatz/data-migrate
237
+ - https://github.com/Shopify/maintenance_tasks
239
238
  - https://github.com/theSteveMitchell/after_party
240
239
 
241
240
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeployPin
4
- VERSION = '1.7.0'
4
+ VERSION = '1.7.1'
5
5
  end
@@ -4,5 +4,8 @@ class UpgradeDeployPins < ActiveRecord::Migration[7.0]
4
4
  def change
5
5
  add_column :deploy_pins, :progress, :integer, default: 0, if_not_exists: true
6
6
  add_column :deploy_pins, :completed_at, :datetime, default: nil, if_not_exists: true
7
+
8
+ # set completed_at to created_at for all completed deploy_pins
9
+ DeployPin::Record.update_all('completed_at = created_at')
7
10
  end
8
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_pin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktor Sych
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
11
+ date: 2024-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize