mireru 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/NEWS.md +17 -0
- data/README.md +47 -37
- data/Rakefile +16 -0
- data/bin/mireru +16 -0
- data/lib/mireru.rb +16 -0
- data/lib/mireru/command/mireru.rb +26 -7
- data/lib/mireru/logger.rb +16 -0
- data/lib/mireru/navigator.rb +51 -11
- data/lib/mireru/version.rb +17 -1
- data/lib/mireru/widget.rb +47 -10
- data/lib/mireru/widget/binary.rb +16 -0
- data/lib/mireru/widget/extracted_text.rb +70 -0
- data/lib/mireru/widget/image.rb +34 -7
- data/lib/mireru/widget/pdf.rb +16 -0
- data/lib/mireru/widget/svg.rb +16 -0
- data/lib/mireru/widget/text.rb +36 -1
- data/lib/mireru/widget/video.rb +16 -0
- data/lib/mireru/window.rb +44 -4
- data/mireru.gemspec +4 -0
- data/test/mireru-test-utils.rb +16 -0
- data/test/run-test.rb +16 -0
- data/test/test-logger.rb +16 -0
- data/test/test-mireru.rb +16 -0
- data/test/test-widget.rb +16 -0
- data/test/test-window.rb +16 -0
- data/test/widget/test-binary.rb +16 -0
- data/test/widget/test-pdf.rb +16 -0
- data/test/widget/test-svg.rb +16 -0
- data/test/widget/test-text.rb +16 -0
- data/test/widget/test-video.rb +16 -0
- data/website/locales/en.yml +2 -1
- data/website/locales/ja.yml +1 -0
- data/website/source/localizable/usage.html.erb +3 -0
- metadata +76 -20
data/test/test-widget.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/widget"
|
2
18
|
|
3
19
|
class WidgetTest < Test::Unit::TestCase
|
data/test/test-window.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/window"
|
2
18
|
|
3
19
|
class WindowTest < Test::Unit::TestCase
|
data/test/widget/test-binary.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/widget/binary"
|
2
18
|
|
3
19
|
class BinaryTest < Test::Unit::TestCase
|
data/test/widget/test-pdf.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/widget/pdf"
|
2
18
|
|
3
19
|
class PDFTest < Test::Unit::TestCase
|
data/test/widget/test-svg.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/widget/svg"
|
2
18
|
|
3
19
|
class SVGTest < Test::Unit::TestCase
|
data/test/widget/test-text.rb
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
3
|
+
#
|
4
|
+
# This program is free software; you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
6
|
+
# the Free Software Foundation; either version 2 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
#
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU General Public License for more details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU General Public License along
|
15
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
16
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
17
|
+
|
2
18
|
require "mireru/widget/text"
|
3
19
|
|
4
20
|
class TextTest < Test::Unit::TestCase
|
data/test/widget/test-video.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com>
|
2
|
+
#
|
3
|
+
# This program is free software; you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation; either version 2 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This program is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU General Public License along
|
14
|
+
# with this program; if not, write to the Free Software Foundation, Inc.,
|
15
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
16
|
+
|
1
17
|
require "mireru/widget/video"
|
2
18
|
require "clutter-gtk"
|
3
19
|
|
data/website/locales/en.yml
CHANGED
data/website/locales/ja.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mireru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masafumi Yokoyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gtk3
|
@@ -98,84 +98,140 @@ dependencies:
|
|
98
98
|
name: hexdump
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: chupa-text
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: chupa-text-decomposer-html
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: chupa-text-decomposer-pdf
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: chupa-text-decomposer-libreoffice
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
109
165
|
- !ruby/object:Gem::Version
|
110
166
|
version: '0'
|
111
167
|
- !ruby/object:Gem::Dependency
|
112
168
|
name: test-unit
|
113
169
|
requirement: !ruby/object:Gem::Requirement
|
114
170
|
requirements:
|
115
|
-
- -
|
171
|
+
- - '>='
|
116
172
|
- !ruby/object:Gem::Version
|
117
173
|
version: '0'
|
118
174
|
type: :development
|
119
175
|
prerelease: false
|
120
176
|
version_requirements: !ruby/object:Gem::Requirement
|
121
177
|
requirements:
|
122
|
-
- -
|
178
|
+
- - '>='
|
123
179
|
- !ruby/object:Gem::Version
|
124
180
|
version: '0'
|
125
181
|
- !ruby/object:Gem::Dependency
|
126
182
|
name: test-unit-notify
|
127
183
|
requirement: !ruby/object:Gem::Requirement
|
128
184
|
requirements:
|
129
|
-
- -
|
185
|
+
- - '>='
|
130
186
|
- !ruby/object:Gem::Version
|
131
187
|
version: '0'
|
132
188
|
type: :development
|
133
189
|
prerelease: false
|
134
190
|
version_requirements: !ruby/object:Gem::Requirement
|
135
191
|
requirements:
|
136
|
-
- -
|
192
|
+
- - '>='
|
137
193
|
- !ruby/object:Gem::Version
|
138
194
|
version: '0'
|
139
195
|
- !ruby/object:Gem::Dependency
|
140
196
|
name: test-unit-rr
|
141
197
|
requirement: !ruby/object:Gem::Requirement
|
142
198
|
requirements:
|
143
|
-
- -
|
199
|
+
- - '>='
|
144
200
|
- !ruby/object:Gem::Version
|
145
201
|
version: '0'
|
146
202
|
type: :development
|
147
203
|
prerelease: false
|
148
204
|
version_requirements: !ruby/object:Gem::Requirement
|
149
205
|
requirements:
|
150
|
-
- -
|
206
|
+
- - '>='
|
151
207
|
- !ruby/object:Gem::Version
|
152
208
|
version: '0'
|
153
209
|
- !ruby/object:Gem::Dependency
|
154
210
|
name: bundler
|
155
211
|
requirement: !ruby/object:Gem::Requirement
|
156
212
|
requirements:
|
157
|
-
- -
|
213
|
+
- - ~>
|
158
214
|
- !ruby/object:Gem::Version
|
159
215
|
version: '1.6'
|
160
216
|
type: :development
|
161
217
|
prerelease: false
|
162
218
|
version_requirements: !ruby/object:Gem::Requirement
|
163
219
|
requirements:
|
164
|
-
- -
|
220
|
+
- - ~>
|
165
221
|
- !ruby/object:Gem::Version
|
166
222
|
version: '1.6'
|
167
223
|
- !ruby/object:Gem::Dependency
|
168
224
|
name: rake
|
169
225
|
requirement: !ruby/object:Gem::Requirement
|
170
226
|
requirements:
|
171
|
-
- -
|
227
|
+
- - '>='
|
172
228
|
- !ruby/object:Gem::Version
|
173
229
|
version: '0'
|
174
230
|
type: :development
|
175
231
|
prerelease: false
|
176
232
|
version_requirements: !ruby/object:Gem::Requirement
|
177
233
|
requirements:
|
178
|
-
- -
|
234
|
+
- - '>='
|
179
235
|
- !ruby/object:Gem::Version
|
180
236
|
version: '0'
|
181
237
|
description: Mireru is a keyboard friendly file viewer by Ruby/GTK3. It can handle
|
@@ -187,8 +243,8 @@ executables:
|
|
187
243
|
extensions: []
|
188
244
|
extra_rdoc_files: []
|
189
245
|
files:
|
190
|
-
-
|
191
|
-
-
|
246
|
+
- .gitignore
|
247
|
+
- .travis.yml
|
192
248
|
- Gemfile
|
193
249
|
- NEWS.md
|
194
250
|
- README.md
|
@@ -201,6 +257,7 @@ files:
|
|
201
257
|
- lib/mireru/version.rb
|
202
258
|
- lib/mireru/widget.rb
|
203
259
|
- lib/mireru/widget/binary.rb
|
260
|
+
- lib/mireru/widget/extracted_text.rb
|
204
261
|
- lib/mireru/widget/image.rb
|
205
262
|
- lib/mireru/widget/pdf.rb
|
206
263
|
- lib/mireru/widget/svg.rb
|
@@ -251,17 +308,17 @@ require_paths:
|
|
251
308
|
- lib
|
252
309
|
required_ruby_version: !ruby/object:Gem::Requirement
|
253
310
|
requirements:
|
254
|
-
- -
|
311
|
+
- - '>='
|
255
312
|
- !ruby/object:Gem::Version
|
256
313
|
version: '0'
|
257
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
315
|
requirements:
|
259
|
-
- -
|
316
|
+
- - '>='
|
260
317
|
- !ruby/object:Gem::Version
|
261
318
|
version: '0'
|
262
319
|
requirements: []
|
263
320
|
rubyforge_project:
|
264
|
-
rubygems_version: 2.
|
321
|
+
rubygems_version: 2.0.14
|
265
322
|
signing_key:
|
266
323
|
specification_version: 4
|
267
324
|
summary: Keyboard friendly multitype file viewer by Ruby/GTK3.
|
@@ -285,4 +342,3 @@ test_files:
|
|
285
342
|
- test/widget/test-svg.rb
|
286
343
|
- test/widget/test-text.rb
|
287
344
|
- test/widget/test-video.rb
|
288
|
-
has_rdoc:
|