mancora 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/mancora/version.rb +1 -1
- data/lib/mancora/widget.rb +3 -3
- data/mancora.gemspec +2 -2
- metadata +5 -11
data/lib/mancora/version.rb
CHANGED
data/lib/mancora/widget.rb
CHANGED
|
@@ -121,11 +121,11 @@ class Widget
|
|
|
121
121
|
true
|
|
122
122
|
elsif interval == :daily && @run_time.hour == 0
|
|
123
123
|
true
|
|
124
|
-
elsif interval == :weekly && @run_time.beginning_of_week == @run_time.
|
|
124
|
+
elsif interval == :weekly && @run_time.beginning_of_week == @run_time.beginning_of_hour
|
|
125
125
|
true
|
|
126
|
-
elsif interval == :monthly && @run_time.day == 1
|
|
126
|
+
elsif interval == :monthly && @run_time.day == 1 && @run_time.hour == 0
|
|
127
127
|
true
|
|
128
|
-
elsif interval == :yearly && @run_time.beginning_of_year == @run_time.
|
|
128
|
+
elsif interval == :yearly && @run_time.beginning_of_year == @run_time.beginning_of_hour
|
|
129
129
|
true
|
|
130
130
|
else
|
|
131
131
|
false
|
data/mancora.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Mancora::VERSION
|
|
9
9
|
spec.authors = ["cbron"]
|
|
10
10
|
spec.email = ["x@x.com"]
|
|
11
|
-
spec.description = %q{
|
|
12
|
-
spec.summary = %q{Easily save counts
|
|
11
|
+
spec.description = %q{Automate queries over regular intervals for statistics}
|
|
12
|
+
spec.summary = %q{Easily save query counts on regular intervals into a single table to use for statistics.}
|
|
13
13
|
spec.homepage = ""
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mancora
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -43,7 +43,7 @@ dependencies:
|
|
|
43
43
|
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '0'
|
|
46
|
-
description:
|
|
46
|
+
description: Automate queries over regular intervals for statistics
|
|
47
47
|
email:
|
|
48
48
|
- x@x.com
|
|
49
49
|
executables: []
|
|
@@ -79,23 +79,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
- - ! '>='
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0'
|
|
82
|
-
segments:
|
|
83
|
-
- 0
|
|
84
|
-
hash: 92013857095353279
|
|
85
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
83
|
none: false
|
|
87
84
|
requirements:
|
|
88
85
|
- - ! '>='
|
|
89
86
|
- !ruby/object:Gem::Version
|
|
90
87
|
version: '0'
|
|
91
|
-
segments:
|
|
92
|
-
- 0
|
|
93
|
-
hash: 92013857095353279
|
|
94
88
|
requirements: []
|
|
95
89
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 1.8.
|
|
90
|
+
rubygems_version: 1.8.24
|
|
97
91
|
signing_key:
|
|
98
92
|
specification_version: 3
|
|
99
|
-
summary: Easily save counts
|
|
100
|
-
|
|
93
|
+
summary: Easily save query counts on regular intervals into a single table to use
|
|
94
|
+
for statistics.
|
|
101
95
|
test_files: []
|