clockwork_database_events 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -0
- data/bin/console +4 -8
- data/clockwork_database_events.gemspec +6 -2
- data/db/migrations/201505300840_initial.rb +2 -1
- data/lib/clockwork_database_events/models/clockwork_database_event.rb +1 -0
- data/lib/clockwork_database_events/models/frequency_period.rb +1 -0
- data/lib/clockwork_database_events/version.rb +2 -1
- data/lib/clockwork_database_events.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b044c7015819126b58366a432c84201dedd576
|
4
|
+
data.tar.gz: 1380f79188f532cceb163c8642b5415e5a7fcf65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b528c0a2fa0de6e823d3b31cec6458ff00a91dc959b9bdd3ef4a8c18beffb4db11e10fa455f957322d5118b6a4eb334a7f9c0d98cfcf4b985f85f012120adbd0
|
7
|
+
data.tar.gz: c86538d5766548c04c3ded22a5e70c6cb5c984c213d6bf5c2954c8628028b9580dd884beb1a99b587f467efe57a0ed78d89e3d872b47fb3d4d857ee7d3bc3120
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'clockwork_database_events'
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
9
|
+
require 'pry'
|
10
|
+
Pry.start
|
@@ -13,14 +13,18 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'http://skalera.com/'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(spec)/})
|
18
|
+
end
|
17
19
|
spec.bindir = 'bin'
|
18
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
21
|
spec.require_paths = ['lib']
|
20
22
|
|
21
23
|
spec.add_runtime_dependency 'sequel', '~> 4'
|
22
|
-
spec.add_runtime_dependency '
|
24
|
+
spec.add_runtime_dependency 'activesupport'
|
23
25
|
|
24
26
|
spec.add_development_dependency 'bundler', '~> 1'
|
25
27
|
spec.add_development_dependency 'rake', '~> 10'
|
28
|
+
spec.add_development_dependency 'rubocop'
|
29
|
+
spec.add_development_dependency 'pry'
|
26
30
|
end
|
@@ -12,7 +12,8 @@ Sequel.migration do
|
|
12
12
|
Integer :frequency_quantity
|
13
13
|
String :at, null: false, default: ''
|
14
14
|
Integer :frequency_period_id, null: false
|
15
|
-
foreign_key [:frequency_period_id], :frequency_periods,
|
15
|
+
foreign_key [:frequency_period_id], :frequency_periods,
|
16
|
+
name: 'clockwork_database_events_frequency_period_id_fkey'
|
16
17
|
|
17
18
|
DateTime :created_at, null: false
|
18
19
|
DateTime :updated_at, null: false
|
@@ -6,6 +6,6 @@ require 'clockwork_database_events/version'
|
|
6
6
|
require 'clockwork_database_events/models/clockwork_database_event'
|
7
7
|
require 'clockwork_database_events/models/frequency_period'
|
8
8
|
|
9
|
+
# clockwork database events
|
9
10
|
module ClockworkDatabaseEvents
|
10
|
-
# Your code goes here...
|
11
11
|
end
|
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.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Englund
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -66,6 +66,34 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
69
97
|
description:
|
70
98
|
email:
|
71
99
|
- martin@englund.nu
|