win 0.1.27 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -5
- data/.gitignore +21 -21
- data/LICENSE +20 -20
- data/README.rdoc +175 -175
- data/Rakefile +58 -58
- data/VERSION +1 -1
- data/features/support/env.rb +4 -4
- data/features/win.feature +9 -9
- data/lib/win/dde.rb +1234 -1234
- data/lib/win/error.rb +1223 -1223
- data/lib/win/extensions.rb +41 -41
- data/lib/win/gui.rb +16 -16
- data/lib/win/gui/dialog.rb +50 -50
- data/lib/win/gui/input.rb +319 -319
- data/lib/win/gui/message.rb +807 -807
- data/lib/win/gui/window.rb +679 -679
- data/lib/win/library.rb +463 -463
- data/spec/spec.opts +2 -2
- data/spec/spec_helper.rb +140 -135
- data/spec/test_apps/locknote/LockNote.exe +0 -0
- data/spec/win/dde_spec.rb +528 -528
- data/spec/win/error_spec.rb +112 -112
- data/spec/win/extensions_spec.rb +73 -73
- data/spec/win/gui/dialog_spec.rb +43 -43
- data/spec/win/gui/input_spec.rb +101 -101
- data/spec/win/gui/message_spec.rb +236 -236
- data/spec/win/gui/window_spec.rb +549 -548
- data/spec/win/library_spec.rb +341 -341
- data/win.gemspec +87 -87
- metadata +34 -17
data/win.gemspec
CHANGED
@@ -1,87 +1,87 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{win}
|
8
|
-
s.version = "0.1
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["arvicco"]
|
12
|
-
s.date = %q{2010-
|
13
|
-
s.description = %q{Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI }
|
14
|
-
s.email = %q{arvitallian@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"LICENSE",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"features/step_definitions/win_steps.rb",
|
27
|
-
"features/support/env.rb",
|
28
|
-
"features/win.feature",
|
29
|
-
"lib/win/dde.rb",
|
30
|
-
"lib/win/error.rb",
|
31
|
-
"lib/win/extensions.rb",
|
32
|
-
"lib/win/gui.rb",
|
33
|
-
"lib/win/gui/dialog.rb",
|
34
|
-
"lib/win/gui/input.rb",
|
35
|
-
"lib/win/gui/message.rb",
|
36
|
-
"lib/win/gui/window.rb",
|
37
|
-
"lib/win/library.rb",
|
38
|
-
"spec/spec.opts",
|
39
|
-
"spec/spec_helper.rb",
|
40
|
-
"spec/test_apps/locknote/LockNote.exe",
|
41
|
-
"spec/win/dde_spec.rb",
|
42
|
-
"spec/win/error_spec.rb",
|
43
|
-
"spec/win/extensions_spec.rb",
|
44
|
-
"spec/win/gui/dialog_spec.rb",
|
45
|
-
"spec/win/gui/input_spec.rb",
|
46
|
-
"spec/win/gui/message_spec.rb",
|
47
|
-
"spec/win/gui/window_spec.rb",
|
48
|
-
"spec/win/library_spec.rb",
|
49
|
-
"win.gemspec"
|
50
|
-
]
|
51
|
-
s.homepage = %q{http://github.com/arvicco/win}
|
52
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
53
|
-
s.require_paths = ["lib"]
|
54
|
-
s.rubygems_version = %q{1.3.
|
55
|
-
s.summary = %q{Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI}
|
56
|
-
s.test_files = [
|
57
|
-
"spec/spec_helper.rb",
|
58
|
-
"spec/win/dde_spec.rb",
|
59
|
-
"spec/win/error_spec.rb",
|
60
|
-
"spec/win/extensions_spec.rb",
|
61
|
-
"spec/win/gui/dialog_spec.rb",
|
62
|
-
"spec/win/gui/input_spec.rb",
|
63
|
-
"spec/win/gui/message_spec.rb",
|
64
|
-
"spec/win/gui/window_spec.rb",
|
65
|
-
"spec/win/library_spec.rb"
|
66
|
-
]
|
67
|
-
|
68
|
-
if s.respond_to? :specification_version then
|
69
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
70
|
-
s.specification_version = 3
|
71
|
-
|
72
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
73
|
-
s.add_runtime_dependency(%q<ffi>, [">= 0.6.0"])
|
74
|
-
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
75
|
-
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
76
|
-
else
|
77
|
-
s.add_dependency(%q<ffi>, [">= 0.6.0"])
|
78
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
79
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
80
|
-
end
|
81
|
-
else
|
82
|
-
s.add_dependency(%q<ffi>, [">= 0.6.0"])
|
83
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
84
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{win}
|
8
|
+
s.version = "0.3.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["arvicco"]
|
12
|
+
s.date = %q{2010-04-06}
|
13
|
+
s.description = %q{Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI }
|
14
|
+
s.email = %q{arvitallian@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"features/step_definitions/win_steps.rb",
|
27
|
+
"features/support/env.rb",
|
28
|
+
"features/win.feature",
|
29
|
+
"lib/win/dde.rb",
|
30
|
+
"lib/win/error.rb",
|
31
|
+
"lib/win/extensions.rb",
|
32
|
+
"lib/win/gui.rb",
|
33
|
+
"lib/win/gui/dialog.rb",
|
34
|
+
"lib/win/gui/input.rb",
|
35
|
+
"lib/win/gui/message.rb",
|
36
|
+
"lib/win/gui/window.rb",
|
37
|
+
"lib/win/library.rb",
|
38
|
+
"spec/spec.opts",
|
39
|
+
"spec/spec_helper.rb",
|
40
|
+
"spec/test_apps/locknote/LockNote.exe",
|
41
|
+
"spec/win/dde_spec.rb",
|
42
|
+
"spec/win/error_spec.rb",
|
43
|
+
"spec/win/extensions_spec.rb",
|
44
|
+
"spec/win/gui/dialog_spec.rb",
|
45
|
+
"spec/win/gui/input_spec.rb",
|
46
|
+
"spec/win/gui/message_spec.rb",
|
47
|
+
"spec/win/gui/window_spec.rb",
|
48
|
+
"spec/win/library_spec.rb",
|
49
|
+
"win.gemspec"
|
50
|
+
]
|
51
|
+
s.homepage = %q{http://github.com/arvicco/win}
|
52
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
53
|
+
s.require_paths = ["lib"]
|
54
|
+
s.rubygems_version = %q{1.3.6}
|
55
|
+
s.summary = %q{Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI}
|
56
|
+
s.test_files = [
|
57
|
+
"spec/spec_helper.rb",
|
58
|
+
"spec/win/dde_spec.rb",
|
59
|
+
"spec/win/error_spec.rb",
|
60
|
+
"spec/win/extensions_spec.rb",
|
61
|
+
"spec/win/gui/dialog_spec.rb",
|
62
|
+
"spec/win/gui/input_spec.rb",
|
63
|
+
"spec/win/gui/message_spec.rb",
|
64
|
+
"spec/win/gui/window_spec.rb",
|
65
|
+
"spec/win/library_spec.rb"
|
66
|
+
]
|
67
|
+
|
68
|
+
if s.respond_to? :specification_version then
|
69
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
70
|
+
s.specification_version = 3
|
71
|
+
|
72
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
73
|
+
s.add_runtime_dependency(%q<ffi>, [">= 0.6.0"])
|
74
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
75
|
+
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
76
|
+
else
|
77
|
+
s.add_dependency(%q<ffi>, [">= 0.6.0"])
|
78
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
79
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
80
|
+
end
|
81
|
+
else
|
82
|
+
s.add_dependency(%q<ffi>, [">= 0.6.0"])
|
83
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
84
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 1
|
9
|
+
version: 0.3.1
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- arvicco
|
@@ -9,39 +14,49 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-04-06 00:00:00 +04:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: ffi
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 6
|
30
|
+
- 0
|
23
31
|
version: 0.6.0
|
24
|
-
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: rspec
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 1
|
43
|
+
- 2
|
44
|
+
- 9
|
33
45
|
version: 1.2.9
|
34
|
-
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
35
48
|
- !ruby/object:Gem::Dependency
|
36
49
|
name: cucumber
|
37
|
-
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
52
|
requirements:
|
41
53
|
- - ">="
|
42
54
|
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
43
57
|
version: "0"
|
44
|
-
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id003
|
45
60
|
description: "Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI "
|
46
61
|
email: arvitallian@gmail.com
|
47
62
|
executables: []
|
@@ -95,18 +110,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
110
|
requirements:
|
96
111
|
- - ">="
|
97
112
|
- !ruby/object:Gem::Version
|
113
|
+
segments:
|
114
|
+
- 0
|
98
115
|
version: "0"
|
99
|
-
version:
|
100
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
117
|
requirements:
|
102
118
|
- - ">="
|
103
119
|
- !ruby/object:Gem::Version
|
120
|
+
segments:
|
121
|
+
- 0
|
104
122
|
version: "0"
|
105
|
-
version:
|
106
123
|
requirements: []
|
107
124
|
|
108
125
|
rubyforge_project:
|
109
|
-
rubygems_version: 1.3.
|
126
|
+
rubygems_version: 1.3.6
|
110
127
|
signing_key:
|
111
128
|
specification_version: 3
|
112
129
|
summary: Rubyesque interfaces and wrappers for Windows API functions pre-defined using FFI
|