gnomon 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 991d919e3c0f3196568199c69f36ced61f8f9213
4
- data.tar.gz: 10bf4317d05abb7f974f5ab70d16f80042a0188c
3
+ metadata.gz: e06c5f24a59beb7089abdb300cb8c79eacead7c5
4
+ data.tar.gz: 24e69f2f119e4ad5911f3ca3d1683b350137911f
5
5
  SHA512:
6
- metadata.gz: 48bd31e3ff530439e32fdaaee93c9c9577584ec85e20d0645070cbf6794fd9a803a088bfad4c352153d039368b9cfae8eb68340cd9a490f4ef6be37fff0d2d92
7
- data.tar.gz: 4ba79e9a4fa976dca8ed416ddaca6ff0a8646f9b441a23aa2f63a95c21e8536e2d5269b41b257831820b93acb78560c9ea61e8c5f24102eeaa1e2973d0127fb8
6
+ metadata.gz: b37b65fb344ce290f776eed2868e1909e7e53b64cade4c9ed907de63123d195cbf36921d14df622aead18a02587dc35576e6e6f013dba5f21817d9bd28da8152
7
+ data.tar.gz: 1f498ce89ee92a6298c986b4cd53ec058cb80ad8ee8be7b333ce224497eb9b5e9ad5343fe941f715e87173f979db0bd6d9c6eed40498d67adc66ba56252e5cd7
@@ -102,8 +102,7 @@ class Gnomon
102
102
  case mode
103
103
  when :at
104
104
  DateTime.parse(ts).to_time.to_f
105
- when :every
106
- when :in
105
+ when :in, :every
107
106
  Time.at(Time.now.to_f + ts.to_f).to_f
108
107
  else
109
108
  raise "Unknown scheduling mode [#{mode}]"
@@ -5,5 +5,5 @@
5
5
  class Gnomon
6
6
 
7
7
  # Version
8
- VERSION = '0.1.0'
8
+ VERSION = '0.1.1'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnomon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse