clockwork_database_events 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: f4f32fe87c840fce7293b27422d68774f68008b5
4
- data.tar.gz: bb9f90713dde95bdb5cba885c1b6deaac9448504
3
+ metadata.gz: 16d18696ec527a0d6a30f93540b077bc930a08f1
4
+ data.tar.gz: fa62c95f87f78dbf95fa83525dd9e1d78243db7e
5
5
  SHA512:
6
- metadata.gz: 1c1e87f09f61683b0e4d6b941171380ddac5687849376a8df831154f97455294d94fbcb223ea60aaca3e60ae638cb5764681f7152d0373db4f69101a4c1da042
7
- data.tar.gz: f6337f8689eb63a62c5a819b88e4b957d6f6f760a9d55df07c033d74b86f2cf29106624e351dd59ba065b65a5c778e10b9bac95766206922316445a4b0bff5d7
6
+ metadata.gz: 69d4caa4c455e0fa17fa07a4acf4c507ba7c7da2c88718b0913ce9d492303ffd7b714fc6e183b7462aa38b237f4d47a7492e9d8d12ff0623b71aa17fdd9acdb9
7
+ data.tar.gz: cbd21904b3c4a2ba20ffbbd13d72fde3ecde4fb38a0965543c875feb8a2317f072314989eff9bf36bc2df4b35c4fcd0c34be6de61615a1855c149e7b57bf9932
@@ -14,4 +14,11 @@ module ClockworkDatabaseEvents
14
14
  end
15
15
 
16
16
  module_function :seed
17
+
18
+ def db=(database)
19
+ FrequencyPeriod.db = database
20
+ ClockworkDatabaseEvent.db = database
21
+ end
22
+
23
+ module_function :db=
17
24
  end
@@ -1,4 +1,4 @@
1
1
  # version
2
2
  module ClockworkDatabaseEvents
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
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.0
4
+ version: 0.2.1
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-01 00:00:00.000000000 Z
11
+ date: 2015-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel