clockwork_database_events 0.1.1 → 0.1.2

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: 94b044c7015819126b58366a432c84201dedd576
4
- data.tar.gz: 1380f79188f532cceb163c8642b5415e5a7fcf65
3
+ metadata.gz: 87508efecb9788fa959e51e2a59ada47dfb14142
4
+ data.tar.gz: d082da4c55f1d4f7032bf13a01ccdfff7861803d
5
5
  SHA512:
6
- metadata.gz: b528c0a2fa0de6e823d3b31cec6458ff00a91dc959b9bdd3ef4a8c18beffb4db11e10fa455f957322d5118b6a4eb334a7f9c0d98cfcf4b985f85f012120adbd0
7
- data.tar.gz: c86538d5766548c04c3ded22a5e70c6cb5c984c213d6bf5c2954c8628028b9580dd884beb1a99b587f467efe57a0ed78d89e3d872b47fb3d4d857ee7d3bc3120
6
+ metadata.gz: ac563a8e77dad784716ca92720b563f06be20d494559c9009c45bfe965a02b45c19b3095cefb40480511160c723a532a3f03a34cc79495882c180d75c95ca0eb
7
+ data.tar.gz: 2ae2666718ebaf053bfc48849dae06b478ca6da34b1330e48a74cd0fec8d5db200c3f49254144e8352592922c4b9603f1a2540076cb368aea7cbd4e6d6855417
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_runtime_dependency 'sequel', '~> 4'
24
- spec.add_runtime_dependency 'activesupport'
24
+ spec.add_runtime_dependency 'activesupport', '~> 4'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1'
27
27
  spec.add_development_dependency 'rake', '~> 10'
28
- spec.add_development_dependency 'rubocop'
29
- spec.add_development_dependency 'pry'
28
+ spec.add_development_dependency 'rubocop', '~> 0'
29
+ spec.add_development_dependency 'pry', '~> 0'
30
30
  end
@@ -10,6 +10,7 @@ Sequel.migration do
10
10
  create_table(:clockwork_database_events) do
11
11
  primary_key :id
12
12
  Integer :frequency_quantity
13
+ String :name, null: true
13
14
  String :at, null: false, default: ''
14
15
  Integer :frequency_period_id, null: false
15
16
  foreign_key [:frequency_period_id], :frequency_periods,
@@ -1,4 +1,4 @@
1
1
  # version
2
2
  module ClockworkDatabaseEvents
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
@@ -1,3 +1,4 @@
1
+ require 'sequel'
1
2
  require 'active_support/time'
2
3
 
3
4
  Sequel::Model.plugin :timestamps, update_on_create: true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clockwork_database_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Englund
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '4'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '4'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,28 +70,28 @@ dependencies:
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: