crono_trigger 0.6.0 → 0.6.1

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
  SHA256:
3
- metadata.gz: 3a9b3bad7ab74a886398bcffaa3f2d935ec35dcd83819abe6b24c0453771a4d1
4
- data.tar.gz: 4afa776cb8305b9a95b92c180a3c6da86f0ed205e32a93f3887084b3f498e980
3
+ metadata.gz: 8291c00c8a9dc2060ed8f3a20aff6702f6ca66e7249b312da85cbd974f04d53d
4
+ data.tar.gz: dbd1dd5716a3248ca338e678ec429962b14d59da9656070099789f8ede7dd317
5
5
  SHA512:
6
- metadata.gz: 7e42ef78268d05a3add743f0616fbaa0ea69dba395328a1304fd1a7b18450777ce9c97ccd7be58f59a47d5f5b7c0854098ca74f5756d1b07470b91d42305ba29
7
- data.tar.gz: 1ae81221b5251c7ede8d204385910930162bebba7d74ed743fd5978461c9a9d008b9ede5e3c8890ab02b2867030d088032e5776441e073f26a080b8b53410b5b
6
+ metadata.gz: 133b4e3ed8bfe18df41c676cb454ac26a178676e2e814a889a44ace13988bac71df4b90768048185115f55d05f3e79441011cc1aa1f6d498ef8171b6e0b833b2
7
+ data.tar.gz: c1737966af7a2780436c1b30a87fe45c9c2af1f5a2ccbb9540e8e06c76cb1992088b8d66a0156003e58c575a1183905bae16752543912ba3c4848189b8d30949
@@ -56,7 +56,7 @@ module CronoTrigger
56
56
  rel
57
57
  end
58
58
 
59
- before_create :set_current_cyctle_id
59
+ before_create :set_current_cycle_id
60
60
  before_update :update_next_execute_at_if_update_cron
61
61
 
62
62
  validate :validate_cron_format
@@ -305,7 +305,7 @@ module CronoTrigger
305
305
  end
306
306
  end
307
307
 
308
- def set_current_cyctle_id
308
+ def set_current_cycle_id
309
309
  if self.class.column_names.include?(crono_trigger_column_name(:current_cycle_id)) &&
310
310
  self[crono_trigger_column_name(:current_cycle_id)].nil?
311
311
  self[crono_trigger_column_name(:current_cycle_id)] = SecureRandom.uuid
@@ -1,3 +1,3 @@
1
1
  module CronoTrigger
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crono_trigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-21 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chrono