Mxx_ru 1.6.14.4 → 1.6.14.5

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
- SHA1:
3
- metadata.gz: 51b7fa56ba4db7adbbd32d34f3c3617414125678
4
- data.tar.gz: a5a85fcef9c5bb7ca0373c18729ae8b22000bfbc
2
+ SHA256:
3
+ metadata.gz: 43b6cd4bb348294579aa1f5e4fba3becec17c4e6f6760f675f73e8f32cb85b50
4
+ data.tar.gz: 9fa7879e08dcef3ee05c90b698fb46ecb535cbef66cc4bb456b2ef225e31912c
5
5
  SHA512:
6
- metadata.gz: 325560369c83869952fce27aa21fbd26b0254286d3b7bbe0faf6c2b03b24d33adf2fb053df7f1f64c4370ac37b10769f504201af7cdf7fb70ed0ff9c04b0d3f7
7
- data.tar.gz: 487e2b5860352ce831721b0f4819cb5ca1733728dd2a073816bceb30ca44f904eb5b8f57cecbe31b975976a222e1995143240d93a7c701417e3f1ab603a23ae3
6
+ metadata.gz: cda0476a5c678b366cce24466aa7219860688d28b9c812ac70e0d0e609913129f168ca92c811eb8e0bb0baaa4dd8261608b57c30633922147238d12c2c049b42
7
+ data.tar.gz: 02cc3d22f7997f3d5a22cc766f3efb9ac73d7d8727db87fa29c8b666ff7400877bf4513515e3726b82c046f433a04e1be1c4ab44776bc27403b9254396592598
data/COPYING CHANGED
@@ -1,6 +1,6 @@
1
1
  Copyright (c) 1996-2004, Yauheni Akhotnikau
2
2
  Copyright (c) 2004-2006, JSC Intervale
3
- Copyright (c) 2006-2016, The Mxx_ru Project
3
+ Copyright (c) 2006-2018, The Mxx_ru Project
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2015, The Mxx_ru Project
4
+ # Copyright (c) 2006-2018, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -27,6 +27,7 @@
27
27
  #++
28
28
 
29
29
  require 'singleton'
30
+ require 'pathname'
30
31
 
31
32
  module MxxRu
32
33
  module Cpp
@@ -183,7 +184,6 @@ module MxxRu
183
184
  # [_a_file_name_] File name.
184
185
  # [_a_owner_obj_] File object contained include directive.
185
186
  def process_std_include_path_file( a_file_name, a_owner_obj )
186
-
187
187
  @include_paths.find { |path|
188
188
  test_name = File.join( [ path, a_file_name ] )
189
189
  if File.exists?( test_name )
@@ -204,7 +204,12 @@ module MxxRu
204
204
  a_local_path,
205
205
  a_owner_obj )
206
206
 
207
- test_name = File.join( [ a_local_path, a_file_name ] )
207
+ test_name = # This trick is necessary to handle relative includes
208
+ # like ../details/some_header.h.
209
+ # Without calling cleanpath there could be created many
210
+ # names in form local/path/details/../details/../details
211
+ Pathname.new(
212
+ File.join( a_local_path, a_file_name ) ).cleanpath
208
213
  if File.exists?( test_name )
209
214
  add_depend_to( a_owner_obj, test_name )
210
215
  else
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2017, The Mxx_ru Project
4
+ # Copyright (c) 2006-2018, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -34,4 +34,4 @@
34
34
  #
35
35
  # puts 'Mxx_ru version is: ' + MXX_RU_VERSION
36
36
  #
37
- MXX_RU_VERSION = '1.6.14.4'
37
+ MXX_RU_VERSION = '1.6.14.5'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Mxx_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.14.4
4
+ version: 1.6.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Mxx_ru Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Mxx_ru is a cross-platform build tool primarily focused to C/C++ projects
14
14
  email: eao197@yahoo.com
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
397
397
  version: '0'
398
398
  requirements: []
399
399
  rubyforge_project:
400
- rubygems_version: 2.6.13
400
+ rubygems_version: 2.7.6
401
401
  signing_key:
402
402
  specification_version: 4
403
403
  summary: Mxx_ru (Make++ on Ruby) is a cross-platform build tool