ruby-ole 1.2.11.7 → 1.2.11.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c571995eef82c6053c923aa5227d1b87dc75cbbc
4
+ data.tar.gz: 4c928c7c0e3f666810155b02ef60fd2c098180a8
5
+ SHA512:
6
+ metadata.gz: de60921dd0436b97a424610200be163405242c92787cd2a6ceaf2be7d7194b8ff4baf20e2f6358ea99795bfcec7a627107df9afe9b06038d069de6d0c5447dd2
7
+ data.tar.gz: 6940ff43938bed36de527289c3f735a87a32ff61afefe3277d4087e4e79911e370956b15f5c264d72c2d77e351a829cf443711d7575cbcdeaae72a8b968191d6
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.2.11.8 / 2014-12-30
2
+
3
+ - Fix duplicate key warning (github #15 and googlecode #12).
4
+
1
5
  == 1.2.11.7 / 2013-06-24
2
6
 
3
7
  - Various encoding fixes to make tests pass on current rubies.
data/Rakefile CHANGED
@@ -15,17 +15,14 @@ Rake::TestTask.new do |t|
15
15
  end
16
16
 
17
17
  begin
18
- require 'rcov/rcovtask'
19
- # NOTE: this will not do anything until you add some tests
20
- desc "Create a cross-referenced code coverage report"
21
- Rcov::RcovTask.new do |t|
22
- t.test_files = FileList['test/test*.rb']
23
- t.ruby_opts << "-Ilib" # in order to use this rcov
24
- t.rcov_opts << "--xrefs" # comment to disable cross-references
18
+ Rake::TestTask.new(:coverage) do |t|
19
+ t.test_files = FileList["test/test_*.rb"]
20
+ t.warning = true
25
21
  t.verbose = true
22
+ t.ruby_opts = ['-rsimplecov -e "SimpleCov.start; load(ARGV.shift)"']
26
23
  end
27
24
  rescue LoadError
28
- # Rcov not available
25
+ # SimpleCov not available
29
26
  end
30
27
 
31
28
  begin
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Ole # :nodoc:
4
4
  class Storage
5
- VERSION = '1.2.11.7'
5
+ VERSION = '1.2.11.8'
6
6
  end
7
7
  end
8
8
 
@@ -263,7 +263,6 @@ module Ole # :nodoc:
263
263
  0x0047 => 'VT_CF',
264
264
  0x0048 => 'VT_CLSID',
265
265
  0x0fff => 'VT_ILLEGALMASKED',
266
- 0x0fff => 'VT_TYPEMASK',
267
266
  0x1000 => 'VT_VECTOR',
268
267
  0x2000 => 'VT_ARRAY',
269
268
  0x4000 => 'VT_BYREF',
@@ -282,6 +281,10 @@ module Ole # :nodoc:
282
281
 
283
282
  module Constants
284
283
  NAMES.each { |num, name| const_set name, num }
284
+ # VT_TYPEMASK has the same value as VT_ILLEGALMASKED. Keep the latter in the
285
+ # NAMES hash so that it will be used when mapping a concrete type to display
286
+ # string, but still define this constant here for other uses
287
+ VT_TYPEMASK = 0x0fff
285
288
  end
286
289
 
287
290
  def self.load type, str
metadata CHANGED
@@ -1,112 +1,91 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-ole
3
- version: !ruby/object:Gem::Version
4
- hash: 109
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 2
9
- - 11
10
- - 7
11
- version: 1.2.11.7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.11.8
12
5
  platform: ruby
13
- authors:
6
+ authors:
14
7
  - Charles Lowe
15
8
  autorequire:
16
9
  bindir: bin
17
10
  cert_chain: []
18
-
19
- date: 2013-06-24 00:00:00 +10:00
20
- default_executable:
11
+ date: 2014-12-30 00:00:00.000000000 Z
21
12
  dependencies: []
22
-
23
13
  description: A library for easy read/write access to OLE compound documents for Ruby.
24
14
  email: aquasync@gmail.com
25
- executables:
15
+ executables:
26
16
  - oletool
27
17
  extensions: []
28
-
29
- extra_rdoc_files:
18
+ extra_rdoc_files:
30
19
  - README
31
20
  - ChangeLog
32
- files:
21
+ files:
33
22
  - README
34
23
  - COPYING
35
24
  - Rakefile
36
25
  - ChangeLog
37
26
  - ruby-ole.gemspec
38
27
  - bin/oletool
39
- - lib/ole/storage.rb
40
- - lib/ole/storage/file_system.rb
41
- - lib/ole/storage/base.rb
42
- - lib/ole/storage/meta_data.rb
43
- - lib/ole/storage/version.rb
44
- - lib/ole/types/property_set.rb
28
+ - lib/ole/base.rb
29
+ - lib/ole/ranges_io.rb
45
30
  - lib/ole/types/base.rb
31
+ - lib/ole/types/property_set.rb
46
32
  - lib/ole/types.rb
47
33
  - lib/ole/support.rb
34
+ - lib/ole/storage/version.rb
35
+ - lib/ole/storage/base.rb
36
+ - lib/ole/storage/file_system.rb
37
+ - lib/ole/storage/meta_data.rb
38
+ - lib/ole/storage.rb
48
39
  - lib/ole/file_system.rb
49
- - lib/ole/base.rb
50
- - lib/ole/ranges_io.rb
51
- - test/test_property_set.rb
40
+ - test/test_ranges_io.rb
52
41
  - test/test_storage.rb
53
- - test/test_mbat.rb
42
+ - test/test_filesystem.rb
54
43
  - test/test_meta_data.rb
55
- - test/test_support.rb
44
+ - test/test_property_set.rb
45
+ - test/test_mbat.rb
56
46
  - test/test_types.rb
57
- - test/test_ranges_io.rb
58
- - test/test_filesystem.rb
59
- - test/test_word_6.doc
47
+ - test/test_support.rb
60
48
  - test/test_word_95.doc
61
49
  - test/test.doc
50
+ - test/test_word_6.doc
62
51
  - test/test_word_97.doc
63
52
  - test/oleWithDirs.ole
64
53
  - test/test_SummaryInformation
65
- has_rdoc: true
66
54
  homepage: http://code.google.com/p/ruby-ole
67
55
  licenses: []
68
-
56
+ metadata: {}
69
57
  post_install_message:
70
- rdoc_options:
58
+ rdoc_options:
71
59
  - --main
72
60
  - README
73
61
  - --title
74
62
  - ruby-ole documentation
75
63
  - --tab-width
76
- - "2"
77
- require_paths:
64
+ - '2'
65
+ require_paths:
78
66
  - lib
79
- required_ruby_version: !ruby/object:Gem::Requirement
80
- none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
88
- required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 3
94
- segments:
95
- - 0
96
- version: "0"
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
97
77
  requirements: []
98
-
99
78
  rubyforge_project: ruby-ole
100
- rubygems_version: 1.3.7
79
+ rubygems_version: 2.0.14
101
80
  signing_key:
102
- specification_version: 3
81
+ specification_version: 4
103
82
  summary: Ruby OLE library.
104
- test_files:
105
- - test/test_property_set.rb
83
+ test_files:
84
+ - test/test_ranges_io.rb
106
85
  - test/test_storage.rb
107
- - test/test_mbat.rb
86
+ - test/test_filesystem.rb
108
87
  - test/test_meta_data.rb
109
- - test/test_support.rb
88
+ - test/test_property_set.rb
89
+ - test/test_mbat.rb
110
90
  - test/test_types.rb
111
- - test/test_ranges_io.rb
112
- - test/test_filesystem.rb
91
+ - test/test_support.rb