win32-clipboard 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.5.2 - 14-Jul-2009
2
+ * Replaced some missing include's that I thought were unnecessary. Thanks go
3
+ to Liu Song for the spot.
4
+ * Changed the license to Artistic 2.0, and set that explicitly in the gemspec.
5
+
1
6
  == 0.5.1 - 26-Apr-2009
2
7
  * Modified the Clipboard.register_format method to return the integer value
3
8
  of the registered format.
@@ -21,6 +21,8 @@ module Win32
21
21
  include Windows::Clipboard
22
22
  include Windows::Memory
23
23
  include Windows::Error
24
+ include Windows::Window::Classes
25
+ include Windows::Window::Message
24
26
 
25
27
  extend Windows::Clipboard
26
28
  extend Windows::Memory
@@ -34,7 +36,7 @@ module Win32
34
36
  extend Windows::Window::Classes
35
37
 
36
38
  # The version of this library
37
- VERSION = '0.5.1'
39
+ VERSION = '0.5.2'
38
40
 
39
41
  # Clipboard formats
40
42
 
@@ -16,7 +16,7 @@ include Win32
16
16
 
17
17
  class TC_Win32_ClipBoard < Test::Unit::TestCase
18
18
  def test_version
19
- assert_equal('0.5.1', Clipboard::VERSION)
19
+ assert_equal('0.5.2', Clipboard::VERSION)
20
20
  end
21
21
 
22
22
  def test_data
@@ -1,32 +1,30 @@
1
1
  require "rubygems"
2
2
 
3
3
  spec = Gem::Specification.new do |gem|
4
- gem.name = 'win32-clipboard'
5
- gem.version = '0.5.1'
6
- gem.authors = ['Daniel J. Berger', 'Park Heesob']
7
- gem.email = 'djberg96@gmail.com'
8
- gem.homepage = 'http://www.rubyforge.org/projects/win32utils'
9
- gem.platform = Gem::Platform::RUBY
10
- gem.summary = 'A library for interacting with the Windows clipboard'
11
- gem.test_file = 'test/test_clipboard.rb'
12
- gem.has_rdoc = true
4
+ gem.name = 'win32-clipboard'
5
+ gem.version = '0.5.2'
6
+ gem.authors = ['Daniel J. Berger', 'Park Heesob']
7
+ gem.email = 'djberg96@gmail.com'
8
+ gem.homepage = 'http://www.rubyforge.org/projects/win32utils'
9
+ gem.platform = Gem::Platform::RUBY
10
+ gem.summary = 'A library for interacting with the Windows clipboard'
11
+ gem.test_file = 'test/test_clipboard.rb'
12
+ gem.has_rdoc = true
13
+ gem.license = 'Artistic 2.0'
14
+
13
15
  gem.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
14
16
  gem.rubyforge_project = 'win32utils'
15
17
 
16
18
  gem.add_dependency('windows-pr', '>= 1.0.3')
17
19
 
18
- gem.description = "The win32-clipboard library provides an interface for
19
- interacting with the Windows clipboard. It supports the ability to read
20
- and write text, images, files, and Windows metafiles.".gsub(/\s+/, ' ')
21
-
22
- files = Dir['doc/*'] + Dir['examples/*'] + Dir['lib/win32/*']
23
- files += Dir['test/*'] + Dir['[A-Z]*']
24
- files.delete_if{ |item| item.include?('CVS') }
20
+ gem.description = <<-EOF
21
+ The win32-clipboard library provides an interface for interacting
22
+ with the Windows clipboard. It supports the ability to read and
23
+ write text, images, files, and Windows metafiles.
24
+ EOF
25
25
 
26
- gem.files = files
26
+ gem.files = Dir['**/*'].delete_if{ |item| item.include?('CVS') }
27
27
  end
28
28
 
29
- if $0 == __FILE__
30
- Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
31
- Gem::Builder.new(spec).build
32
- end
29
+ Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
30
+ Gem::Builder.new(spec).build
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-clipboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-04-26 00:00:00 -06:00
13
+ date: 2009-07-14 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -23,7 +23,7 @@ dependencies:
23
23
  - !ruby/object:Gem::Version
24
24
  version: 1.0.3
25
25
  version:
26
- description: The win32-clipboard library provides an interface for interacting with the Windows clipboard. It supports the ability to read and write text, images, files, and Windows metafiles.
26
+ description: " The win32-clipboard library provides an interface for interacting\n with the Windows clipboard. It supports the ability to read and\n write text, images, files, and Windows metafiles.\n"
27
27
  email: djberg96@gmail.com
28
28
  executables: []
29
29
 
@@ -34,18 +34,18 @@ extra_rdoc_files:
34
34
  - README
35
35
  - MANIFEST
36
36
  files:
37
+ - CHANGES
37
38
  - examples/clipboard_test.rb
38
39
  - lib/win32/clipboard.rb
39
- - test/test_clipboard.rb
40
- - CHANGES
41
40
  - MANIFEST
42
41
  - Rakefile
43
42
  - README
43
+ - test/test_clipboard.rb
44
44
  - win32-clipboard.gemspec
45
45
  has_rdoc: true
46
46
  homepage: http://www.rubyforge.org/projects/win32utils
47
- licenses: []
48
-
47
+ licenses:
48
+ - Artistic 2.0
49
49
  post_install_message:
50
50
  rdoc_options: []
51
51
 
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements: []
67
67
 
68
68
  rubyforge_project: win32utils
69
- rubygems_version: 1.3.2
69
+ rubygems_version: 1.3.4
70
70
  signing_key:
71
71
  specification_version: 3
72
72
  summary: A library for interacting with the Windows clipboard