daedalus-core 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daedalus/dependency_grapher.rb +16 -14
- data/lib/daedalus/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9fb9aedfd46997dffea225f86e7d01a57a80d14
|
4
|
+
data.tar.gz: cf5164dc1ec954d9ac2606730e8cc4bcff027e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58c034b22f6ddd91e56b2af56ed804807fe5c2f6b892de09660fd33a61abecc7aaea412abdff7d529e4ded1d1a1988f3432912a60f904d65d2a84450b5a48c67
|
7
|
+
data.tar.gz: 521380e15f3bdbb28a54f6e2ca453d08a32cde03d7597a6348f61507241f2f75600ce8fdff1fddbcd5352bad643a4fe8740f705391b3221118794b4cb68dc422
|
@@ -292,6 +292,7 @@ class DependencyGrapher
|
|
292
292
|
class Define < Node
|
293
293
|
def initialize(macro, parser)
|
294
294
|
super parser
|
295
|
+
|
295
296
|
macro.strip!
|
296
297
|
if index = macro.index(" ")
|
297
298
|
@name = macro[0..index-1]
|
@@ -428,22 +429,23 @@ class DependencyGrapher
|
|
428
429
|
def parse(lines)
|
429
430
|
@line = 0
|
430
431
|
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
432
|
+
re = /^\s*#(include|ifdef|ifndef|endif|else|define|undef|if|elif)(.*)$/o
|
433
|
+
full_line = ""
|
434
|
+
|
435
|
+
lines.each do |line|
|
436
|
+
@line += 1
|
437
|
+
|
438
|
+
full_line.chomp!
|
439
|
+
|
440
|
+
if line[-2] == ?\\
|
441
|
+
full_line += line.chomp("\\\n") + "\n"
|
442
|
+
next
|
443
|
+
else
|
444
|
+
full_line += line
|
444
445
|
end
|
445
446
|
|
446
|
-
m =
|
447
|
+
m = full_line.match re
|
448
|
+
full_line = ""
|
447
449
|
|
448
450
|
send :"process_#{m[1]}", m[2] if m
|
449
451
|
end
|
data/lib/daedalus/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daedalus-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
type: :development
|
15
|
-
name: rake
|
16
14
|
version_requirements: !ruby/object:Gem::Requirement
|
17
15
|
requirements:
|
18
16
|
- - "~>"
|
19
17
|
- !ruby/object:Gem::Version
|
20
18
|
version: '0.9'
|
19
|
+
name: rake
|
21
20
|
prerelease: false
|
22
21
|
requirement: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: '0.9'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
26
|
type: :development
|
29
|
-
|
27
|
+
- !ruby/object:Gem::Dependency
|
30
28
|
version_requirements: !ruby/object:Gem::Requirement
|
31
29
|
requirements:
|
32
30
|
- - "~>"
|
33
31
|
- !ruby/object:Gem::Version
|
34
32
|
version: '2.8'
|
33
|
+
name: rspec
|
35
34
|
prerelease: false
|
36
35
|
requirement: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
39
|
version: '2.8'
|
40
|
+
type: :development
|
41
41
|
description: |
|
42
42
|
Daedalus is a build system based on years of attempting to build Rubinus with a collection of Rake tasks. Rubinius is a complex system. It has dependencies on external C libraries (some of which are vendored), internal C/C++ libraries, Ruby C-extensions, and compiled Ruby code. The Rubinius bytecode compiler is written in Ruby, so we have to bootstrap compiling it.
|
43
43
|
|
@@ -82,10 +82,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.4.
|
85
|
+
rubygems_version: 2.4.6
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Daedalus is a build system extracted from Rubinius. Almost no functionality
|
89
89
|
has been implemented. This is very alpha.
|
90
90
|
test_files: []
|
91
|
-
has_rdoc: true
|