openall_time_applet 0.0.36 → 0.0.37

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.36
1
+ 0.0.37
@@ -107,8 +107,8 @@ class Openall_time_applet::Gui::Win_preferences
107
107
 
108
108
  def on_btnAutoSyncSave_clicked
109
109
  interval = @gui["txtAutoSyncInterval"].text
110
- if !(Float(interval) rescue false)
111
- Knj::Gtk2.msgbox(_("The interval was not numeric."))
110
+ if !(Float(interval) rescue false) or interval.to_i <= 0
111
+ Knj::Gtk2.msgbox(_("The interval was not numeric or above zero."))
112
112
  return false
113
113
  end
114
114
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openall_time_applet}
8
- s.version = "0.0.36"
8
+ s.version = "0.0.37"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
12
- s.date = %q{2012-08-17}
12
+ s.date = %q{2012-08-20}
13
13
  s.description = %q{Off-line time-tracking for OpenAll with syncing when online.}
14
14
  s.email = %q{k@spernj.org}
15
15
  s.executables = ["OpenAll Timelogging", "openall_time_applet.rb"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: openall_time_applet
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.36
5
+ version: 0.0.37
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kasper Johansen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-08-17 00:00:00 +02:00
13
+ date: 2012-08-20 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -220,7 +220,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - ">="
222
222
  - !ruby/object:Gem::Version
223
- hash: 2408658186308520275
223
+ hash: -2640804252727998284
224
224
  segments:
225
225
  - 0
226
226
  version: "0"