delay_henka 0.2.5 → 0.2.6

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: 553f5923622e1bd283778df3469ef3842786e916
4
- data.tar.gz: 88e2cc8dceca907f56c47b875db18cbd4c7854ee
3
+ metadata.gz: 34e72ec92b700af3c725fcbbf3efe330f70eddda
4
+ data.tar.gz: f8d623f49d6634066ada873548d9ecad9249ece7
5
5
  SHA512:
6
- metadata.gz: 7f1ce8f03834e7eecce350b8eed1baefa212ae2aab2834b6df5bdcc34b46478edd7a0b81edaed075e422486630152190c76ac3dd70a7e6f1b10eb6cb28de7fbf
7
- data.tar.gz: 742b11afdb114d5ac7cf06569312225870df8ef0b1d66981ad2ce7ec1a6adf38ced54092a66c75929b911d31d8ecafeecea8901fbe59e260e7e39d32e6f380cb
6
+ metadata.gz: 25d74ceebd9a5cb339ef74bb801fd5a86b057972bd5b4a8f5c01d18f5db69f0feb587a669c0c4ec04057b424debcca8c9c43b31e5f9dd7e30cabe9ce8b40dfaa
7
+ data.tar.gz: ecee2dbcda8a8e711570a3a1a783acaedc8bd0fcb6cbe49de68245084f0685552bdafaef0605fc1a85f389620870f5b7fce6c813a0d849b4da22919456e3a15c
@@ -1,5 +1,7 @@
1
1
  class AddScheduleAt < ActiveRecord::Migration[5.2]
2
2
  def change
3
- add_column :delay_henka_scheduled_changes, :schedule_at, :datetime, null: false
3
+ add_column :delay_henka_scheduled_changes, :schedule_at, :datetime
4
+ DelayHenka::ScheduledChange.where(schedule_at: nil).update_all('schedule_at = created_at')
5
+ change_column_null :delay_henka_scheduled_changes, :schedule_at, false
4
6
  end
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module DelayHenka
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delay_henka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - zino