autobuild 1.17.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +107 -0
  3. data/.travis.yml +3 -2
  4. data/Gemfile +2 -1
  5. data/Rakefile +1 -4
  6. data/autobuild.gemspec +18 -13
  7. data/bin/autobuild +4 -3
  8. data/lib/autobuild.rb +4 -5
  9. data/lib/autobuild/build_logfile.rb +6 -4
  10. data/lib/autobuild/config.rb +104 -41
  11. data/lib/autobuild/configurable.rb +32 -18
  12. data/lib/autobuild/environment.rb +126 -120
  13. data/lib/autobuild/exceptions.rb +48 -31
  14. data/lib/autobuild/import/archive.rb +134 -82
  15. data/lib/autobuild/import/cvs.rb +28 -24
  16. data/lib/autobuild/import/darcs.rb +13 -16
  17. data/lib/autobuild/import/git-lfs.rb +37 -30
  18. data/lib/autobuild/import/git.rb +246 -182
  19. data/lib/autobuild/import/hg.rb +23 -18
  20. data/lib/autobuild/import/svn.rb +48 -29
  21. data/lib/autobuild/importer.rb +534 -499
  22. data/lib/autobuild/mail_reporter.rb +77 -77
  23. data/lib/autobuild/package.rb +200 -122
  24. data/lib/autobuild/packages/autotools.rb +47 -42
  25. data/lib/autobuild/packages/cmake.rb +77 -65
  26. data/lib/autobuild/packages/dummy.rb +9 -8
  27. data/lib/autobuild/packages/genom.rb +1 -1
  28. data/lib/autobuild/packages/gnumake.rb +74 -31
  29. data/lib/autobuild/packages/import.rb +2 -6
  30. data/lib/autobuild/packages/orogen.rb +32 -31
  31. data/lib/autobuild/packages/pkgconfig.rb +2 -2
  32. data/lib/autobuild/packages/python.rb +12 -8
  33. data/lib/autobuild/packages/ruby.rb +22 -17
  34. data/lib/autobuild/parallel.rb +50 -46
  35. data/lib/autobuild/pkgconfig.rb +25 -13
  36. data/lib/autobuild/progress_display.rb +149 -64
  37. data/lib/autobuild/rake_task_extension.rb +12 -7
  38. data/lib/autobuild/reporting.rb +51 -26
  39. data/lib/autobuild/subcommand.rb +72 -65
  40. data/lib/autobuild/test.rb +9 -7
  41. data/lib/autobuild/test_utility.rb +12 -10
  42. data/lib/autobuild/timestamps.rb +28 -23
  43. data/lib/autobuild/tools.rb +17 -16
  44. data/lib/autobuild/utility.rb +67 -23
  45. data/lib/autobuild/version.rb +1 -1
  46. metadata +53 -37
metadata CHANGED
@@ -1,117 +1,133 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-18 00:00:00.000000000 Z
11
+ date: 2020-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake
14
+ name: concurrent-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '12.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 12.3.0
19
+ version: '1.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '12.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 12.3.0
26
+ version: '1.1'
33
27
  - !ruby/object:Gem::Dependency
34
- name: utilrb
28
+ name: pastel
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '3.0'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: '3.0'
33
+ version: 0.7.0
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
- version: '3.0'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: '3.0'
40
+ version: 0.7.0
53
41
  - !ruby/object:Gem::Dependency
54
- name: tty-prompt
42
+ name: rake
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
45
  - - "~>"
58
46
  - !ruby/object:Gem::Version
59
- version: 0.15.0
47
+ version: '13.0'
60
48
  type: :runtime
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
51
  requirements:
64
52
  - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: 0.15.0
54
+ version: '13.0'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: tty-cursor
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: 0.5.0
61
+ version: 0.7.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.7.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: tty-prompt
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.21.0
74
76
  type: :runtime
75
77
  prerelease: false
76
78
  version_requirements: !ruby/object:Gem::Requirement
77
79
  requirements:
78
80
  - - "~>"
79
81
  - !ruby/object:Gem::Version
80
- version: 0.5.0
82
+ version: 0.21.0
81
83
  - !ruby/object:Gem::Dependency
82
84
  name: tty-screen
83
85
  requirement: !ruby/object:Gem::Requirement
84
86
  requirements:
85
87
  - - "~>"
86
88
  - !ruby/object:Gem::Version
87
- version: 0.6.4
89
+ version: 0.8.0
88
90
  type: :runtime
89
91
  prerelease: false
90
92
  version_requirements: !ruby/object:Gem::Requirement
91
93
  requirements:
92
94
  - - "~>"
93
95
  - !ruby/object:Gem::Version
94
- version: 0.6.4
96
+ version: 0.8.0
95
97
  - !ruby/object:Gem::Dependency
96
- name: pastel
98
+ name: utilrb
97
99
  requirement: !ruby/object:Gem::Requirement
98
100
  requirements:
99
101
  - - "~>"
100
102
  - !ruby/object:Gem::Version
101
- version: 0.7.0
103
+ version: '3.0'
102
104
  - - ">="
103
105
  - !ruby/object:Gem::Version
104
- version: 0.7.0
106
+ version: '3.0'
105
107
  type: :runtime
106
108
  prerelease: false
107
109
  version_requirements: !ruby/object:Gem::Requirement
108
110
  requirements:
109
111
  - - "~>"
110
112
  - !ruby/object:Gem::Version
111
- version: 0.7.0
113
+ version: '3.0'
112
114
  - - ">="
113
115
  - !ruby/object:Gem::Version
114
- version: 0.7.0
116
+ version: '3.0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: fakefs
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
115
131
  - !ruby/object:Gem::Dependency
116
132
  name: flexmock
117
133
  requirement: !ruby/object:Gem::Requirement
@@ -153,7 +169,7 @@ dependencies:
153
169
  - !ruby/object:Gem::Version
154
170
  version: '5.0'
155
171
  - !ruby/object:Gem::Dependency
156
- name: fakefs
172
+ name: simplecov
157
173
  requirement: !ruby/object:Gem::Requirement
158
174
  requirements:
159
175
  - - ">="
@@ -167,7 +183,7 @@ dependencies:
167
183
  - !ruby/object:Gem::Version
168
184
  version: '0'
169
185
  - !ruby/object:Gem::Dependency
170
- name: simplecov
186
+ name: timecop
171
187
  requirement: !ruby/object:Gem::Requirement
172
188
  requirements:
173
189
  - - ">="
@@ -191,6 +207,7 @@ extra_rdoc_files: []
191
207
  files:
192
208
  - ".gitattributes"
193
209
  - ".gitignore"
210
+ - ".rubocop.yml"
194
211
  - ".travis.yml"
195
212
  - Changes.txt
196
213
  - Gemfile
@@ -252,15 +269,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
269
  requirements:
253
270
  - - ">="
254
271
  - !ruby/object:Gem::Version
255
- version: 1.9.3
272
+ version: 2.3.0
256
273
  required_rubygems_version: !ruby/object:Gem::Requirement
257
274
  requirements:
258
275
  - - ">="
259
276
  - !ruby/object:Gem::Version
260
277
  version: '0'
261
278
  requirements: []
262
- rubyforge_project:
263
- rubygems_version: 2.7.6
279
+ rubygems_version: 3.1.2
264
280
  signing_key:
265
281
  specification_version: 4
266
282
  summary: Library to handle build systems and import mechanisms