windows-pr 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +5 -0
  3. data/Rakefile +3 -3
  4. data/test/helper.rb +13 -0
  5. data/test/tc_clipboard.rb +2 -2
  6. data/test/tc_com.rb +2 -2
  7. data/test/tc_com_automation.rb +2 -2
  8. data/test/tc_console.rb +2 -2
  9. data/test/tc_debug.rb +3 -3
  10. data/test/tc_device_io.rb +2 -2
  11. data/test/tc_directory.rb +2 -2
  12. data/test/tc_error.rb +7 -7
  13. data/test/tc_eventlog.rb +5 -5
  14. data/test/tc_file.rb +18 -18
  15. data/test/tc_file_mapping.rb +7 -7
  16. data/test/tc_filesystem.rb +6 -6
  17. data/test/tc_gdi_bitmap.rb +2 -2
  18. data/test/tc_gdi_metafile.rb +2 -2
  19. data/test/tc_handle.rb +5 -6
  20. data/test/tc_library.rb +3 -3
  21. data/test/tc_limits.rb +4 -5
  22. data/test/tc_mailslot.rb +2 -2
  23. data/test/tc_memory.rb +2 -2
  24. data/test/tc_msvcrt_buffer.rb +2 -2
  25. data/test/tc_msvcrt_directory.rb +7 -7
  26. data/test/tc_msvcrt_file.rb +5 -5
  27. data/test/tc_msvcrt_io.rb +5 -5
  28. data/test/tc_msvcrt_string.rb +2 -2
  29. data/test/tc_msvcrt_time.rb +3 -3
  30. data/test/tc_national.rb +5 -5
  31. data/test/tc_network_management.rb +5 -5
  32. data/test/tc_network_snmp.rb +4 -4
  33. data/test/tc_network_winsock.rb +4 -4
  34. data/test/tc_nio.rb +4 -4
  35. data/test/tc_ntfs_winternl.rb +3 -3
  36. data/test/tc_path.rb +2 -2
  37. data/test/tc_pipe.rb +5 -6
  38. data/test/tc_process.rb +2 -2
  39. data/test/tc_registry.rb +2 -2
  40. data/test/tc_security.rb +2 -2
  41. data/test/tc_security_authentication.rb +2 -2
  42. data/test/tc_security_sspi.rb +2 -2
  43. data/test/tc_service.rb +4 -4
  44. data/test/tc_shell.rb +4 -4
  45. data/test/tc_socket.rb +15 -5
  46. data/test/tc_sound.rb +4 -4
  47. data/test/tc_synchronize.rb +5 -5
  48. data/test/tc_system_info.rb +3 -3
  49. data/test/tc_thread.rb +2 -2
  50. data/test/tc_time.rb +4 -4
  51. data/test/tc_tool_helper.rb +2 -2
  52. data/test/tc_unicode.rb +8 -8
  53. data/test/tc_volume.rb +2 -2
  54. data/test/tc_window.rb +4 -4
  55. data/test/tc_window_classes.rb +4 -4
  56. data/test/tc_window_dialog.rb +4 -4
  57. data/test/tc_window_menu.rb +4 -4
  58. data/test/tc_window_message.rb +4 -4
  59. data/test/tc_window_properties.rb +3 -3
  60. data/test/tc_window_timer.rb +3 -3
  61. data/test/tc_wsa.rb +2 -2
  62. data/windows-pr.gemspec +1 -3
  63. metadata +13 -12
@@ -4,13 +4,13 @@
4
4
  # Test case for the Windows::Window::Dialog module.
5
5
  #####################################################################
6
6
  require 'windows/window/dialog'
7
- require 'test/unit'
7
+ require 'minitest/autorun'
8
8
 
9
9
  class WindowDialogFoo
10
10
  include Windows::Window::Dialog
11
11
  end
12
12
 
13
- class TC_Windows_Window_Dialog < Test::Unit::TestCase
13
+ class TC_Windows_Window_Dialog < MiniTest::Unit::TestCase
14
14
  def setup
15
15
  @foo = WindowDialogFoo.new
16
16
  end
@@ -18,7 +18,7 @@ class TC_Windows_Window_Dialog < Test::Unit::TestCase
18
18
  def test_numeric_constants
19
19
  assert_equal(0, WindowDialogFoo::MB_OK)
20
20
  end
21
-
21
+
22
22
  def test_method_constants
23
23
  assert_not_nil(WindowDialogFoo::MessageBox)
24
24
  end
@@ -26,7 +26,7 @@ class TC_Windows_Window_Dialog < Test::Unit::TestCase
26
26
  def test_method_mixin
27
27
  assert_respond_to(@foo, :MessageBox)
28
28
  end
29
-
29
+
30
30
  def teardown
31
31
  @foo = nil
32
32
  end
@@ -4,13 +4,13 @@
4
4
  # Test case for the Windows::Window::Menu module.
5
5
  #####################################################################
6
6
  require 'windows/window/menu'
7
- require 'test/unit'
7
+ require 'minitest/autorun'
8
8
 
9
9
  class WindowMenuFoo
10
10
  include Windows::Window::Menu
11
11
  end
12
12
 
13
- class TC_Windows_Window_Menu < Test::Unit::TestCase
13
+ class TC_Windows_Window_Menu < MiniTest::Unit::TestCase
14
14
  def setup
15
15
  @foo = WindowMenuFoo.new
16
16
  end
@@ -18,11 +18,11 @@ class TC_Windows_Window_Menu < Test::Unit::TestCase
18
18
  def test_numeric_constants
19
19
  assert_equal(0, WindowMenuFoo::MF_INSERT)
20
20
  end
21
-
21
+
22
22
  def test_method_constants
23
23
  assert_not_nil(WindowMenuFoo::AppendMenu)
24
24
  end
25
-
25
+
26
26
  def teardown
27
27
  @foo = nil
28
28
  end
@@ -4,13 +4,13 @@
4
4
  # Test case for the Windows::Window::Message module.
5
5
  #####################################################################
6
6
  require 'windows/window/message'
7
- require 'test/unit'
7
+ require 'minitest/autorun'
8
8
 
9
9
  class WindowMessageFoo
10
10
  include Windows::Window::Message
11
11
  end
12
12
 
13
- class TC_Windows_Window_Message < Test::Unit::TestCase
13
+ class TC_Windows_Window_Message < MiniTest::Unit::TestCase
14
14
  def setup
15
15
  @foo = WindowMessageFoo.new
16
16
  end
@@ -18,7 +18,7 @@ class TC_Windows_Window_Message < Test::Unit::TestCase
18
18
  def test_numeric_constants
19
19
  assert_equal(5, WindowMessageFoo::WM_SIZE)
20
20
  end
21
-
21
+
22
22
  def test_method_constants
23
23
  assert_not_nil(WindowMessageFoo::PostMessage)
24
24
  end
@@ -26,7 +26,7 @@ class TC_Windows_Window_Message < Test::Unit::TestCase
26
26
  def test_method_mixin
27
27
  assert_respond_to(@foo, :PostMessage)
28
28
  end
29
-
29
+
30
30
  def teardown
31
31
  @foo = nil
32
32
  end
@@ -4,13 +4,13 @@
4
4
  # Test case for the Windows::Window::Properties module.
5
5
  #####################################################################
6
6
  require 'windows/window/properties'
7
- require 'test/unit'
7
+ require 'minitest/autorun'
8
8
 
9
9
  class WindowPropertiesFoo
10
10
  include Windows::Window::Properties
11
11
  end
12
12
 
13
- class TC_Windows_Window_Properties < Test::Unit::TestCase
13
+ class TC_Windows_Window_Properties < MiniTest::Unit::TestCase
14
14
  def setup
15
15
  @foo = WindowPropertiesFoo.new
16
16
  end
@@ -22,7 +22,7 @@ class TC_Windows_Window_Properties < Test::Unit::TestCase
22
22
  def test_method_mixin
23
23
  assert_respond_to(@foo, :EnumProps)
24
24
  end
25
-
25
+
26
26
  def teardown
27
27
  @foo = nil
28
28
  end
@@ -4,13 +4,13 @@
4
4
  # Test case for the Windows::Window::Timer module.
5
5
  #####################################################################
6
6
  require 'windows/window/timer'
7
- require 'test/unit'
7
+ require 'minitest/unit'
8
8
 
9
9
  class WindowTimerFoo
10
10
  include Windows::Window::Timer
11
11
  end
12
12
 
13
- class TC_Windows_Window_Timer < Test::Unit::TestCase
13
+ class TC_Windows_Window_Timer < MiniTest::Unit::TestCase
14
14
  def setup
15
15
  @foo = WindowTimerFoo.new
16
16
  end
@@ -22,7 +22,7 @@ class TC_Windows_Window_Timer < Test::Unit::TestCase
22
22
  def test_method_mixin
23
23
  assert_respond_to(@foo, :KillTimer)
24
24
  end
25
-
25
+
26
26
  def teardown
27
27
  @foo = nil
28
28
  end
@@ -4,9 +4,9 @@
4
4
  # Test case for the Windows::WSA module.
5
5
  #####################################################################
6
6
  require 'windows/wsa'
7
- require 'test/unit'
7
+ require 'minitest/autorun'
8
8
 
9
- class TC_Windows_WSA < Test::Unit::TestCase
9
+ class TC_Windows_WSA < MiniTest::Unit::TestCase
10
10
  include Windows::WSA
11
11
 
12
12
  def test_methods
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'windows-pr'
5
- spec.version = '1.2.3'
5
+ spec.version = '1.2.4'
6
6
  spec.license = 'Artistic 2.0'
7
7
  spec.authors = ['Daniel J. Berger', 'Park Heesob']
8
8
  spec.email = 'djberg96@gmail.com'
@@ -11,8 +11,6 @@ Gem::Specification.new do |spec|
11
11
  spec.test_files = Dir["test/tc*"]
12
12
  spec.files = Dir["**/*"].reject{ |f| f.include?('git') }
13
13
 
14
- spec.rubyforge_project = 'win32utils'
15
-
16
14
  spec.extra_rdoc_files = [
17
15
  'MANIFEST',
18
16
  'README',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows-pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-19 00:00:00.000000000 Z
12
+ date: 2014-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: windows-api
@@ -55,15 +55,12 @@ extra_rdoc_files:
55
55
  - doc/conversion_guide.txt
56
56
  files:
57
57
  - CHANGES
58
- - MANIFEST
59
- - README
60
- - Rakefile
61
58
  - doc/conversion_guide.txt
62
59
  - lib/windows/clipboard.rb
63
- - lib/windows/com.rb
64
60
  - lib/windows/com/accessibility.rb
65
61
  - lib/windows/com/automation.rb
66
62
  - lib/windows/com/variant.rb
63
+ - lib/windows/com.rb
67
64
  - lib/windows/console.rb
68
65
  - lib/windows/debug.rb
69
66
  - lib/windows/device_io.rb
@@ -71,8 +68,8 @@ files:
71
68
  - lib/windows/error.rb
72
69
  - lib/windows/eventlog.rb
73
70
  - lib/windows/file.rb
74
- - lib/windows/file_mapping.rb
75
71
  - lib/windows/filesystem.rb
72
+ - lib/windows/file_mapping.rb
76
73
  - lib/windows/gdi/bitmap.rb
77
74
  - lib/windows/gdi/device_context.rb
78
75
  - lib/windows/gdi/metafile.rb
@@ -98,9 +95,9 @@ files:
98
95
  - lib/windows/pipe.rb
99
96
  - lib/windows/process.rb
100
97
  - lib/windows/registry.rb
101
- - lib/windows/security.rb
102
98
  - lib/windows/security/authentication.rb
103
99
  - lib/windows/security/sspi.rb
100
+ - lib/windows/security.rb
104
101
  - lib/windows/service.rb
105
102
  - lib/windows/shell.rb
106
103
  - lib/windows/socket.rb
@@ -112,14 +109,18 @@ files:
112
109
  - lib/windows/tool_helper.rb
113
110
  - lib/windows/unicode.rb
114
111
  - lib/windows/volume.rb
115
- - lib/windows/window.rb
116
112
  - lib/windows/window/classes.rb
117
113
  - lib/windows/window/dialog.rb
118
114
  - lib/windows/window/menu.rb
119
115
  - lib/windows/window/message.rb
120
116
  - lib/windows/window/properties.rb
121
117
  - lib/windows/window/timer.rb
118
+ - lib/windows/window.rb
122
119
  - lib/windows/wsa.rb
120
+ - MANIFEST
121
+ - Rakefile
122
+ - README
123
+ - test/helper.rb
123
124
  - test/tc_clipboard.rb
124
125
  - test/tc_com.rb
125
126
  - test/tc_com_automation.rb
@@ -130,8 +131,8 @@ files:
130
131
  - test/tc_error.rb
131
132
  - test/tc_eventlog.rb
132
133
  - test/tc_file.rb
133
- - test/tc_file_mapping.rb
134
134
  - test/tc_filesystem.rb
135
+ - test/tc_file_mapping.rb
135
136
  - test/tc_gdi_bitmap.rb
136
137
  - test/tc_gdi_metafile.rb
137
138
  - test/tc_handle.rb
@@ -197,8 +198,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
198
  - !ruby/object:Gem::Version
198
199
  version: '0'
199
200
  requirements: []
200
- rubyforge_project: win32utils
201
- rubygems_version: 2.2.2
201
+ rubyforge_project:
202
+ rubygems_version: 2.0.7
202
203
  signing_key:
203
204
  specification_version: 4
204
205
  summary: Windows functions and constants bundled via Win32::API