taosource 6.2.0 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4eac756fec2691225bad8ef77f3a1da14f5355a
4
- data.tar.gz: 95ae4f5dbd2dea21a2d03c46e45231ec46c7c151
3
+ metadata.gz: 202edd0ba091f1add42486f5ca908eae6127161d
4
+ data.tar.gz: 3cce852fbee1cbc7221eef245ed620bf5aba52ce
5
5
  SHA512:
6
- metadata.gz: 6754e564da3d26e8b94aca5c61ce1661cbb2281c7cc680493cdc014644dbdd477bdef55bce59142855b17f3e4126f859dd3357ae019af37b26a15509ec962aa3
7
- data.tar.gz: 1909a031a875e4ec92bac104e568b0533eb7097951550203272ee1635c94ddfb400d98ed17542dc54ccdcc5484d0f34da6943d8188f94ff774929cde0cc50b19
6
+ metadata.gz: 19c25d8495c6a8c7ffbfaa53955fff900e360cb78bea5922224cf4adf5287f2bc2c403c62cb4321b6ca947dcb303aa64be0b1de144331bfa4ff841dee5b66a4d
7
+ data.tar.gz: 0112fddd49b0d78b80f7d935b48695809ad52598bc4d4ff21feb084b3de2ea2eb1863046c63e70d3262e1a3fced6340745d0c53eb4ab9b7f27c6d63c08102ad5
@@ -0,0 +1,4 @@
1
+
2
+ module TAOGem
3
+ VERSION = '6.3.1'
4
+ end
data/mkrf_conf_taogem.rb CHANGED
@@ -47,26 +47,27 @@ begin
47
47
  Zlib::GzipReader.wrap io do |gzio|
48
48
  tar = Gem::Package::TarReader.new gzio
49
49
  tar.each do |entry|
50
+ if entry.file?
51
+ raise "Failed to extract #{src_pkg}: invalid source path #{entry.full_name}" if entry.full_name.start_with? '/'
50
52
 
51
- raise "Failed to extract #{src_pkg}: invalid source path #{entry.full_name}" if entry.full_name.start_with? '/'
53
+ destination = File.join src_root, entry.full_name
54
+ destination = File.expand_path destination
52
55
 
53
- destination = File.join src_root, entry.full_name
54
- destination = File.expand_path destination
56
+ raise "Failed to extract #{src_pkg}: invalid destination path #{destination}" unless destination.start_with? src_root
55
57
 
56
- raise "Failed to extract #{src_pkg}: invalid destination path #{destination}" unless destination.start_with? src_root
58
+ destination.untaint
57
59
 
58
- destination.untaint
60
+ FileUtils.rm_rf destination
59
61
 
60
- FileUtils.rm_rf destination
62
+ FileUtils.mkdir_p File.dirname destination
61
63
 
62
- FileUtils.mkdir_p File.dirname destination
64
+ open destination, 'wb', entry.header.mode do |out|
65
+ out.write entry.read
66
+ out.fsync rescue nil # for filesystems without fsync(2)
67
+ end
63
68
 
64
- open destination, 'wb', entry.header.mode do |out|
65
- out.write entry.read
66
- out.fsync rescue nil # for filesystems without fsync(2)
69
+ puts destination
67
70
  end
68
-
69
- puts destination
70
71
  end
71
72
  end
72
73
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taosource
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 6.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-09 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: TAO sourcecode for building R2CORBA.
14
14
  email: mcorino@remedy.nl
@@ -18,8 +18,9 @@ extensions:
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - lib/taosource/rootpaths.rb
21
- - src/ACE+TAO-src-6.2.0.tar.gz
21
+ - lib/taosource/version.rb
22
22
  - mkrf_conf_taogem.rb
23
+ - src/ACE+TAO-src-6.3.1.tar.gz
23
24
  homepage: https://osportal.remedy.nl/projects/r2corba
24
25
  licenses:
25
26
  - ACE
@@ -30,17 +31,17 @@ require_paths:
30
31
  - lib
31
32
  required_ruby_version: !ruby/object:Gem::Requirement
32
33
  requirements:
33
- - - '>='
34
+ - - ">="
34
35
  - !ruby/object:Gem::Version
35
36
  version: 1.8.6
36
37
  required_rubygems_version: !ruby/object:Gem::Requirement
37
38
  requirements:
38
- - - '>='
39
+ - - ">="
39
40
  - !ruby/object:Gem::Version
40
41
  version: '0'
41
42
  requirements: []
42
43
  rubyforge_project:
43
- rubygems_version: 2.0.3
44
+ rubygems_version: 2.4.5
44
45
  signing_key:
45
46
  specification_version: 4
46
47
  summary: TAO sourcecode for building R2CORBA