windows-pr 1.2.2 → 1.2.3

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.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +444 -438
  3. data/MANIFEST +68 -65
  4. data/README +154 -153
  5. data/Rakefile +42 -37
  6. data/doc/conversion_guide.txt +37 -37
  7. data/lib/windows/clipboard.rb +61 -61
  8. data/lib/windows/com.rb +192 -192
  9. data/lib/windows/com/accessibility.rb +16 -16
  10. data/lib/windows/com/automation.rb +149 -149
  11. data/lib/windows/com/variant.rb +24 -24
  12. data/lib/windows/console.rb +114 -114
  13. data/lib/windows/debug.rb +35 -35
  14. data/lib/windows/device_io.rb +248 -248
  15. data/lib/windows/directory.rb +27 -27
  16. data/lib/windows/error.rb +504 -498
  17. data/lib/windows/eventlog.rb +80 -80
  18. data/lib/windows/file.rb +264 -264
  19. data/lib/windows/file_mapping.rb +25 -25
  20. data/lib/windows/filesystem.rb +15 -15
  21. data/lib/windows/gdi/bitmap.rb +65 -65
  22. data/lib/windows/gdi/device_context.rb +46 -46
  23. data/lib/windows/gdi/metafile.rb +40 -40
  24. data/lib/windows/gdi/painting_drawing.rb +115 -115
  25. data/lib/windows/handle.rb +23 -23
  26. data/lib/windows/library.rb +44 -44
  27. data/lib/windows/limits.rb +34 -34
  28. data/lib/windows/mailslot.rb +24 -24
  29. data/lib/windows/memory.rb +128 -128
  30. data/lib/windows/msvcrt/buffer.rb +75 -75
  31. data/lib/windows/msvcrt/directory.rb +31 -31
  32. data/lib/windows/msvcrt/file.rb +47 -47
  33. data/lib/windows/msvcrt/io.rb +73 -73
  34. data/lib/windows/msvcrt/string.rb +182 -182
  35. data/lib/windows/msvcrt/time.rb +169 -169
  36. data/lib/windows/national.rb +580 -580
  37. data/lib/windows/network/management.rb +525 -525
  38. data/lib/windows/network/snmp.rb +92 -92
  39. data/lib/windows/network/winsock.rb +128 -128
  40. data/lib/windows/nio.rb +50 -50
  41. data/lib/windows/ntfs/winternl.rb +117 -117
  42. data/lib/windows/path.rb +143 -143
  43. data/lib/windows/pipe.rb +42 -42
  44. data/lib/windows/process.rb +176 -176
  45. data/lib/windows/registry.rb +171 -171
  46. data/lib/windows/security.rb +479 -479
  47. data/lib/windows/security/authentication.rb +32 -32
  48. data/lib/windows/security/sspi.rb +153 -0
  49. data/lib/windows/service.rb +142 -142
  50. data/lib/windows/shell.rb +171 -171
  51. data/lib/windows/socket.rb +86 -86
  52. data/lib/windows/sound.rb +39 -39
  53. data/lib/windows/synchronize.rb +133 -133
  54. data/lib/windows/system_info.rb +229 -229
  55. data/lib/windows/thread.rb +64 -64
  56. data/lib/windows/time.rb +48 -48
  57. data/lib/windows/tool_helper.rb +36 -36
  58. data/lib/windows/unicode.rb +155 -155
  59. data/lib/windows/volume.rb +61 -61
  60. data/lib/windows/window.rb +81 -81
  61. data/lib/windows/window/classes.rb +59 -59
  62. data/lib/windows/window/dialog.rb +91 -91
  63. data/lib/windows/window/menu.rb +102 -102
  64. data/lib/windows/window/message.rb +297 -297
  65. data/lib/windows/window/properties.rb +20 -20
  66. data/lib/windows/window/timer.rb +19 -19
  67. data/lib/windows/wsa.rb +102 -102
  68. data/test/tc_clipboard.rb +41 -41
  69. data/test/tc_com.rb +32 -32
  70. data/test/tc_com_automation.rb +15 -15
  71. data/test/tc_console.rb +108 -108
  72. data/test/tc_debug.rb +48 -48
  73. data/test/tc_device_io.rb +29 -29
  74. data/test/tc_directory.rb +25 -25
  75. data/test/tc_error.rb +38 -38
  76. data/test/tc_eventlog.rb +58 -58
  77. data/test/tc_file.rb +67 -67
  78. data/test/tc_file_mapping.rb +38 -38
  79. data/test/tc_filesystem.rb +27 -27
  80. data/test/tc_gdi_bitmap.rb +25 -25
  81. data/test/tc_gdi_metafile.rb +23 -23
  82. data/test/tc_handle.rb +36 -36
  83. data/test/tc_library.rb +37 -37
  84. data/test/tc_limits.rb +34 -34
  85. data/test/tc_mailslot.rb +22 -22
  86. data/test/tc_memory.rb +44 -44
  87. data/test/tc_msvcrt_buffer.rb +63 -63
  88. data/test/tc_msvcrt_directory.rb +96 -96
  89. data/test/tc_msvcrt_file.rb +80 -80
  90. data/test/tc_msvcrt_io.rb +48 -48
  91. data/test/tc_msvcrt_string.rb +94 -94
  92. data/test/tc_msvcrt_time.rb +19 -19
  93. data/test/tc_national.rb +38 -38
  94. data/test/tc_network_management.rb +32 -32
  95. data/test/tc_network_snmp.rb +31 -31
  96. data/test/tc_network_winsock.rb +34 -34
  97. data/test/tc_nio.rb +32 -32
  98. data/test/tc_ntfs_winternl.rb +48 -48
  99. data/test/tc_path.rb +90 -90
  100. data/test/tc_pipe.rb +53 -53
  101. data/test/tc_process.rb +24 -24
  102. data/test/tc_registry.rb +29 -29
  103. data/test/tc_security.rb +104 -104
  104. data/test/tc_security_authentication.rb +34 -34
  105. data/test/tc_security_sspi.rb +23 -0
  106. data/test/tc_service.rb +57 -57
  107. data/test/tc_shell.rb +34 -34
  108. data/test/tc_socket.rb +20 -20
  109. data/test/tc_sound.rb +37 -37
  110. data/test/tc_synchronize.rb +75 -75
  111. data/test/tc_system_info.rb +33 -33
  112. data/test/tc_thread.rb +29 -29
  113. data/test/tc_time.rb +32 -32
  114. data/test/tc_tool_helper.rb +29 -29
  115. data/test/tc_unicode.rb +83 -83
  116. data/test/tc_volume.rb +47 -47
  117. data/test/tc_window.rb +45 -45
  118. data/test/tc_window_classes.rb +33 -33
  119. data/test/tc_window_dialog.rb +33 -33
  120. data/test/tc_window_menu.rb +29 -29
  121. data/test/tc_window_message.rb +33 -33
  122. data/test/tc_window_properties.rb +29 -29
  123. data/test/tc_window_timer.rb +29 -29
  124. data/test/tc_wsa.rb +19 -19
  125. data/windows-pr.gemspec +33 -34
  126. metadata +31 -32
@@ -1,19 +1,19 @@
1
- #####################################################################
2
- # tc_wsa.rb
3
- #
4
- # Test case for the Windows::WSA module.
5
- #####################################################################
6
- require 'windows/wsa'
7
- require 'test/unit'
8
-
9
- class TC_Windows_WSA < Test::Unit::TestCase
10
- include Windows::WSA
11
-
12
- def test_methods
13
- assert_respond_to(self, :WSAAccept)
14
- end
15
-
16
- def test_constants
17
- assert_equal(1, WSA_FLAG_OVERLAPPED)
18
- end
19
- end
1
+ #####################################################################
2
+ # tc_wsa.rb
3
+ #
4
+ # Test case for the Windows::WSA module.
5
+ #####################################################################
6
+ require 'windows/wsa'
7
+ require 'test/unit'
8
+
9
+ class TC_Windows_WSA < Test::Unit::TestCase
10
+ include Windows::WSA
11
+
12
+ def test_methods
13
+ assert_respond_to(self, :WSAAccept)
14
+ end
15
+
16
+ def test_constants
17
+ assert_equal(1, WSA_FLAG_OVERLAPPED)
18
+ end
19
+ end
@@ -1,34 +1,33 @@
1
- require 'rubygems'
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = 'windows-pr'
5
- spec.version = '1.2.2'
6
- spec.license = 'Artistic 2.0'
7
- spec.authors = ['Daniel J. Berger', 'Park Heesob']
8
- spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://www.rubyforge.org/projects/win32utils'
10
- spec.platform = Gem::Platform::RUBY
11
- spec.summary = 'Windows functions and constants bundled via Win32::API'
12
- spec.test_files = Dir["test/tc*"]
13
- spec.files = Dir["**/*"].reject{ |f| f.include?('git') }
14
-
15
- spec.rubyforge_project = 'win32utils'
16
-
17
- spec.extra_rdoc_files = [
18
- 'MANIFEST',
19
- 'README',
20
- 'CHANGES',
21
- 'doc/conversion_guide.txt'
22
- ]
23
-
24
- spec.add_dependency('windows-api', '>= 0.3.0')
25
- spec.add_dependency('win32-api', '>= 1.4.5')
26
-
27
- spec.description = <<-EOF
28
- The windows-pr library is a collection of Windows functions and constants
29
- pre-defined for you using the windows-api library. It also autogenerates
30
- explicit ANSI and Wide character versions of those functions, as well as
31
- constants that can be used as methods, e.g. CloseHandle() instead of
32
- CloseHandle.call().
33
- EOF
34
- end
1
+ require 'rubygems'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'windows-pr'
5
+ spec.version = '1.2.3'
6
+ spec.license = 'Artistic 2.0'
7
+ spec.authors = ['Daniel J. Berger', 'Park Heesob']
8
+ spec.email = 'djberg96@gmail.com'
9
+ spec.homepage = 'https://github.com/djberg96/windows-pr'
10
+ spec.summary = 'Windows functions and constants bundled via Win32::API'
11
+ spec.test_files = Dir["test/tc*"]
12
+ spec.files = Dir["**/*"].reject{ |f| f.include?('git') }
13
+
14
+ spec.rubyforge_project = 'win32utils'
15
+
16
+ spec.extra_rdoc_files = [
17
+ 'MANIFEST',
18
+ 'README',
19
+ 'CHANGES',
20
+ 'doc/conversion_guide.txt'
21
+ ]
22
+
23
+ spec.add_dependency('windows-api', '>= 0.4.0')
24
+ spec.add_dependency('win32-api', '>= 1.4.5')
25
+
26
+ spec.description = <<-EOF
27
+ The windows-pr library is a collection of Windows functions and constants
28
+ pre-defined for you using the windows-api library. It also autogenerates
29
+ explicit ANSI and Wide character versions of those functions, as well as
30
+ constants that can be used as methods, e.g. CloseHandle() instead of
31
+ CloseHandle.call().
32
+ EOF
33
+ end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows-pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
5
- prerelease:
4
+ version: 1.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel J. Berger
@@ -10,44 +9,42 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-07-12 00:00:00.000000000 Z
12
+ date: 2014-02-19 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: windows-api
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
- version: 0.3.0
20
+ version: 0.4.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
- version: 0.3.0
27
+ version: 0.4.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: win32-api
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: 1.4.5
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: 1.4.5
47
- description: ! " The windows-pr library is a collection of Windows functions and
48
- constants\n pre-defined for you using the windows-api library. It also autogenerates\n
49
- \ explicit ANSI and Wide character versions of those functions, as well as\n constants
50
- that can be used as methods, e.g. CloseHandle() instead of\n CloseHandle.call().\n"
42
+ description: |2
43
+ The windows-pr library is a collection of Windows functions and constants
44
+ pre-defined for you using the windows-api library. It also autogenerates
45
+ explicit ANSI and Wide character versions of those functions, as well as
46
+ constants that can be used as methods, e.g. CloseHandle() instead of
47
+ CloseHandle.call().
51
48
  email: djberg96@gmail.com
52
49
  executables: []
53
50
  extensions: []
@@ -58,12 +55,15 @@ extra_rdoc_files:
58
55
  - doc/conversion_guide.txt
59
56
  files:
60
57
  - CHANGES
58
+ - MANIFEST
59
+ - README
60
+ - Rakefile
61
61
  - doc/conversion_guide.txt
62
62
  - lib/windows/clipboard.rb
63
+ - lib/windows/com.rb
63
64
  - lib/windows/com/accessibility.rb
64
65
  - lib/windows/com/automation.rb
65
66
  - lib/windows/com/variant.rb
66
- - lib/windows/com.rb
67
67
  - lib/windows/console.rb
68
68
  - lib/windows/debug.rb
69
69
  - lib/windows/device_io.rb
@@ -71,8 +71,8 @@ files:
71
71
  - lib/windows/error.rb
72
72
  - lib/windows/eventlog.rb
73
73
  - lib/windows/file.rb
74
- - lib/windows/filesystem.rb
75
74
  - lib/windows/file_mapping.rb
75
+ - lib/windows/filesystem.rb
76
76
  - lib/windows/gdi/bitmap.rb
77
77
  - lib/windows/gdi/device_context.rb
78
78
  - lib/windows/gdi/metafile.rb
@@ -98,8 +98,9 @@ files:
98
98
  - lib/windows/pipe.rb
99
99
  - lib/windows/process.rb
100
100
  - lib/windows/registry.rb
101
- - lib/windows/security/authentication.rb
102
101
  - lib/windows/security.rb
102
+ - lib/windows/security/authentication.rb
103
+ - lib/windows/security/sspi.rb
103
104
  - lib/windows/service.rb
104
105
  - lib/windows/shell.rb
105
106
  - lib/windows/socket.rb
@@ -111,17 +112,14 @@ files:
111
112
  - lib/windows/tool_helper.rb
112
113
  - lib/windows/unicode.rb
113
114
  - lib/windows/volume.rb
115
+ - lib/windows/window.rb
114
116
  - lib/windows/window/classes.rb
115
117
  - lib/windows/window/dialog.rb
116
118
  - lib/windows/window/menu.rb
117
119
  - lib/windows/window/message.rb
118
120
  - lib/windows/window/properties.rb
119
121
  - lib/windows/window/timer.rb
120
- - lib/windows/window.rb
121
122
  - lib/windows/wsa.rb
122
- - MANIFEST
123
- - Rakefile
124
- - README
125
123
  - test/tc_clipboard.rb
126
124
  - test/tc_com.rb
127
125
  - test/tc_com_automation.rb
@@ -132,8 +130,8 @@ files:
132
130
  - test/tc_error.rb
133
131
  - test/tc_eventlog.rb
134
132
  - test/tc_file.rb
135
- - test/tc_filesystem.rb
136
133
  - test/tc_file_mapping.rb
134
+ - test/tc_filesystem.rb
137
135
  - test/tc_gdi_bitmap.rb
138
136
  - test/tc_gdi_metafile.rb
139
137
  - test/tc_handle.rb
@@ -159,6 +157,7 @@ files:
159
157
  - test/tc_registry.rb
160
158
  - test/tc_security.rb
161
159
  - test/tc_security_authentication.rb
160
+ - test/tc_security_sspi.rb
162
161
  - test/tc_service.rb
163
162
  - test/tc_shell.rb
164
163
  - test/tc_socket.rb
@@ -179,30 +178,29 @@ files:
179
178
  - test/tc_window_timer.rb
180
179
  - test/tc_wsa.rb
181
180
  - windows-pr.gemspec
182
- homepage: http://www.rubyforge.org/projects/win32utils
181
+ homepage: https://github.com/djberg96/windows-pr
183
182
  licenses:
184
183
  - Artistic 2.0
184
+ metadata: {}
185
185
  post_install_message:
186
186
  rdoc_options: []
187
187
  require_paths:
188
188
  - lib
189
189
  required_ruby_version: !ruby/object:Gem::Requirement
190
- none: false
191
190
  requirements:
192
- - - ! '>='
191
+ - - '>='
193
192
  - !ruby/object:Gem::Version
194
193
  version: '0'
195
194
  required_rubygems_version: !ruby/object:Gem::Requirement
196
- none: false
197
195
  requirements:
198
- - - ! '>='
196
+ - - '>='
199
197
  - !ruby/object:Gem::Version
200
198
  version: '0'
201
199
  requirements: []
202
200
  rubyforge_project: win32utils
203
- rubygems_version: 1.8.24
201
+ rubygems_version: 2.2.2
204
202
  signing_key:
205
- specification_version: 3
203
+ specification_version: 4
206
204
  summary: Windows functions and constants bundled via Win32::API
207
205
  test_files:
208
206
  - test/tc_clipboard.rb
@@ -242,6 +240,7 @@ test_files:
242
240
  - test/tc_registry.rb
243
241
  - test/tc_security.rb
244
242
  - test/tc_security_authentication.rb
243
+ - test/tc_security_sspi.rb
245
244
  - test/tc_service.rb
246
245
  - test/tc_shell.rb
247
246
  - test/tc_socket.rb