rake 12.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/CONTRIBUTING.rdoc +43 -0
  3. data/Gemfile +3 -0
  4. data/History.rdoc +2344 -0
  5. data/MIT-LICENSE +21 -0
  6. data/README.rdoc +156 -0
  7. data/Rakefile +41 -0
  8. data/azure-pipelines.yml +11 -0
  9. data/bin/bundle +105 -0
  10. data/bin/console +7 -0
  11. data/bin/rake +29 -0
  12. data/bin/rdoc +29 -0
  13. data/bin/rubocop +29 -0
  14. data/bin/setup +6 -0
  15. data/doc/command_line_usage.rdoc +158 -0
  16. data/doc/example/Rakefile1 +38 -0
  17. data/doc/example/Rakefile2 +35 -0
  18. data/doc/example/a.c +6 -0
  19. data/doc/example/b.c +6 -0
  20. data/doc/example/main.c +11 -0
  21. data/doc/glossary.rdoc +42 -0
  22. data/doc/jamis.rb +592 -0
  23. data/doc/proto_rake.rdoc +127 -0
  24. data/doc/rake.1 +156 -0
  25. data/doc/rakefile.rdoc +622 -0
  26. data/doc/rational.rdoc +151 -0
  27. data/exe/rake +27 -0
  28. data/lib/rake.rb +71 -0
  29. data/lib/rake/application.rb +824 -0
  30. data/lib/rake/backtrace.rb +24 -0
  31. data/lib/rake/clean.rb +78 -0
  32. data/lib/rake/cloneable.rb +17 -0
  33. data/lib/rake/cpu_counter.rb +107 -0
  34. data/lib/rake/default_loader.rb +15 -0
  35. data/lib/rake/dsl_definition.rb +195 -0
  36. data/lib/rake/early_time.rb +22 -0
  37. data/lib/rake/ext/core.rb +26 -0
  38. data/lib/rake/ext/string.rb +176 -0
  39. data/lib/rake/file_creation_task.rb +25 -0
  40. data/lib/rake/file_list.rb +435 -0
  41. data/lib/rake/file_task.rb +54 -0
  42. data/lib/rake/file_utils.rb +137 -0
  43. data/lib/rake/file_utils_ext.rb +145 -0
  44. data/lib/rake/invocation_chain.rb +57 -0
  45. data/lib/rake/invocation_exception_mixin.rb +17 -0
  46. data/lib/rake/late_time.rb +18 -0
  47. data/lib/rake/linked_list.rb +112 -0
  48. data/lib/rake/loaders/makefile.rb +54 -0
  49. data/lib/rake/multi_task.rb +14 -0
  50. data/lib/rake/name_space.rb +38 -0
  51. data/lib/rake/packagetask.rb +207 -0
  52. data/lib/rake/phony.rb +16 -0
  53. data/lib/rake/private_reader.rb +21 -0
  54. data/lib/rake/promise.rb +100 -0
  55. data/lib/rake/pseudo_status.rb +30 -0
  56. data/lib/rake/rake_module.rb +67 -0
  57. data/lib/rake/rake_test_loader.rb +27 -0
  58. data/lib/rake/rule_recursion_overflow_error.rb +20 -0
  59. data/lib/rake/scope.rb +43 -0
  60. data/lib/rake/task.rb +413 -0
  61. data/lib/rake/task_argument_error.rb +8 -0
  62. data/lib/rake/task_arguments.rb +109 -0
  63. data/lib/rake/task_manager.rb +324 -0
  64. data/lib/rake/tasklib.rb +12 -0
  65. data/lib/rake/testtask.rb +224 -0
  66. data/lib/rake/thread_history_display.rb +49 -0
  67. data/lib/rake/thread_pool.rb +163 -0
  68. data/lib/rake/trace_output.rb +23 -0
  69. data/lib/rake/version.rb +10 -0
  70. data/lib/rake/win32.rb +51 -0
  71. data/rake.gemspec +42 -0
  72. metadata +199 -0
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+ module Rake
3
+ VERSION = "12.3.3"
4
+
5
+ module Version # :nodoc: all
6
+ MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "."
7
+
8
+ NUMBERS = [MAJOR, MINOR, BUILD, *OTHER]
9
+ end
10
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+ require "rbconfig"
3
+
4
+ module Rake
5
+ # Win 32 interface methods for Rake. Windows specific functionality
6
+ # will be placed here to collect that knowledge in one spot.
7
+ module Win32 # :nodoc: all
8
+
9
+ # Error indicating a problem in locating the home directory on a
10
+ # Win32 system.
11
+ class Win32HomeError < RuntimeError
12
+ end
13
+
14
+ class << self
15
+ # True if running on a windows system.
16
+ def windows?
17
+ RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw|[Ww]indows)!
18
+ end
19
+
20
+ # The standard directory containing system wide rake files on
21
+ # Win 32 systems. Try the following environment variables (in
22
+ # order):
23
+ #
24
+ # * HOME
25
+ # * HOMEDRIVE + HOMEPATH
26
+ # * APPDATA
27
+ # * USERPROFILE
28
+ #
29
+ # If the above are not defined, the return nil.
30
+ def win32_system_dir #:nodoc:
31
+ win32_shared_path = ENV["HOME"]
32
+ if win32_shared_path.nil? && ENV["HOMEDRIVE"] && ENV["HOMEPATH"]
33
+ win32_shared_path = ENV["HOMEDRIVE"] + ENV["HOMEPATH"]
34
+ end
35
+
36
+ win32_shared_path ||= ENV["APPDATA"]
37
+ win32_shared_path ||= ENV["USERPROFILE"]
38
+ raise Win32HomeError,
39
+ "Unable to determine home path environment variable." if
40
+ win32_shared_path.nil? or win32_shared_path.empty?
41
+ normalize(File.join(win32_shared_path, "Rake"))
42
+ end
43
+
44
+ # Normalize a win32 path so that the slashes are all forward slashes.
45
+ def normalize(path)
46
+ path.gsub(/\\/, "/")
47
+ end
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
3
+ require 'rake/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "rake".freeze
7
+ s.version = Rake::VERSION
8
+ s.authors = ["Hiroshi SHIBATA".freeze, "Eric Hodel".freeze, "Jim Weirich".freeze]
9
+ s.email = ["hsbt@ruby-lang.org".freeze, "drbrain@segment7.net".freeze, "".freeze]
10
+
11
+ s.summary = "Rake is a Make-like program implemented in Ruby".freeze
12
+ s.description = <<-DESCRIPTION
13
+ Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
14
+ specified in standard Ruby syntax.
15
+ Rake has the following features:
16
+ * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
17
+ No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
18
+ * Users can specify tasks with prerequisites.
19
+ * Rake supports rule patterns to synthesize implicit tasks.
20
+ * Flexible FileLists that act like arrays but know about manipulating file names and paths.
21
+ * Supports parallel execution of tasks.
22
+ DESCRIPTION
23
+ s.homepage = "https://github.com/ruby/rake".freeze
24
+ s.licenses = ["MIT".freeze]
25
+
26
+ s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
27
+ %w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
28
+ s.bindir = "exe"
29
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ s.require_paths = ["lib".freeze]
31
+
32
+ s.required_ruby_version = Gem::Requirement.new(">= 2.0.0".freeze)
33
+ s.rubygems_version = "2.6.1".freeze
34
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.3.2".freeze)
35
+ s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
36
+
37
+ s.add_development_dependency(%q<bundler>.freeze)
38
+ s.add_development_dependency(%q<minitest>.freeze)
39
+ s.add_development_dependency(%q<rdoc>.freeze)
40
+ s.add_development_dependency(%q<coveralls>.freeze)
41
+ s.add_development_dependency(%q<rubocop>.freeze)
42
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rake
3
+ version: !ruby/object:Gem::Version
4
+ version: 12.3.3
5
+ platform: ruby
6
+ authors:
7
+ - Hiroshi SHIBATA
8
+ - Eric Hodel
9
+ - Jim Weirich
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2019-07-22 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: bundler
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: minitest
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: rdoc
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: coveralls
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rubocop
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ description: |
86
+ Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
87
+ specified in standard Ruby syntax.
88
+ Rake has the following features:
89
+ * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
90
+ No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
91
+ * Users can specify tasks with prerequisites.
92
+ * Rake supports rule patterns to synthesize implicit tasks.
93
+ * Flexible FileLists that act like arrays but know about manipulating file names and paths.
94
+ * Supports parallel execution of tasks.
95
+ email:
96
+ - hsbt@ruby-lang.org
97
+ - drbrain@segment7.net
98
+ - ''
99
+ executables:
100
+ - rake
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - CONTRIBUTING.rdoc
105
+ - Gemfile
106
+ - History.rdoc
107
+ - MIT-LICENSE
108
+ - README.rdoc
109
+ - Rakefile
110
+ - azure-pipelines.yml
111
+ - bin/bundle
112
+ - bin/console
113
+ - bin/rake
114
+ - bin/rdoc
115
+ - bin/rubocop
116
+ - bin/setup
117
+ - doc/command_line_usage.rdoc
118
+ - doc/example/Rakefile1
119
+ - doc/example/Rakefile2
120
+ - doc/example/a.c
121
+ - doc/example/b.c
122
+ - doc/example/main.c
123
+ - doc/glossary.rdoc
124
+ - doc/jamis.rb
125
+ - doc/proto_rake.rdoc
126
+ - doc/rake.1
127
+ - doc/rakefile.rdoc
128
+ - doc/rational.rdoc
129
+ - exe/rake
130
+ - lib/rake.rb
131
+ - lib/rake/application.rb
132
+ - lib/rake/backtrace.rb
133
+ - lib/rake/clean.rb
134
+ - lib/rake/cloneable.rb
135
+ - lib/rake/cpu_counter.rb
136
+ - lib/rake/default_loader.rb
137
+ - lib/rake/dsl_definition.rb
138
+ - lib/rake/early_time.rb
139
+ - lib/rake/ext/core.rb
140
+ - lib/rake/ext/string.rb
141
+ - lib/rake/file_creation_task.rb
142
+ - lib/rake/file_list.rb
143
+ - lib/rake/file_task.rb
144
+ - lib/rake/file_utils.rb
145
+ - lib/rake/file_utils_ext.rb
146
+ - lib/rake/invocation_chain.rb
147
+ - lib/rake/invocation_exception_mixin.rb
148
+ - lib/rake/late_time.rb
149
+ - lib/rake/linked_list.rb
150
+ - lib/rake/loaders/makefile.rb
151
+ - lib/rake/multi_task.rb
152
+ - lib/rake/name_space.rb
153
+ - lib/rake/packagetask.rb
154
+ - lib/rake/phony.rb
155
+ - lib/rake/private_reader.rb
156
+ - lib/rake/promise.rb
157
+ - lib/rake/pseudo_status.rb
158
+ - lib/rake/rake_module.rb
159
+ - lib/rake/rake_test_loader.rb
160
+ - lib/rake/rule_recursion_overflow_error.rb
161
+ - lib/rake/scope.rb
162
+ - lib/rake/task.rb
163
+ - lib/rake/task_argument_error.rb
164
+ - lib/rake/task_arguments.rb
165
+ - lib/rake/task_manager.rb
166
+ - lib/rake/tasklib.rb
167
+ - lib/rake/testtask.rb
168
+ - lib/rake/thread_history_display.rb
169
+ - lib/rake/thread_pool.rb
170
+ - lib/rake/trace_output.rb
171
+ - lib/rake/version.rb
172
+ - lib/rake/win32.rb
173
+ - rake.gemspec
174
+ homepage: https://github.com/ruby/rake
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options:
180
+ - "--main"
181
+ - README.rdoc
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: 2.0.0
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 1.3.2
194
+ requirements: []
195
+ rubygems_version: 3.0.3
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: Rake is a Make-like program implemented in Ruby
199
+ test_files: []