win_gui 0.2.20 → 0.2.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY +4 -0
  2. data/VERSION +1 -1
  3. data/lib/win_gui.rb +6 -24
  4. metadata +16 -5
data/HISTORY CHANGED
@@ -85,3 +85,7 @@
85
85
  == 0.2.20 / 2011-03-14
86
86
 
87
87
  * Win dependency updated
88
+
89
+ == 0.2.21 / 2011-11-11
90
+
91
+ * Bump win gem dependency
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.20
1
+ 0.2.21
data/lib/win_gui.rb CHANGED
@@ -3,30 +3,12 @@ require 'extension'
3
3
  require 'timeout'
4
4
 
5
5
  module WinGui
6
-
7
- # require "bundler"
8
- # Bundler.setup
9
-
10
- # Requires ruby source file(s). Accepts either single filename/glob or Array of filenames/globs.
11
- # Accepts following options:
12
- # :*file*:: Lib(s) required relative to this file - defaults to __FILE__
13
- # :*dir*:: Required lib(s) located under this dir name - defaults to gem name
14
- #
15
- def self.require_libs( libs, opts={} )
16
- file = Pathname.new(opts[:file] || __FILE__)
17
- [libs].flatten.each do |lib|
18
- name = file.dirname + (opts[:dir] || file.basename('.*')) + lib.gsub(/(?<!.rb)$/, '.rb')
19
- Pathname.glob(name.to_s).sort.each {|rb| require rb}
20
- end
21
- end
22
-
23
- module Errors # :nodoc:
24
- class InitError < RuntimeError # :nodoc:
6
+ module Errors # :nodoc:
7
+ class InitError < RuntimeError # :nodoc:
25
8
  end
26
9
  end
27
- end # module WinGui
28
-
29
- # Require all ruby source files located under directory lib/win_gui
30
- # If you need files in specific order, you should specify it here before the glob
31
- WinGui.require_libs %W[**/*]
10
+ end # module WinGui
32
11
 
12
+ require 'win_gui/convenience'
13
+ require 'win_gui/window'
14
+ require 'win_gui/app'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: win_gui
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.20
5
+ version: 0.2.21
6
6
  platform: ruby
7
7
  authors:
8
8
  - arvicco
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-14 00:00:00 +03:00
13
+ date: 2011-11-11 00:00:00 +03:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -36,16 +36,27 @@ dependencies:
36
36
  type: :development
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
39
- name: win
39
+ name: bundler
40
40
  prerelease: false
41
41
  requirement: &id003 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.3.26
46
+ version: 1.0.13
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: win
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 0.3.27
58
+ type: :runtime
59
+ version_requirements: *id004
49
60
  description: Work with Windows GUI in an object-oriented way. Abstractions/wrappers around GUI-related Win32 API functions
50
61
  email: arvitallian@gmail.com
51
62
  executables: []
@@ -112,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
123
  requirements: []
113
124
 
114
125
  rubyforge_project:
115
- rubygems_version: 1.5.0
126
+ rubygems_version: 1.6.2
116
127
  signing_key:
117
128
  specification_version: 3
118
129
  summary: Work with Windows GUI in an object-oriented way