windows-api 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 947bf71415752d4089b21d5d768bc5bcd3c11c28
4
+ data.tar.gz: efbecf8bb158ad198d531b04034d09e841b50c2c
5
+ SHA512:
6
+ metadata.gz: 5d8a0d631b46662c913a5c35f48f5de34320f534621b0ccdbf6ef1a8be32542303fc387e8c465e77ba857d67fe1df8c8ad2637a6b65e36929800e1785cd5eb44
7
+ data.tar.gz: 502dd5015dd7ff56c736d4b0ad9ba9efbe1812803628146976bed8157b8db002413c99f0baa75087e4ebe65521c1760dab1a1367c8165ee6d1e6dc34d523b1eb
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.4.3 - 20-Oct-2014
2
+ * Updates to the gemspec and Rakefile.
3
+
1
4
  == 0.4.2 - 13-Jul-2012
2
5
  * Fixed a bug in the way MSVCRT_DLL is set. Thanks go to Park Heesob for
3
6
  the spot and patch.
data/README CHANGED
@@ -87,7 +87,7 @@
87
87
  https://github.com/djberg96/windows-api.
88
88
 
89
89
  == Copyright
90
- (C) 2007-2012, Daniel J. Berger
90
+ (C) 2007-2014, Daniel J. Berger
91
91
 
92
92
  == License
93
93
  Artistic 2.0
data/Rakefile CHANGED
@@ -8,13 +8,18 @@ namespace :gem do
8
8
  desc 'Create the windows-api gem'
9
9
  task :create => [:clean] do
10
10
  spec = eval(IO.read('windows-api.gemspec'))
11
- Gem::Builder.new(spec).build
11
+ if Gem::VERSION < "2.0"
12
+ Gem::Builder.new(spec).build
13
+ else
14
+ require 'rubygems/package'
15
+ Gem::Package.build(spec)
16
+ end
12
17
  end
13
18
 
14
19
  desc 'Install the windows-api gem'
15
20
  task :install => [:create] do
16
21
  file = Dir["*.gem"].first
17
- sh "gem install #{file}"
22
+ sh "gem install -l #{file}"
18
23
  end
19
24
  end
20
25
 
data/lib/windows/api.rb CHANGED
@@ -23,7 +23,7 @@ module Windows
23
23
  extend Forwardable
24
24
 
25
25
  # The version of the windows-api library
26
- VERSION = '0.4.2'
26
+ VERSION = '0.4.3'
27
27
 
28
28
  # The methods from Win32::API are delegated to the appropriate object
29
29
  def_delegators(:@api, :function_name, :dll_name, :prototype)
@@ -57,7 +57,7 @@ class TC_Windows_API < Test::Unit::TestCase
57
57
  end
58
58
 
59
59
  def test_version
60
- assert_equal('0.4.2', API::VERSION)
60
+ assert_equal('0.4.3', API::VERSION)
61
61
  end
62
62
 
63
63
  def test_full_data_types
data/windows-api.gemspec CHANGED
@@ -2,16 +2,15 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'windows-api'
5
- spec.version = '0.4.2'
5
+ spec.version = '0.4.3'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://www.rubyforge.org/projects/win32utils'
9
+ spec.homepage = 'https://github.com/djberg96/windows-api'
10
10
  spec.summary = 'An easier way to create methods using Win32::API'
11
11
  spec.test_files = Dir['test/test*.rb']
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
 
14
- spec.rubyforge_project = 'win32utils'
15
14
  spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
15
 
17
16
  spec.add_dependency('win32-api', '>= 1.4.5')
metadata CHANGED
@@ -1,53 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
5
- prerelease:
4
+ version: 0.4.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel J. Berger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-13 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: win32-api
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.4.5
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.4.5
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: test-unit
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- description: ! " The windows-api library provides features over and above the basic\n
47
- \ interface provided by the win32-api library. Features included automatic\n constant
48
- generation, automatic defintion of ANSI and Unicode methods,\n special handling
49
- of functions that return a boolean value, and the\n ability to use native Windows
50
- type declarations.\n"
41
+ description: |2
42
+ The windows-api library provides features over and above the basic
43
+ interface provided by the win32-api library. Features included automatic
44
+ constant generation, automatic defintion of ANSI and Unicode methods,
45
+ special handling of functions that return a boolean value, and the
46
+ ability to use native Windows type declarations.
51
47
  email: djberg96@gmail.com
52
48
  executables: []
53
49
  extensions: []
@@ -57,38 +53,37 @@ extra_rdoc_files:
57
53
  - MANIFEST
58
54
  files:
59
55
  - CHANGES
60
- - lib/windows/api.rb
61
- - lib/windows/wide_string.rb
62
56
  - MANIFEST
63
- - Rakefile
64
57
  - README
58
+ - Rakefile
59
+ - lib/windows/api.rb
60
+ - lib/windows/wide_string.rb
65
61
  - test/test_wide_string.rb
66
62
  - test/test_windows_api.rb
67
63
  - windows-api.gemspec
68
- homepage: http://www.rubyforge.org/projects/win32utils
64
+ homepage: https://github.com/djberg96/windows-api
69
65
  licenses:
70
66
  - Artistic 2.0
67
+ metadata: {}
71
68
  post_install_message:
72
69
  rdoc_options: []
73
70
  require_paths:
74
71
  - lib
75
72
  required_ruby_version: !ruby/object:Gem::Requirement
76
- none: false
77
73
  requirements:
78
- - - ! '>='
74
+ - - ">="
79
75
  - !ruby/object:Gem::Version
80
76
  version: '0'
81
77
  required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
78
  requirements:
84
- - - ! '>='
79
+ - - ">="
85
80
  - !ruby/object:Gem::Version
86
81
  version: '0'
87
82
  requirements: []
88
- rubyforge_project: win32utils
89
- rubygems_version: 1.8.24
83
+ rubyforge_project:
84
+ rubygems_version: 2.2.2
90
85
  signing_key:
91
- specification_version: 3
86
+ specification_version: 4
92
87
  summary: An easier way to create methods using Win32::API
93
88
  test_files:
94
89
  - test/test_wide_string.rb