openall_time_applet 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/openall_time_applet.rb +4 -4
- data/openall_time_applet.gemspec +8 -8
- metadata +125 -128
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.42
|
data/lib/openall_time_applet.rb
CHANGED
@@ -74,14 +74,14 @@ class Openall_time_applet
|
|
74
74
|
|
75
75
|
#Initializes config-dir and database.
|
76
76
|
def initialize(args = {})
|
77
|
+
Dir.mkdir(CONFIG[:settings_path]) if !File.exists?(CONFIG[:settings_path])
|
78
|
+
self.check_runfile_and_cmds
|
79
|
+
|
77
80
|
#Spawn logging-object.
|
78
81
|
require "logger"
|
79
82
|
@log = Logger.new(CONFIG[:log_path])
|
80
83
|
@log.level = Logger::DEBUG
|
81
84
|
|
82
|
-
|
83
|
-
Dir.mkdir(CONFIG[:settings_path]) if !File.exists?(CONFIG[:settings_path])
|
84
|
-
self.check_runfile_and_cmds
|
85
85
|
self.require_gtk2
|
86
86
|
@debug = args[:debug]
|
87
87
|
|
@@ -143,7 +143,7 @@ class Openall_time_applet
|
|
143
143
|
@log.debug("OpenAll Time Applet started.")
|
144
144
|
|
145
145
|
#Used to test when new tasks are created.
|
146
|
-
#@ob.list(:Task, "title" => "
|
146
|
+
#@ob.list(:Task, "title" => "Test no org") do |task|
|
147
147
|
# puts "Deleting test task."
|
148
148
|
# @ob.delete(task)
|
149
149
|
#end
|
data/openall_time_applet.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0.
|
7
|
+
s.name = %q{openall_time_applet}
|
8
|
+
s.version = "0.0.42"
|
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 =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = %q{2012-10-10}
|
13
|
+
s.description = %q{Off-line time-tracking for OpenAll with syncing when online.}
|
14
|
+
s.email = %q{k@spernj.org}
|
15
15
|
s.executables = ["OpenAll Timelogging", "openall_time_applet.rb"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
@@ -58,11 +58,11 @@ Gem::Specification.new do |s|
|
|
58
58
|
"spec/sync_spec.rb",
|
59
59
|
"spec/tray_timelogs_spec.rb"
|
60
60
|
]
|
61
|
-
s.homepage =
|
61
|
+
s.homepage = %q{http://github.com/kaspernj/openall_time_applet}
|
62
62
|
s.licenses = ["MIT"]
|
63
63
|
s.require_paths = ["lib"]
|
64
|
-
s.rubygems_version =
|
65
|
-
s.summary =
|
64
|
+
s.rubygems_version = %q{1.6.2}
|
65
|
+
s.summary = %q{Time-tracking for OpenAll.}
|
66
66
|
|
67
67
|
if s.respond_to? :specification_version then
|
68
68
|
s.specification_version = 3
|
metadata
CHANGED
@@ -1,193 +1,192 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: openall_time_applet
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.42
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.41
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Kasper Johansen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-10 00:00:00.000000000 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
16
|
name: knjrbfw
|
17
|
-
requirement: &
|
17
|
+
requirement: &16758360 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *16758360
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
27
|
name: gtk2
|
28
|
-
requirement: &
|
28
|
+
requirement: &16757240 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version:
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
37
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *16757240
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
38
|
name: sqlite3
|
39
|
-
requirement: &
|
39
|
+
requirement: &16756320 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version:
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *16756320
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
49
|
name: gettext
|
50
|
-
requirement: &
|
50
|
+
requirement: &16755280 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
59
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *16755280
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
60
|
name: json
|
61
|
-
requirement: &
|
61
|
+
requirement: &16754520 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version:
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
70
|
-
- !ruby/object:Gem::Dependency
|
69
|
+
version_requirements: *16754520
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
71
|
name: rmagick
|
72
|
-
requirement: &
|
72
|
+
requirement: &16731020 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version:
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
81
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *16731020
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
82
|
name: datet
|
83
|
-
requirement: &
|
83
|
+
requirement: &16730200 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version:
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
89
|
type: :runtime
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
92
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *16730200
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
93
|
name: http2
|
94
|
-
requirement: &
|
94
|
+
requirement: &16729300 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
|
-
requirements:
|
97
|
-
- -
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version:
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
100
|
type: :runtime
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
103
|
-
- !ruby/object:Gem::Dependency
|
102
|
+
version_requirements: *16729300
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
104
|
name: gtk2_expander_settings
|
105
|
-
requirement: &
|
105
|
+
requirement: &16728660 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
|
-
requirements:
|
108
|
-
- -
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version:
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
111
|
type: :runtime
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
114
|
-
- !ruby/object:Gem::Dependency
|
113
|
+
version_requirements: *16728660
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
115
|
name: gtk2_treeview_settings
|
116
|
-
requirement: &
|
116
|
+
requirement: &16727900 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
|
-
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version:
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
122
|
type: :runtime
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
125
|
-
- !ruby/object:Gem::Dependency
|
124
|
+
version_requirements: *16727900
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
126
|
name: gtk2_window_settings
|
127
|
-
requirement: &
|
127
|
+
requirement: &16727040 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version:
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
133
|
type: :runtime
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
136
|
-
- !ruby/object:Gem::Dependency
|
135
|
+
version_requirements: *16727040
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
137
|
name: rspec
|
138
|
-
requirement: &
|
138
|
+
requirement: &16726220 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
|
-
requirements:
|
140
|
+
requirements:
|
141
141
|
- - ~>
|
142
|
-
- !ruby/object:Gem::Version
|
142
|
+
- !ruby/object:Gem::Version
|
143
143
|
version: 2.8.0
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
|
-
version_requirements: *
|
147
|
-
- !ruby/object:Gem::Dependency
|
146
|
+
version_requirements: *16726220
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
148
|
name: rdoc
|
149
|
-
requirement: &
|
149
|
+
requirement: &16725480 !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
|
-
requirements:
|
151
|
+
requirements:
|
152
152
|
- - ~>
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version:
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '3.12'
|
155
155
|
type: :development
|
156
156
|
prerelease: false
|
157
|
-
version_requirements: *
|
158
|
-
- !ruby/object:Gem::Dependency
|
157
|
+
version_requirements: *16725480
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
159
|
name: bundler
|
160
|
-
requirement: &
|
160
|
+
requirement: &16724680 !ruby/object:Gem::Requirement
|
161
161
|
none: false
|
162
|
-
requirements:
|
163
|
-
- -
|
164
|
-
- !ruby/object:Gem::Version
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
165
|
version: 1.0.0
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
|
-
version_requirements: *
|
169
|
-
- !ruby/object:Gem::Dependency
|
168
|
+
version_requirements: *16724680
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
170
|
name: jeweler
|
171
|
-
requirement: &
|
171
|
+
requirement: &16723900 !ruby/object:Gem::Requirement
|
172
172
|
none: false
|
173
|
-
requirements:
|
173
|
+
requirements:
|
174
174
|
- - ~>
|
175
|
-
- !ruby/object:Gem::Version
|
175
|
+
- !ruby/object:Gem::Version
|
176
176
|
version: 1.8.3
|
177
177
|
type: :development
|
178
178
|
prerelease: false
|
179
|
-
version_requirements: *
|
179
|
+
version_requirements: *16723900
|
180
180
|
description: Off-line time-tracking for OpenAll with syncing when online.
|
181
181
|
email: k@spernj.org
|
182
|
-
executables:
|
182
|
+
executables:
|
183
183
|
- OpenAll Timelogging
|
184
184
|
- openall_time_applet.rb
|
185
185
|
extensions: []
|
186
|
-
|
187
|
-
extra_rdoc_files:
|
186
|
+
extra_rdoc_files:
|
188
187
|
- LICENSE.txt
|
189
188
|
- README.rdoc
|
190
|
-
files:
|
189
|
+
files:
|
191
190
|
- .document
|
192
191
|
- .rspec
|
193
192
|
- Gemfile
|
@@ -227,35 +226,33 @@ files:
|
|
227
226
|
- spec/spec_helper.rb
|
228
227
|
- spec/sync_spec.rb
|
229
228
|
- spec/tray_timelogs_spec.rb
|
229
|
+
has_rdoc: true
|
230
230
|
homepage: http://github.com/kaspernj/openall_time_applet
|
231
|
-
licenses:
|
231
|
+
licenses:
|
232
232
|
- MIT
|
233
233
|
post_install_message:
|
234
234
|
rdoc_options: []
|
235
|
-
|
236
|
-
require_paths:
|
235
|
+
require_paths:
|
237
236
|
- lib
|
238
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
237
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
239
238
|
none: false
|
240
|
-
requirements:
|
241
|
-
- -
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
|
244
|
-
segments:
|
239
|
+
requirements:
|
240
|
+
- - ! '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
segments:
|
245
244
|
- 0
|
246
|
-
|
247
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
+
hash: -3472130068400164778
|
246
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
247
|
none: false
|
249
|
-
requirements:
|
250
|
-
- -
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version:
|
248
|
+
requirements:
|
249
|
+
- - ! '>='
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
253
252
|
requirements: []
|
254
|
-
|
255
253
|
rubyforge_project:
|
256
|
-
rubygems_version: 1.
|
254
|
+
rubygems_version: 1.6.2
|
257
255
|
signing_key:
|
258
256
|
specification_version: 3
|
259
257
|
summary: Time-tracking for OpenAll.
|
260
258
|
test_files: []
|
261
|
-
|