clockwork_database_events 0.2.3 → 0.2.4

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: 312cd53eee9c30a272a16d9371737249a40a22f3
4
- data.tar.gz: ae308ede070b5302c88d3f862d0115d7b6385953
3
+ metadata.gz: 5d8be72dc0f4b38300d0e10642225039fbb606d6
4
+ data.tar.gz: 70ceac97c090e498622a7cf2a1a0f1f2d08d6a5d
5
5
  SHA512:
6
- metadata.gz: 47035005eb34735114d128b472bfbd4c6ff99d4d0dc3396fa8d0a19868ba9952cd10410eb8b9b1cc2f5c858293c697eba272af5823f3d8e8db62e267d27687b2
7
- data.tar.gz: b16919f9a9908ed19ce36dc772f6979b08dfc031c3f0b7a16508ad81794f986fdf60f4a4370e299d5c6912316d3ecda8917e348f50ad625f9d0fc1916ee093f9
6
+ metadata.gz: 5c0dda8172f3601c02b89a79a33bcf7816b24baf3373312d277ee6b037871e8f3fe9487043a44bc82c64f1e12d1152c3fcb2533ce53bf675ef35b957a2b22149
7
+ data.tar.gz: 5a7dc1ebc9bfed2e85b0524d6b3e31e0b86d981a6baf670ec00c83859128cccfa107f7e1a3baa8d3d41eaad62a2ea8e84e99989203bc70a96be74a9d71c5f959
@@ -8,8 +8,11 @@ require 'clockwork_database_events/models/frequency_period'
8
8
  # clockwork database events
9
9
  module ClockworkDatabaseEvents
10
10
  def seed
11
+ puts 'seeding frequecy table...'
11
12
  %w(second minute hour day week month).each do |period|
12
- FrequencyPeriod.find_or_create(name: period)
13
+ FrequencyPeriod.find_or_create(name: period) do
14
+ puts "created #{persiod}"
15
+ end
13
16
  end
14
17
  end
15
18
 
@@ -1,4 +1,4 @@
1
1
  # version
2
2
  module ClockworkDatabaseEvents
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clockwork_database_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Englund
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-02 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel