win32screenshot 2.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,78 +1,78 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
-
3
- describe Win32::Screenshot::Image do
4
-
5
- before :all do
6
- IO.popen("notepad")
7
- @notepad = RAutomation::Window.new(:title => /notepad/i).pid
8
- @image = Win32::Screenshot::Take.of(:window, :pid => @notepad)
9
- end
10
-
11
- describe "stores raw bitmap data" do
12
- it "#bitmap" do
13
- @image.bitmap[0..1].should == 'BM'
14
- end
15
- end
16
-
17
- describe "saving the image to the disk" do
18
- context "saving to the bmp format" do
19
- it "#write" do
20
- file_path = @temp_dir + '/image.bmp'
21
- expect {@image.write(file_path)}.to_not raise_exception
22
- File.open(file_path, "rb") {|io| io.read}[0..1].should == "BM"
23
- end
24
- end
25
-
26
- context "saving to the png format" do
27
- it "#write" do
28
- file_path = @temp_dir + '/image.png'
29
- expect {@image.write(file_path)}.to_not raise_exception
30
- File.open(file_path, "rb") {|io| io.read}[0..3].should == "\211PNG".force_encoding(Encoding::ASCII_8BIT)
31
- end
32
- end
33
-
34
- context "trying to save to the unknown format" do
35
- it "#write" do
36
- file_path = @temp_dir + '/image.notknown'
37
- expect {@image.write(file_path)}.
38
- to raise_exception("File '#{file_path}' has to have one of the following extensions: #{Win32::Screenshot::Image::FORMATS.join(", ")}")
39
- File.should_not exist(file_path)
40
- end
41
- end
42
-
43
- context "trying to save with the filename without an extension" do
44
- it "#write" do
45
- file_path = @temp_dir + '/image'
46
- expect {@image.write(file_path)}.
47
- to raise_exception("File '#{file_path}' has to have one of the following extensions: #{Win32::Screenshot::Image::FORMATS.join(", ")}")
48
- File.should_not exist(file_path)
49
- end
50
- end
51
-
52
- context "not allowing to overwrite existing files" do
53
- it "#write" do
54
- file_path = @temp_dir + '/invalid-image.png'
55
- content = "invalid content"
56
- File.open(file_path, "w") {|io| io.write content}
57
- expect {@image.write(file_path)}.to raise_exception("File already exists: #{file_path}!")
58
- File.size(file_path).should == content.size
59
- end
60
- end
61
-
62
- context "allowing to overwrite existing files when desired" do
63
- it "#write!" do
64
- file_path = @temp_dir + '/overwritten-image.png'
65
- content = "content"
66
- File.open(file_path, "w") {|io| io.write content}
67
- @image.write!(file_path)
68
- File.size(file_path).should_not eq(content.size)
69
- end
70
- end
71
- end
72
-
73
- after :all do
74
- # kill in a jruby friendly way
75
- system("taskkill /PID #{@notepad} > nul")
76
- end
77
-
78
- end
1
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
+
3
+ describe Win32::Screenshot::Image do
4
+
5
+ before :all do
6
+ IO.popen("notepad")
7
+ @notepad = RAutomation::Window.new(:title => /notepad/i).pid
8
+ @image = Win32::Screenshot::Take.of(:window, :pid => @notepad)
9
+ end
10
+
11
+ describe "stores raw bitmap data" do
12
+ it "#bitmap" do
13
+ expect(@image.bitmap[0..1]).to eq('BM')
14
+ end
15
+ end
16
+
17
+ describe "saving the image to the disk" do
18
+ context "saving to the bmp format" do
19
+ it "#write" do
20
+ file_path = @temp_dir + '/image.bmp'
21
+ expect {@image.write(file_path)}.to_not raise_exception
22
+ expect(File.open(file_path, "rb") {|io| io.read}[0..1]).to eq("BM")
23
+ end
24
+ end
25
+
26
+ context "saving to the png format" do
27
+ it "#write" do
28
+ file_path = @temp_dir + '/image.png'
29
+ expect {@image.write(file_path)}.to_not raise_exception
30
+ expect(File.open(file_path, "rb") {|io| io.read}[0..3]).to eq("\211PNG".force_encoding(Encoding::ASCII_8BIT))
31
+ end
32
+ end
33
+
34
+ context "trying to save to the unknown format" do
35
+ it "#write" do
36
+ file_path = @temp_dir + '/image.notknown'
37
+ expect {@image.write(file_path)}.
38
+ to raise_exception("File '#{file_path}' has to have one of the following extensions: #{Win32::Screenshot::Image::FORMATS.join(", ")}")
39
+ expect(File.exist?(file_path)).to eq(false)
40
+ end
41
+ end
42
+
43
+ context "trying to save with the filename without an extension" do
44
+ it "#write" do
45
+ file_path = @temp_dir + '/image'
46
+ expect {@image.write(file_path)}.
47
+ to raise_exception("File '#{file_path}' has to have one of the following extensions: #{Win32::Screenshot::Image::FORMATS.join(", ")}")
48
+ expect(File.exist?(file_path)).to eq(false)
49
+ end
50
+ end
51
+
52
+ context "not allowing to overwrite existing files" do
53
+ it "#write" do
54
+ file_path = @temp_dir + '/invalid-image.png'
55
+ content = "invalid content"
56
+ File.open(file_path, "w") {|io| io.write content}
57
+ expect {@image.write(file_path)}.to raise_exception("File already exists: #{file_path}!")
58
+ expect(File.size(file_path)).to eq(content.size)
59
+ end
60
+ end
61
+
62
+ context "allowing to overwrite existing files when desired" do
63
+ it "#write!" do
64
+ file_path = @temp_dir + '/overwritten-image.png'
65
+ content = "content"
66
+ File.open(file_path, "w") {|io| io.write content}
67
+ @image.write!(file_path)
68
+ expect(File.size(file_path)).to_not eq(content.size)
69
+ end
70
+ end
71
+ end
72
+
73
+ after :all do
74
+ # kill in a jruby friendly way
75
+ system("taskkill /PID #{@notepad} > nul")
76
+ end
77
+
78
+ end
@@ -1,151 +1,83 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
-
3
- describe Win32::Screenshot::Take do
4
-
5
- before :all do
6
- Dir.chdir("c:/program files/Internet Explorer") { IO.popen(".\\iexplore about:blank") }
7
- IO.popen("notepad")
8
- @iexplore = RAutomation::Window.new(:title => /internet explorer/i).pid
9
- @notepad = RAutomation::Window.new(:title => /notepad/i).pid
10
- end
11
-
12
- it "captures the foreground" do
13
- image = Win32::Screenshot::Take.of(:foreground)
14
- save_and_verify_image(image, 'foreground')
15
- hwnd = Win32::Screenshot::BitmapMaker.foreground_window
16
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(hwnd, :window)
17
- end
18
-
19
- it "captures an area of the foreground" do
20
- image = Win32::Screenshot::Take.of(:foreground, :area => [30, 30, 100, 150])
21
- save_and_verify_image(image, 'foreground_area')
22
- image.width.should == 70
23
- image.height.should == 120
24
- end
25
-
26
- it "doesn't allow to capture an area of the foreground with invalid coordinates" do
27
- expect {Win32::Screenshot::Take.of(:foreground, :area => [0, 0, -1, 100])}.
28
- to raise_exception("specified coordinates (x1: 0, y1: 0, x2: -1, y2: 100) are invalid - cannot be negative!")
29
- end
30
-
31
- it "captures the desktop" do
32
- image = Win32::Screenshot::Take.of(:desktop)
33
- save_and_verify_image(image, 'desktop')
34
- hwnd = Win32::Screenshot::BitmapMaker.desktop_window
35
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(hwnd, :window)
36
- end
37
-
38
- it "captures an area of the desktop" do
39
- image = Win32::Screenshot::Take.of(:desktop, :area => [30, 30, 100, 150])
40
- save_and_verify_image(image, 'desktop_area')
41
- image.width.should == 70
42
- image.height.should == 120
43
- end
44
-
45
- it "doesn't allow to capture an area of the desktop with invalid coordinates" do
46
- expect {Win32::Screenshot::Take.of(:desktop, :area => [0, 0, -1, 100])}.
47
- to raise_exception("specified coordinates (x1: 0, y1: 0, x2: -1, y2: 100) are invalid - cannot be negative!")
48
- end
49
-
50
- it "captures a maximized window" do
51
- window = RAutomation::Window.new(:pid => @iexplore)
52
- window.maximize
53
- image = Win32::Screenshot::Take.of(:window, :pid => @iexplore)
54
- save_and_verify_image(image, 'iexplore_max')
55
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
56
- end
57
-
58
- it "captures a minimized window" do
59
- window = RAutomation::Window.new(:pid => @notepad)
60
- window.minimize
61
- image = Win32::Screenshot::Take.of(:window, :pid => @notepad)
62
- save_and_verify_image(image, 'notepad_min')
63
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
64
- end
65
-
66
- it "captures a small window" do
67
- title = /Internet Explorer/
68
- resize(title)
69
- image = Win32::Screenshot::Take.of(:window, :pid => @iexplore)
70
- save_and_verify_image(image, 'iexplore_resized')
71
-
72
- # we should get the size of the picture because
73
- # screenshot doesn't include titlebar and the size
74
- # varies between different themes and Windows versions
75
- window = RAutomation::Window.new(:pid => @iexplore)
76
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
77
- end
78
-
79
- it "captures a window context of the window" do
80
- image = Win32::Screenshot::Take.of(:window, :pid => @notepad, :context => :window)
81
- save_and_verify_image(image, 'notepad_context_window')
82
- window = RAutomation::Window.new(:pid => @notepad)
83
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
84
- end
85
-
86
- it "captures a client context of the window" do
87
- image = Win32::Screenshot::Take.of(:window, :pid => @notepad, :context => :client)
88
- save_and_verify_image(image, 'notepad_context_client')
89
- window = RAutomation::Window.new(:pid => @notepad)
90
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :client)
91
- end
92
-
93
- it "captures an area of the window" do
94
- image = Win32::Screenshot::Take.of(:window, :pid => @notepad, :area => [30, 30, 100, 150])
95
- save_and_verify_image(image, 'notepad_area')
96
- image.width.should == 70
97
- image.height.should == 120
98
- end
99
-
100
- it "captures by the RAutomation::Window" do
101
- window = RAutomation::Window.new(:pid => @notepad)
102
- image = Win32::Screenshot::Take.of(:window, :rautomation => window)
103
- save_and_verify_image(image, 'notepad_rautomation')
104
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
105
- end
106
-
107
- it "captures a child windows" do
108
- window = RAutomation::Window.new(:pid => @iexplore).child(:class => "Internet Explorer_Server")
109
- image = Win32::Screenshot::Take.of(:window, :rautomation => window)
110
- save_and_verify_image(image, 'iexplore_child')
111
- [image.width, image.height].should == Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
112
- end
113
-
114
- it "captures a whole window if window size is specified as coordinates" do
115
- window = RAutomation::Window.new(:pid => @notepad)
116
- expected_width, expected_height = Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
117
- image = Win32::Screenshot::Take.of(:window, :rautomation => window, :area => [0, 0, expected_width, expected_height])
118
- save_and_verify_image(image, 'notepad_area_full_window')
119
- image.width.should == expected_width
120
- image.height.should == expected_height
121
- end
122
-
123
- it "doesn't allow to capture an area of the window with negative coordinates" do
124
- expect {Win32::Screenshot::Take.of(:window, :pid => @notepad, :area => [0, 0, -1, 100])}.
125
- to raise_exception("specified coordinates (x1: 0, y1: 0, x2: -1, y2: 100) are invalid - cannot be negative!")
126
- end
127
-
128
- it "doesn't allow to capture an area of the window if coordinates are the same" do
129
- expect {Win32::Screenshot::Take.of(:window, :pid => @notepad, :area => [10, 0, 10, 20])}.
130
- to raise_exception("specified coordinates (x1: 10, y1: 0, x2: 10, y2: 20) are invalid - cannot be x1 >= x2 or y1 >= y2!")
131
- end
132
-
133
- it "doesn't allow to capture an area of the window if second coordinate is smaller than first one" do
134
- expect {Win32::Screenshot::Take.of(:window, :pid => @notepad, :area => [0, 10, 10, 9])}.
135
- to raise_exception("specified coordinates (x1: 0, y1: 10, x2: 10, y2: 9) are invalid - cannot be x1 >= x2 or y1 >= y2!")
136
- end
137
-
138
- it "doesn't allow to capture an area of the window with too big coordinates" do
139
- window = RAutomation::Window.new(:pid => @notepad)
140
- expected_width, expected_height = Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd, :window)
141
- expect {Win32::Screenshot::Take.of(:window, :pid => @notepad, :area => [0, 0, 10, 1000])}.
142
- to raise_exception("specified coordinates (x1: 0, y1: 0, x2: 10, y2: 1000) are invalid - maximum x2: #{expected_width} and y2: #{expected_height}!")
143
- end
144
-
145
- after :all do
146
- [@iexplore, @notepad].each do |pid|
147
- # kill them in a jruby friendly way
148
- system("taskkill /PID #{pid} > nul")
149
- end
150
- end
151
- end
1
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
+
3
+ describe Win32::Screenshot::Take do
4
+
5
+ before :all do
6
+ Dir.chdir("c:/program files/Internet Explorer") { IO.popen(".\\iexplore about:blank") }
7
+ IO.popen("notepad")
8
+ @iexplore = RAutomation::Window.new(:title => /internet explorer/i).pid
9
+ @notepad = RAutomation::Window.new(:title => /notepad/i).pid
10
+ end
11
+
12
+ it "captures the foreground" do
13
+ image = Win32::Screenshot::Take.of(:foreground)
14
+ save_and_verify_image(image, 'foreground')
15
+ hwnd = Win32::Screenshot::BitmapMaker.foreground_window
16
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(hwnd))
17
+ end
18
+
19
+ it "captures the desktop" do
20
+ image = Win32::Screenshot::Take.of(:desktop)
21
+ desktop_dimensions = Win32::Screenshot::BitmapMaker::desktop
22
+ save_and_verify_image(image, 'desktop')
23
+
24
+ expect([image.width, image.height]).to eq([desktop_dimensions.width, desktop_dimensions.height])
25
+ end
26
+
27
+ it "captures a window" do
28
+ image = Win32::Screenshot::Take.of(:window, :pid => @notepad)
29
+ save_and_verify_image(image, 'notepad_context_window')
30
+ window = RAutomation::Window.new(:pid => @notepad)
31
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
32
+ end
33
+
34
+ it "captures a maximized window" do
35
+ window = RAutomation::Window.new(:pid => @iexplore)
36
+ window.maximize
37
+ image = Win32::Screenshot::Take.of(:window, :pid => @iexplore)
38
+ save_and_verify_image(image, 'iexplore_max')
39
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
40
+ end
41
+
42
+ it "captures a minimized window" do
43
+ window = RAutomation::Window.new(:pid => @notepad)
44
+ window.minimize
45
+ image = Win32::Screenshot::Take.of(:window, :pid => @notepad)
46
+ save_and_verify_image(image, 'notepad_min')
47
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
48
+ end
49
+
50
+ it "captures a small window" do
51
+ title = /Internet Explorer/
52
+ resize(title)
53
+ image = Win32::Screenshot::Take.of(:window, :pid => @iexplore)
54
+ save_and_verify_image(image, 'iexplore_resized')
55
+
56
+ # we should get the size of the picture because
57
+ # screenshot doesn't include titlebar and the size
58
+ # varies between different themes and Windows versions
59
+ window = RAutomation::Window.new(:pid => @iexplore)
60
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
61
+ end
62
+
63
+ it "captures by the RAutomation::Window" do
64
+ window = RAutomation::Window.new(:pid => @notepad)
65
+ image = Win32::Screenshot::Take.of(:window, :rautomation => window)
66
+ save_and_verify_image(image, 'notepad_rautomation')
67
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
68
+ end
69
+
70
+ it "captures a child window" do
71
+ window = RAutomation::Window.new(:pid => @iexplore).child(:class => "Internet Explorer_Server")
72
+ image = Win32::Screenshot::Take.of(:window, :rautomation => window)
73
+ save_and_verify_image(image, 'iexplore_child')
74
+ expect([image.width, image.height]).to eq(Win32::Screenshot::BitmapMaker.dimensions_for(window.hwnd))
75
+ end
76
+
77
+ after :all do
78
+ [@iexplore, @notepad].each do |pid|
79
+ # kill them in a jruby friendly way
80
+ system("taskkill /PID #{pid} > nul")
81
+ end
82
+ end
83
+ end
@@ -1,25 +1,25 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "win32/screenshot/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "win32screenshot"
7
- s.version = Win32::Screenshot::VERSION
8
- s.authors = ["Jarmo Pertman", "Aslak Hellesøy"]
9
- s.email = ["jarmo.p@gmail.com", "aslak.hellesoy@gmail.com"]
10
- s.description = "Capture Screenshots on Windows with Ruby to bmp, gif, jpg or png formats."
11
- s.homepage = "http://github.com/jarmo/win32screenshot"
12
- s.summary = "Capture Screenshots on Windows with Ruby to bmp, gif, jpg or png formats."
13
- s.files = `git ls-files`.split("\n")
14
- s.test_files = `git ls-files -- spec/*`.split("\n")
15
- s.require_paths = ["lib"]
16
- s.license = "MIT"
17
-
18
- s.add_dependency("ffi", "~> 1.9.0")
19
- s.add_dependency("mini_magick", "~> 4.3.0")
20
- s.add_dependency("rautomation", "~> 0.7")
21
-
22
- s.add_development_dependency("rspec", "~> 2.5")
23
- s.add_development_dependency("yard")
24
- s.add_development_dependency("rake")
25
- end
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "win32/screenshot/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "win32screenshot"
7
+ s.version = Win32::Screenshot::VERSION
8
+ s.authors = ["Jarmo Pertman", "Aslak Hellesøy"]
9
+ s.email = ["jarmo.p@gmail.com", "aslak.hellesoy@gmail.com"]
10
+ s.description = "Capture Screenshots on Windows with Ruby to bmp, gif, jpg or png formats."
11
+ s.homepage = "http://github.com/jarmo/win32screenshot"
12
+ s.summary = "Capture Screenshots on Windows with Ruby to bmp, gif, jpg or png formats."
13
+ s.files = `git ls-files`.split("\n")
14
+ s.test_files = `git ls-files -- spec/*`.split("\n")
15
+ s.require_paths = ["lib"]
16
+ s.license = "MIT"
17
+
18
+ s.add_dependency("ffi", "~> 1.15.0")
19
+ s.add_dependency("mini_magick", "~> 4.9")
20
+ s.add_dependency("rautomation", "~> 1.1.0")
21
+
22
+ s.add_development_dependency("rspec", "~> 3.10")
23
+ s.add_development_dependency("yard")
24
+ s.add_development_dependency("rake")
25
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32screenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarmo Pertman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-09 00:00:00.000000000 Z
12
+ date: 2022-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -17,56 +17,56 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.9.0
20
+ version: 1.15.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.9.0
27
+ version: 1.15.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: mini_magick
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 4.3.0
34
+ version: '4.9'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 4.3.0
41
+ version: '4.9'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rautomation
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0.7'
48
+ version: 1.1.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '0.7'
55
+ version: 1.1.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '2.5'
62
+ version: '3.10'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.5'
69
+ version: '3.10'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: yard
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -106,18 +106,19 @@ files:
106
106
  - ".gitignore"
107
107
  - ".rspec"
108
108
  - ".yardopts"
109
+ - CHANGES.md
109
110
  - Gemfile
110
111
  - Gemfile.lock
111
- - History.rdoc
112
112
  - LICENSE
113
- - README.rdoc
113
+ - README.md
114
114
  - Rakefile
115
- - ext/ImageMagick-6.9.3-0-portable-Q16-x86/LICENSE.txt
116
- - ext/ImageMagick-6.9.3-0-portable-Q16-x86/convert.exe
117
- - ext/ImageMagick-6.9.3-0-portable-Q16-x86/identify.exe
118
- - ext/ImageMagick-6.9.3-0-portable-Q16-x86/mogrify.exe
115
+ - ext/ImageMagick-7.0.9-8-portable-Q16-x86/LICENSE.txt
116
+ - ext/ImageMagick-7.0.9-8-portable-Q16-x86/convert.exe
117
+ - ext/ImageMagick-7.0.9-8-portable-Q16-x86/identify.exe
118
+ - ext/ImageMagick-7.0.9-8-portable-Q16-x86/mogrify.exe
119
119
  - lib/win32/screenshot.rb
120
120
  - lib/win32/screenshot/bitmap_maker.rb
121
+ - lib/win32/screenshot/desktop.rb
121
122
  - lib/win32/screenshot/image.rb
122
123
  - lib/win32/screenshot/take.rb
123
124
  - lib/win32/screenshot/version.rb
@@ -144,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
145
  - !ruby/object:Gem::Version
145
146
  version: '0'
146
147
  requirements: []
147
- rubyforge_project:
148
- rubygems_version: 2.4.4
148
+ rubygems_version: 3.0.3
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Capture Screenshots on Windows with Ruby to bmp, gif, jpg or png formats.
@@ -153,4 +153,3 @@ test_files:
153
153
  - spec/spec_helper.rb
154
154
  - spec/win32/screenshot/image_spec.rb
155
155
  - spec/win32/screenshot/take_spec.rb
156
- has_rdoc: