mireru 0.2.0 → 0.2.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 -3
- data/NEWS.md +7 -0
- data/README.md +1 -1
- data/lib/mireru.rb +4 -1
- data/lib/mireru/logger.rb +2 -2
- data/lib/mireru/version.rb +1 -1
- data/lib/mireru/widget.rb +10 -2
- data/lib/mireru/widget/pdf.rb +0 -8
- data/lib/mireru/widget/svg.rb +27 -0
- data/lib/mireru/widget/text.rb +2 -0
- data/lib/mireru/widget/thumbnail.rb +0 -3
- data/lib/mireru/widget/video.rb +0 -1
- data/lib/mireru/window.rb +20 -28
- data/mireru.gemspec +2 -1
- data/test/fixtures/sample.svg +4 -0
- data/test/mireru-test-utils.rb +9 -0
- data/test/run-test.rb +7 -7
- data/test/test-container.rb +6 -4
- data/test/test-logger.rb +2 -0
- data/test/test-mireru.rb +2 -0
- data/test/test-widget.rb +2 -0
- data/test/test-window.rb +28 -18
- data/test/widget/test-binary.rb +3 -1
- data/test/widget/test-pdf.rb +3 -1
- data/test/widget/test-svg.rb +13 -0
- data/test/widget/test-text.rb +2 -0
- data/test/widget/test-thumbnail.rb +5 -2
- data/test/widget/test-video.rb +1 -0
- metadata +25 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ebe6191f01182968abdb9fdfb6b3e9f409e7a34
|
4
|
+
data.tar.gz: d64056047895dbf66885ce81b2fdb10ed1a7e905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a03ed7b019779753b3eddb07bed3aecc9a4f30cbd96665838909ef1ed3c393d4d81fb91063ccbbcaa5d30c7c571620b5586c076deec62c2cb1fe655b98cc34d2
|
7
|
+
data.tar.gz: 24dd3afe0d6f16091a384cc08db23eeae127daa84ec7b90a69df998bbb31570b9ef2552d00f65197ba74396174f9042c360ec8fb468ac3f453f56ce089523ac0
|
data/.travis.yml
CHANGED
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ A friend of a keyboard.
|
|
7
7
|
## Requirements
|
8
8
|
|
9
9
|
* Ruby/GTK3, Ruby/GtkSourceView3, Ruby/ClutterGTK, Ruby/ClutterGStreamer
|
10
|
-
|
10
|
+
, Ruby/Poppler and Ruby/RSVG2 in
|
11
11
|
[Ruby-GNOME2](http://ruby-gnome2.sourceforge.jp/)
|
12
12
|
* [hexdump](https://github.com/postmodern/hexdump)
|
13
13
|
|
data/lib/mireru.rb
CHANGED
data/lib/mireru/logger.rb
CHANGED
data/lib/mireru/version.rb
CHANGED
data/lib/mireru/widget.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
require "gtk3"
|
2
|
-
require "gtksourceview3"
|
3
1
|
require "mireru/widget/image"
|
4
2
|
require "mireru/widget/video"
|
5
3
|
require "mireru/widget/pdf"
|
4
|
+
require "mireru/widget/svg"
|
6
5
|
require "mireru/widget/text"
|
7
6
|
require "mireru/widget/binary"
|
7
|
+
require "mireru/widget/thumbnail"
|
8
8
|
|
9
9
|
module Mireru
|
10
10
|
module Widget
|
@@ -16,8 +16,12 @@ module Mireru
|
|
16
16
|
widget = Mireru::Widget::Video.create(file)
|
17
17
|
elsif pdf?(file)
|
18
18
|
widget = Mireru::Widget::PDF.create(file)
|
19
|
+
elsif svg?(file)
|
20
|
+
widget = Mireru::Widget::SVG.create(file)
|
19
21
|
elsif text?(file)
|
20
22
|
widget = Mireru::Widget::Text.create(file)
|
23
|
+
elsif file.is_a?(Enumerable)
|
24
|
+
widget = Mireru::Widget::Thumbnail.create(file, width, height)
|
21
25
|
else
|
22
26
|
widget = Mireru::Widget::Binary.create(file)
|
23
27
|
end
|
@@ -36,6 +40,10 @@ module Mireru
|
|
36
40
|
/\.pdf\z/i =~ file
|
37
41
|
end
|
38
42
|
|
43
|
+
def svg?(file)
|
44
|
+
/\.svg\z/i =~ file
|
45
|
+
end
|
46
|
+
|
39
47
|
def text?(file)
|
40
48
|
File.read(file).valid_encoding?
|
41
49
|
end
|
data/lib/mireru/widget/pdf.rb
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
require "rsvg2"
|
2
|
+
|
3
|
+
module Mireru
|
4
|
+
module Widget
|
5
|
+
class SVG
|
6
|
+
class << self
|
7
|
+
def create(file)
|
8
|
+
drawing_area = Gtk::DrawingArea.new
|
9
|
+
|
10
|
+
handle = RSVG::Handle.new_from_file(file)
|
11
|
+
width, height = handle.dimensions.to_a
|
12
|
+
drawing_area.set_size_request(width, height)
|
13
|
+
|
14
|
+
drawing_area.signal_connect("draw") do |widget, event|
|
15
|
+
context = widget.window.create_cairo_context
|
16
|
+
context.save do
|
17
|
+
context.render_rsvg_handle(handle)
|
18
|
+
end
|
19
|
+
true
|
20
|
+
end
|
21
|
+
|
22
|
+
drawing_area
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/mireru/widget/text.rb
CHANGED
data/lib/mireru/widget/video.rb
CHANGED
data/lib/mireru/window.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require "gtk3"
|
2
2
|
require "mireru/widget"
|
3
|
-
require "mireru/widget/thumbnail"
|
4
3
|
|
5
4
|
module Mireru
|
6
5
|
class Window < Gtk::Window
|
@@ -9,9 +8,9 @@ module Mireru
|
|
9
8
|
super
|
10
9
|
@scroll = Gtk::ScrolledWindow.new
|
11
10
|
@scroll.set_policy(:automatic, :automatic)
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
add(@scroll)
|
12
|
+
set_default_size(640, 640)
|
13
|
+
signal_connect("destroy") do
|
15
14
|
Gtk.main_quit
|
16
15
|
end
|
17
16
|
end
|
@@ -20,18 +19,18 @@ module Mireru
|
|
20
19
|
@container = container
|
21
20
|
|
22
21
|
@file = @container.shift
|
23
|
-
|
22
|
+
add_from_file(@file)
|
24
23
|
|
25
|
-
|
26
|
-
case
|
24
|
+
signal_connect("key-press-event") do |widget, event|
|
25
|
+
case event.keyval
|
27
26
|
when Gdk::Keyval::GDK_KEY_n
|
28
27
|
@file = @container.shift(@file)
|
29
|
-
|
28
|
+
add_from_file(@file)
|
30
29
|
when Gdk::Keyval::GDK_KEY_p
|
31
30
|
@file = @container.pop(@file)
|
32
|
-
|
31
|
+
add_from_file(@file)
|
33
32
|
when Gdk::Keyval::GDK_KEY_r
|
34
|
-
|
33
|
+
add_from_file(@file)
|
35
34
|
when Gdk::Keyval::GDK_KEY_e
|
36
35
|
self.title = File.expand_path(@file)
|
37
36
|
when Gdk::Keyval::GDK_KEY_f
|
@@ -50,16 +49,13 @@ module Mireru
|
|
50
49
|
end
|
51
50
|
when Gdk::Keyval::GDK_KEY_T
|
52
51
|
files = @container.instance_variable_get(:@files)
|
53
|
-
|
52
|
+
add_from_file(files)
|
54
53
|
when Gdk::Keyval::GDK_KEY_plus
|
55
54
|
if Mireru::Widget.image?(@file)
|
56
|
-
|
57
|
-
height = @widget.pixbuf.height
|
55
|
+
pixbuf = @widget.pixbuf
|
58
56
|
scale = 1.1
|
59
|
-
pixbuf =
|
60
|
-
|
61
|
-
height * scale)
|
62
|
-
@widget.pixbuf = pixbuf
|
57
|
+
@widget.pixbuf = pixbuf.scale(pixbuf.width * scale,
|
58
|
+
pixbuf.height * scale)
|
63
59
|
elsif @widget.is_a?(Gtk::TextView)
|
64
60
|
font = @widget.pango_context.font_description.to_s
|
65
61
|
font_size = font.scan(/\d+\z/).first.to_i
|
@@ -68,13 +64,10 @@ module Mireru
|
|
68
64
|
end
|
69
65
|
when Gdk::Keyval::GDK_KEY_minus
|
70
66
|
if Mireru::Widget.image?(@file)
|
71
|
-
|
72
|
-
height = @widget.pixbuf.height
|
67
|
+
pixbuf = @widget.pixbuf
|
73
68
|
scale = 0.9
|
74
|
-
pixbuf =
|
75
|
-
|
76
|
-
height * scale)
|
77
|
-
@widget.pixbuf = pixbuf
|
69
|
+
@widget.pixbuf = pixbuf.scale(pixbuf.width * scale,
|
70
|
+
pixbuf.height * scale)
|
78
71
|
elsif @widget.is_a?(Gtk::TextView)
|
79
72
|
font = @widget.pango_context.font_description.to_s
|
80
73
|
font_size = font.scan(/\d+\z/).first.to_i
|
@@ -98,7 +91,7 @@ module Mireru
|
|
98
91
|
when Gdk::Keyval::GDK_KEY_L
|
99
92
|
@scroll.hadjustment.value += 1000000
|
100
93
|
when Gdk::Keyval::GDK_KEY_q
|
101
|
-
|
94
|
+
destroy
|
102
95
|
end
|
103
96
|
end
|
104
97
|
end
|
@@ -107,11 +100,10 @@ module Mireru
|
|
107
100
|
@scroll.hadjustment.value = 0
|
108
101
|
@scroll.vadjustment.value = 0
|
109
102
|
@scroll.each {|child| child.destroy }
|
110
|
-
|
111
|
-
|
103
|
+
@widget = Mireru::Widget.create(file, *self.size)
|
104
|
+
if @widget.is_a?(Mireru::Widget::Thumbnail)
|
112
105
|
self.title = "Thumbnails: #{file.size} / #{file.size}"
|
113
106
|
else
|
114
|
-
@widget = Mireru::Widget.create(file, *self.size)
|
115
107
|
self.title = File.basename(file)
|
116
108
|
end
|
117
109
|
@widget.override_font(Pango::FontDescription.new(@font)) if @font
|
@@ -120,7 +112,7 @@ module Mireru
|
|
120
112
|
else
|
121
113
|
@scroll.add_with_viewport(@widget)
|
122
114
|
end
|
123
|
-
|
115
|
+
show_all
|
124
116
|
end
|
125
117
|
end
|
126
118
|
end
|
data/mireru.gemspec
CHANGED
@@ -23,11 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_runtime_dependency("clutter-gtk", "= 2.2.0")
|
24
24
|
spec.add_runtime_dependency("clutter-gstreamer", "= 2.2.0")
|
25
25
|
spec.add_runtime_dependency("poppler", "= 2.2.0")
|
26
|
+
spec.add_runtime_dependency("rsvg2", "= 2.2.0")
|
26
27
|
spec.add_runtime_dependency("hexdump")
|
27
28
|
|
28
29
|
spec.add_development_dependency("test-unit")
|
29
30
|
spec.add_development_dependency("test-unit-notify")
|
30
31
|
spec.add_development_dependency("test-unit-rr")
|
31
|
-
spec.add_development_dependency("bundler", "~> 1.
|
32
|
+
spec.add_development_dependency("bundler", "~> 1.6")
|
32
33
|
spec.add_development_dependency("rake")
|
33
34
|
end
|
data/test/run-test.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require "test-unit"
|
4
|
-
require "test/unit/notify"
|
5
|
-
require "test/unit/rr"
|
6
|
-
|
7
3
|
base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
8
|
-
|
9
|
-
|
4
|
+
lib_dir = File.join(base_dir, "lib")
|
5
|
+
test_dir = File.join(base_dir, "test")
|
6
|
+
$LOAD_PATH.unshift(lib_dir)
|
7
|
+
$LOAD_PATH.unshift(test_dir)
|
8
|
+
|
9
|
+
require "mireru-test-utils"
|
10
10
|
|
11
11
|
require "clutter-test-utils"
|
12
12
|
|
13
|
-
exit Test::Unit::AutoRunner.run(true)
|
13
|
+
exit Test::Unit::AutoRunner.run(true, test_dir)
|
data/test/test-container.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require "mireru/container"
|
2
2
|
|
3
3
|
class ContainerTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
4
6
|
def setup
|
5
7
|
@container = Mireru::Container.new
|
6
8
|
end
|
@@ -25,25 +27,25 @@ class ContainerTest < Test::Unit::TestCase
|
|
25
27
|
end
|
26
28
|
|
27
29
|
def test_no_extention_file_type
|
28
|
-
file = File.join(
|
30
|
+
file = File.join(fixtures_dir, "no-extention")
|
29
31
|
valid = @container.__send__(:file?, file)
|
30
32
|
assert_true(valid)
|
31
33
|
end
|
32
34
|
|
33
35
|
def test_png_file
|
34
|
-
file = File.join(
|
36
|
+
file = File.join(fixtures_dir, "nijip.png")
|
35
37
|
valid = @container.__send__(:file?, file)
|
36
38
|
assert_true(valid)
|
37
39
|
end
|
38
40
|
|
39
41
|
def test_txt_file
|
40
|
-
file = File.join(
|
42
|
+
file = File.join(fixtures_dir, "LICENSE.txt")
|
41
43
|
valid = @container.__send__(:file?, file)
|
42
44
|
assert_true(valid)
|
43
45
|
end
|
44
46
|
|
45
47
|
def test_rb_file
|
46
|
-
file = File.join(
|
48
|
+
file = File.join(fixtures_dir, "nijip.rb")
|
47
49
|
valid = @container.__send__(:file?, file)
|
48
50
|
assert_true(valid)
|
49
51
|
end
|
data/test/test-logger.rb
CHANGED
data/test/test-mireru.rb
CHANGED
data/test/test-widget.rb
CHANGED
data/test/test-window.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require "mireru/window"
|
2
2
|
|
3
3
|
class WindowTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
4
6
|
def setup
|
5
7
|
@window = Mireru::Window.new
|
6
8
|
end
|
@@ -12,26 +14,34 @@ class WindowTest < Test::Unit::TestCase
|
|
12
14
|
@window.add_container(container)
|
13
15
|
end
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
class AddFromFileTest
|
18
|
+
def test_scrollable
|
19
|
+
file = __FILE__
|
20
|
+
mock(Mireru::Widget).create(file, *@window.size) do
|
21
|
+
Gtk::TextView.new
|
22
|
+
end
|
23
|
+
mock(@window).show_all
|
24
|
+
@window.add_from_file(file)
|
25
|
+
assert_equal(Gtk::ScrolledWindow, @window.child.class)
|
26
|
+
assert_equal(Gtk::TextView, @window.child.child.class)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_no_scrollable
|
30
|
+
file = File.join(fixtures_dir, "nijip.png")
|
31
|
+
mock(Mireru::Widget).create(file, *@window.size) do
|
32
|
+
Gtk::Image.new
|
33
|
+
end
|
34
|
+
mock(@window).show_all
|
35
|
+
@window.add_from_file(file)
|
36
|
+
assert_equal(Gtk::ScrolledWindow, @window.child.class)
|
37
|
+
assert_equal(Gtk::Viewport, @window.child.child.class)
|
38
|
+
assert_equal(Gtk::Image, @window.child.child.child.class)
|
19
39
|
end
|
20
|
-
mock(@window).show_all
|
21
|
-
@window.add_from_file(file)
|
22
|
-
assert_equal(Gtk::ScrolledWindow, @window.child.class)
|
23
|
-
assert_equal(Gtk::TextView, @window.child.child.class)
|
24
|
-
end
|
25
40
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
41
|
+
def test_enumable
|
42
|
+
file = [__FILE__]
|
43
|
+
@window.add_from_file(file)
|
44
|
+
assert_equal(Mireru::Widget::Thumbnail, @window.child.child.class)
|
30
45
|
end
|
31
|
-
mock(@window).show_all
|
32
|
-
@window.add_from_file(file)
|
33
|
-
assert_equal(Gtk::ScrolledWindow, @window.child.class)
|
34
|
-
assert_equal(Gtk::Viewport, @window.child.child.class)
|
35
|
-
assert_equal(Gtk::Image, @window.child.child.child.class)
|
36
46
|
end
|
37
47
|
end
|
data/test/widget/test-binary.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require "mireru/widget/binary"
|
2
2
|
|
3
3
|
class BinaryTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
4
6
|
def test_create
|
5
|
-
file = File.join(
|
7
|
+
file = File.join(fixtures_dir, "Gemfile.gz")
|
6
8
|
widget = Mireru::Widget::Binary.create(file)
|
7
9
|
assert_not_nil(widget)
|
8
10
|
assert_equal(Gtk::TextView, widget.class)
|
data/test/widget/test-pdf.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require "mireru/widget/pdf"
|
2
2
|
|
3
3
|
class PDFTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
4
6
|
def test_create
|
5
|
-
file = File.join(
|
7
|
+
file = File.join(fixtures_dir, "sample.pdf")
|
6
8
|
widget = Mireru::Widget::PDF.create(file)
|
7
9
|
assert_not_nil(widget)
|
8
10
|
assert_equal(Gtk::DrawingArea, widget.class)
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require "mireru/widget/svg"
|
2
|
+
|
3
|
+
class SVGTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
6
|
+
def test_create
|
7
|
+
file = File.join(File.dirname(__FILE__), "..", "fixtures", "sample.svg")
|
8
|
+
widget = Mireru::Widget::SVG.create(file)
|
9
|
+
assert_not_nil(widget)
|
10
|
+
assert_equal(Gtk::DrawingArea, widget.class)
|
11
|
+
widget.destroy
|
12
|
+
end
|
13
|
+
end
|
data/test/widget/test-text.rb
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
require "mireru/widget/thumbnail"
|
2
2
|
|
3
3
|
class ThumbnailTest < Test::Unit::TestCase
|
4
|
+
include MireruTestUtils
|
5
|
+
|
4
6
|
def test_image_from_file
|
5
7
|
widget = Mireru::Widget::Thumbnail.__send__(:image_from_file,
|
6
|
-
|
8
|
+
File.join(fixtures_dir,
|
9
|
+
"nijip.png"))
|
7
10
|
assert_equal(Gtk::Image, widget.class)
|
8
11
|
end
|
9
12
|
|
10
13
|
def test_label_from_fil
|
11
14
|
widget = Mireru::Widget::Thumbnail.__send__(:label_from_file,
|
12
|
-
|
15
|
+
__FILE__)
|
13
16
|
assert_equal(Gtk::Label, widget.class)
|
14
17
|
end
|
15
18
|
end
|
data/test/widget/test-video.rb
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.2.
|
4
|
+
version: 0.2.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-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gtk3
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.2.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rsvg2
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.2.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.2.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: hexdump
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +156,14 @@ dependencies:
|
|
142
156
|
requirements:
|
143
157
|
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '1.
|
159
|
+
version: '1.6'
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
164
|
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: '1.
|
166
|
+
version: '1.6'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: rake
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,6 +203,7 @@ files:
|
|
189
203
|
- lib/mireru/widget/binary.rb
|
190
204
|
- lib/mireru/widget/image.rb
|
191
205
|
- lib/mireru/widget/pdf.rb
|
206
|
+
- lib/mireru/widget/svg.rb
|
192
207
|
- lib/mireru/widget/text.rb
|
193
208
|
- lib/mireru/widget/thumbnail.rb
|
194
209
|
- lib/mireru/widget/video.rb
|
@@ -202,6 +217,8 @@ files:
|
|
202
217
|
- test/fixtures/nijip.rb
|
203
218
|
- test/fixtures/no-extention
|
204
219
|
- test/fixtures/sample.pdf
|
220
|
+
- test/fixtures/sample.svg
|
221
|
+
- test/mireru-test-utils.rb
|
205
222
|
- test/run-test.rb
|
206
223
|
- test/test-container.rb
|
207
224
|
- test/test-logger.rb
|
@@ -210,6 +227,7 @@ files:
|
|
210
227
|
- test/test-window.rb
|
211
228
|
- test/widget/test-binary.rb
|
212
229
|
- test/widget/test-pdf.rb
|
230
|
+
- test/widget/test-svg.rb
|
213
231
|
- test/widget/test-text.rb
|
214
232
|
- test/widget/test-thumbnail.rb
|
215
233
|
- test/widget/test-video.rb
|
@@ -258,6 +276,8 @@ test_files:
|
|
258
276
|
- test/fixtures/nijip.rb
|
259
277
|
- test/fixtures/no-extention
|
260
278
|
- test/fixtures/sample.pdf
|
279
|
+
- test/fixtures/sample.svg
|
280
|
+
- test/mireru-test-utils.rb
|
261
281
|
- test/run-test.rb
|
262
282
|
- test/test-container.rb
|
263
283
|
- test/test-logger.rb
|
@@ -266,6 +286,7 @@ test_files:
|
|
266
286
|
- test/test-window.rb
|
267
287
|
- test/widget/test-binary.rb
|
268
288
|
- test/widget/test-pdf.rb
|
289
|
+
- test/widget/test-svg.rb
|
269
290
|
- test/widget/test-text.rb
|
270
291
|
- test/widget/test-thumbnail.rb
|
271
292
|
- test/widget/test-video.rb
|