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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d8be72dc0f4b38300d0e10642225039fbb606d6
|
4
|
+
data.tar.gz: 70ceac97c090e498622a7cf2a1a0f1f2d08d6a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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-
|
11
|
+
date: 2015-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|