vergissberlin 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vergissberlin/version.rb +1 -1
- data/test/cases/version_case.rb +26 -0
- data/test/rest_spec.rb +12 -0
- data/test/suites/suite_test.rb +12 -0
- data/test/utils.rb +13 -0
- metadata +83 -134
- data/.gitignore +0 -17
- data/.travis.yml +0 -7
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -22
- data/Rakefile +0 -10
- data/test/test_test.rb +0 -5
- data/test/version_test.rb +0 -12
- data/vendor/bundle/bin/rake +0 -23
- data/vendor/bundle/bin/vergissberlin +0 -23
- data/vendor/bundle/build_info/capistrano_colors-0.5.5.info +0 -1
- data/vendor/bundle/build_info/rake-10.0.4.info +0 -1
- data/vendor/bundle/gems/capistrano_colors-0.5.5/Manifest +0 -7
- data/vendor/bundle/gems/capistrano_colors-0.5.5/README.rdoc +0 -130
- data/vendor/bundle/gems/capistrano_colors-0.5.5/Rakefile +0 -1
- data/vendor/bundle/gems/capistrano_colors-0.5.5/capistrano_colors.gemspec +0 -33
- data/vendor/bundle/gems/capistrano_colors-0.5.5/lib/capistrano_colors/configuration.rb +0 -70
- data/vendor/bundle/gems/capistrano_colors-0.5.5/lib/capistrano_colors/logger.rb +0 -72
- data/vendor/bundle/gems/capistrano_colors-0.5.5/lib/capistrano_colors.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.4/CHANGES +0 -530
- data/vendor/bundle/gems/rake-10.0.4/MIT-LICENSE +0 -21
- data/vendor/bundle/gems/rake-10.0.4/README.rdoc +0 -187
- data/vendor/bundle/gems/rake-10.0.4/Rakefile +0 -375
- data/vendor/bundle/gems/rake-10.0.4/TODO +0 -21
- data/vendor/bundle/gems/rake-10.0.4/bin/rake +0 -33
- data/vendor/bundle/gems/rake-10.0.4/install.rb +0 -90
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/alt_system.rb +0 -109
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/application.rb +0 -681
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/backtrace.rb +0 -19
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/clean.rb +0 -32
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/cloneable.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/ftptools.rb +0 -151
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/publisher.rb +0 -73
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/rubyforgepublisher.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/sshpublisher.rb +0 -50
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/contrib/sys.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/default_loader.rb +0 -10
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/dsl_definition.rb +0 -156
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/early_time.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/ext/core.rb +0 -27
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/ext/module.rb +0 -0
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/ext/string.rb +0 -168
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/ext/time.rb +0 -15
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/file_creation_task.rb +0 -24
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/file_list.rb +0 -410
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/file_task.rb +0 -47
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/file_utils.rb +0 -114
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/file_utils_ext.rb +0 -143
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/gempackagetask.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/invocation_chain.rb +0 -51
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/loaders/makefile.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/multi_task.rb +0 -13
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/name_space.rb +0 -25
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/packagetask.rb +0 -185
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/pathmap.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/phony.rb +0 -15
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/private_reader.rb +0 -20
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/promise.rb +0 -99
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/pseudo_status.rb +0 -24
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/rake_module.rb +0 -37
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/rdoctask.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/ruby182_test_unit_fix.rb +0 -25
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/runtest.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/task.rb +0 -368
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/task_argument_error.rb +0 -7
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/task_arguments.rb +0 -78
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/task_manager.rb +0 -296
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/tasklib.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/testtask.rb +0 -198
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/thread_history_display.rb +0 -48
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/thread_pool.rb +0 -155
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/trace_output.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/version.rb +0 -13
- data/vendor/bundle/gems/rake-10.0.4/lib/rake/win32.rb +0 -55
- data/vendor/bundle/gems/rake-10.0.4/lib/rake.rb +0 -71
- data/vendor/bundle/gems/rake-10.0.4/test/file_creation.rb +0 -34
- data/vendor/bundle/gems/rake-10.0.4/test/helper.rb +0 -562
- data/vendor/bundle/gems/rake-10.0.4/test/test_private_reader.rb +0 -42
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_application.rb +0 -515
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_application_options.rb +0 -455
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_backtrace.rb +0 -89
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_clean.rb +0 -14
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_definitions.rb +0 -80
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_directory_task.rb +0 -57
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_dsl.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_early_time.rb +0 -31
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_extension.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_file_list.rb +0 -628
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_file_task.rb +0 -122
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_file_utils.rb +0 -305
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_ftp_file.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_functional.rb +0 -496
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_invocation_chain.rb +0 -52
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_makefile_loader.rb +0 -44
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_multi_task.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_name_space.rb +0 -43
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_package_task.rb +0 -79
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_path_map.rb +0 -157
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_rake_test_loader.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_reduce_compat.rb +0 -30
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_require.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_rules.rb +0 -327
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task.rb +0 -340
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_argument_parsing.rb +0 -103
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_arguments.rb +0 -88
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_lib.rb +0 -9
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_manager.rb +0 -157
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_task_with_arguments.rb +0 -171
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_test_task.rb +0 -120
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_thread_pool.rb +0 -122
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/bundle/gems/rake-10.0.4/test/test_rake_win32.rb +0 -72
- data/vendor/bundle/gems/rake-10.0.4/test/test_thread_history_display.rb +0 -91
- data/vendor/bundle/gems/rake-10.0.4/test/test_trace_output.rb +0 -50
- data/vendor/bundle/specifications/capistrano_colors-0.5.5.gemspec +0 -32
- data/vendor/bundle/specifications/rake-10.0.4.gemspec +0 -35
- data/vergissberlin.gemspec +0 -26
@@ -1,70 +0,0 @@
|
|
1
|
-
module Capistrano
|
2
|
-
class Configuration
|
3
|
-
|
4
|
-
# Add custom colormatchers
|
5
|
-
#
|
6
|
-
# Passing a hash or a array of hashes with custom colormatchers.
|
7
|
-
#
|
8
|
-
# Add the following to your deploy.rb or in your ~/.caprc
|
9
|
-
#
|
10
|
-
# == Example:
|
11
|
-
#
|
12
|
-
# require 'capistrano_colors'
|
13
|
-
#
|
14
|
-
# capistrano_color_matchers = [
|
15
|
-
# { :match => /command finished/, :color => :hide, :prio => 10, :prepend => "$$$" },
|
16
|
-
# { :match => /executing command/, :color => :blue, :prio => 10, :attribute => :underscore, :timestamp => true },
|
17
|
-
# { :match => /^transaction: commit$/, :color => :magenta, :prio => 10, :attribute => :blink },
|
18
|
-
# { :match => /git/, :color => :white, :prio => 20, :attribute => :reverse },
|
19
|
-
# ]
|
20
|
-
#
|
21
|
-
# colorize( capistrano_color_matchers )
|
22
|
-
#
|
23
|
-
# You can call colorize multiple time with either a hash or an array of hashes multiple times.
|
24
|
-
#
|
25
|
-
# == Colors:
|
26
|
-
#
|
27
|
-
# :color can have the following values:
|
28
|
-
#
|
29
|
-
# * :hide (hides the row completely)
|
30
|
-
# * :none
|
31
|
-
# * :black
|
32
|
-
# * :red
|
33
|
-
# * :green
|
34
|
-
# * :yellow
|
35
|
-
# * :blue
|
36
|
-
# * :magenta
|
37
|
-
# * :cyan
|
38
|
-
# * :white
|
39
|
-
#
|
40
|
-
# == Attributes:
|
41
|
-
#
|
42
|
-
# :attribute can have the following values:
|
43
|
-
#
|
44
|
-
# * :bright
|
45
|
-
# * :dim
|
46
|
-
# * :underscore
|
47
|
-
# * :blink
|
48
|
-
# * :reverse
|
49
|
-
# * :hidden
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# == Text alterations
|
53
|
-
#
|
54
|
-
# :prepend gives static text to be prepended to the output
|
55
|
-
# :timestamp adds the current time before the output
|
56
|
-
#
|
57
|
-
def colorize(options)
|
58
|
-
|
59
|
-
if options.class == Array
|
60
|
-
options.each do |opt|
|
61
|
-
Capistrano::Logger.add_color_matcher( opt )
|
62
|
-
end
|
63
|
-
else
|
64
|
-
Capistrano::Logger.add_color_matcher( options )
|
65
|
-
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
end
|
70
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
module Capistrano
|
2
|
-
class Logger
|
3
|
-
|
4
|
-
CAP_COLORS = {
|
5
|
-
:none => "0",
|
6
|
-
:black => "30",
|
7
|
-
:red => "31",
|
8
|
-
:green => "32",
|
9
|
-
:yellow => "33",
|
10
|
-
:blue => "34",
|
11
|
-
:magenta => "35",
|
12
|
-
:cyan => "36",
|
13
|
-
:white => "37"
|
14
|
-
}
|
15
|
-
|
16
|
-
CAP_ATTRIBUTES = {
|
17
|
-
:bright => 1,
|
18
|
-
:dim => 2,
|
19
|
-
:underscore => 4,
|
20
|
-
:blink => 5,
|
21
|
-
:reverse => 7,
|
22
|
-
:hidden => 8
|
23
|
-
}
|
24
|
-
|
25
|
-
@@color_matchers = []
|
26
|
-
|
27
|
-
alias_method :org_log, :log
|
28
|
-
|
29
|
-
def log(level, message, line_prefix=nil) #:nodoc:
|
30
|
-
|
31
|
-
color = :none
|
32
|
-
attribute = nil
|
33
|
-
|
34
|
-
# Sort matchers in reverse order so we can break if we found a match.
|
35
|
-
@@sorted_color_matchers ||= @@color_matchers.sort_by { |i| -i[:prio] }
|
36
|
-
|
37
|
-
@@sorted_color_matchers.each do |filter|
|
38
|
-
|
39
|
-
if (filter[:level] == level || filter[:level].nil?)
|
40
|
-
if message =~ filter[:match] || line_prefix =~ filter[:match]
|
41
|
-
color = filter[:color]
|
42
|
-
attribute = filter[:attribute]
|
43
|
-
message = filter[:prepend] + message unless filter[:prepend].nil?
|
44
|
-
message = Time.now.strftime('%T') + ' ' + message if filter[:timestamp]
|
45
|
-
break
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
end
|
50
|
-
|
51
|
-
if color != :hide
|
52
|
-
current_color = CAP_COLORS[color]
|
53
|
-
current_attribute = CAP_ATTRIBUTES[attribute]
|
54
|
-
|
55
|
-
line_prefix = colorize(line_prefix.to_s, current_color, current_attribute, nil) unless line_prefix.nil?
|
56
|
-
org_log(level, colorize(message, current_color, current_attribute), line_prefix)
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|
60
|
-
|
61
|
-
def self.add_color_matcher( options ) #:nodoc:
|
62
|
-
@@color_matchers.push( options )
|
63
|
-
end
|
64
|
-
|
65
|
-
def colorize(message, color, attribute, nl = "\n")
|
66
|
-
attribute = "#{attribute};" if attribute
|
67
|
-
"\e[#{attribute}#{color}m" + message.strip + "\e[0m#{nl}"
|
68
|
-
end
|
69
|
-
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'capistrano/configuration'
|
2
|
-
require 'capistrano/logger'
|
3
|
-
|
4
|
-
require 'capistrano_colors/configuration'
|
5
|
-
require 'capistrano_colors/logger'
|
6
|
-
|
7
|
-
# DEBUG
|
8
|
-
Capistrano::Logger.add_color_matcher({ :match => /executing `.*/, :color => :green, :level => 2, :prio => -10, :prepend => "== Currently ", :timestamp => true })
|
9
|
-
Capistrano::Logger.add_color_matcher({ :match => /.*/, :color => :yellow, :level => 2, :prio => -20 })
|
10
|
-
|
11
|
-
# INFO
|
12
|
-
Capistrano::Logger.add_color_matcher({ :match => /.*out\] (fatal:|ERROR:).*/, :color => :red, :level => 1, :prio => -10 })
|
13
|
-
Capistrano::Logger.add_color_matcher({ :match => /Permission denied/, :color => :red, :level => 1, :prio => -20 })
|
14
|
-
Capistrano::Logger.add_color_matcher({ :match => /sh: .+: command not found/, :color => :magenta, :level => 1, :prio => -30 })
|
15
|
-
|
16
|
-
# IMPORTANT
|
17
|
-
Capistrano::Logger.add_color_matcher({ :match => /^err ::/, :color => :red, :level => 0, :prio => -10 })
|
18
|
-
Capistrano::Logger.add_color_matcher({ :match => /.*/, :color => :blue, :level => 0, :prio => -20 })
|
@@ -1,530 +0,0 @@
|
|
1
|
-
= Rake Changelog
|
2
|
-
|
3
|
-
NOTE: Refer to the individual release documents (in the
|
4
|
-
doc/release_notes directory) for changes after in version 0.9.4
|
5
|
-
and later.
|
6
|
-
|
7
|
-
== Master (for 0.9.3)
|
8
|
-
|
9
|
-
* The rake test loader now removes arguments it has processed. Issue #51
|
10
|
-
* Rake::TaskArguments now responds to #values_at
|
11
|
-
* RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
|
12
|
-
* Rake tests are now directory-independent
|
13
|
-
* Rake tests are no longer require flexmock
|
14
|
-
* Commands constant is no longer polluting top level namespace.
|
15
|
-
* Show only the interesting portion of the backtrace by default (James M. Lawrence).
|
16
|
-
* Added --reduce-compat optiont to remove backward compatible DSL hacks (James M. Lawrence).
|
17
|
-
* lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
|
18
|
-
open files in binary mode. (NAKAMURA Usaku)
|
19
|
-
|
20
|
-
== Version 0.9.2
|
21
|
-
|
22
|
-
* Unknown
|
23
|
-
|
24
|
-
== Version 0.9.1
|
25
|
-
|
26
|
-
* Added deprecation warnings to the Rake DSL methods.
|
27
|
-
|
28
|
-
== Version 0.9.0
|
29
|
-
|
30
|
-
* *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
|
31
|
-
no longer private methods in Object. If you need to call 'task :xzy' inside
|
32
|
-
your class, include Rake::DSL into the class. The DSL is still available at
|
33
|
-
the top level scope (via the top level object which extends Rake::DSL).
|
34
|
-
|
35
|
-
* Rake now warns when the deprecated :needs syntax used.
|
36
|
-
|
37
|
-
* Rake history is now UTF-8 encoded.
|
38
|
-
|
39
|
-
* Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
|
40
|
-
Based on patch by Roger Pack.
|
41
|
-
|
42
|
-
* Rake now requires (instead of loads) files in the test task. Patch by Cezary
|
43
|
-
Baginski.
|
44
|
-
|
45
|
-
* Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
|
46
|
-
|
47
|
-
* Rake now prints the Rakefile directory only when it's different from the
|
48
|
-
current directory. Patch by Alex Chaffee.
|
49
|
-
|
50
|
-
* Improved rakefile_location discovery on Windows. Patch by James Tucker.
|
51
|
-
|
52
|
-
* Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
|
53
|
-
Lüdtke
|
54
|
-
|
55
|
-
* Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
|
56
|
-
'rdoc/task')
|
57
|
-
|
58
|
-
* Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
|
59
|
-
'rubygems/package_task')
|
60
|
-
|
61
|
-
* Rake now outputs various messages to $stderr instead of $stdout.
|
62
|
-
|
63
|
-
* Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
|
64
|
-
|
65
|
-
* Split rake.rb into individual files.
|
66
|
-
|
67
|
-
* Support for the --where (-W) flag for showing where a task is defined.
|
68
|
-
|
69
|
-
* Fixed quoting in test task.
|
70
|
-
(http://onestepback.org/redmine/issues/show/44,
|
71
|
-
http://www.pivotaltracker.com/story/show/1223138)
|
72
|
-
|
73
|
-
* Fixed the silent option parsing problem.
|
74
|
-
(http://onestepback.org/redmine/issues/show/47)
|
75
|
-
|
76
|
-
* Fixed :verbose=>false flag on sh and ruby commands.
|
77
|
-
|
78
|
-
* Rake command line options may be given by default in a RAKEOPT
|
79
|
-
environment variable.
|
80
|
-
|
81
|
-
* Errors in Rake will now display the task invocation chain in effect
|
82
|
-
at the time of the error.
|
83
|
-
|
84
|
-
* Accepted change by warnickr to not expand test patterns in shell
|
85
|
-
(allowing more files in the test suite).
|
86
|
-
|
87
|
-
* Fixed that file tasks did not perform prereq lookups in scope
|
88
|
-
(Redmine #57).
|
89
|
-
|
90
|
-
== Version 0.8.7
|
91
|
-
|
92
|
-
* Fixed EXEEXT for JRuby on windows.
|
93
|
-
|
94
|
-
== Version 0.8.6
|
95
|
-
|
96
|
-
* Minor fixes to the RDoc generation (removed dependency on darkfish
|
97
|
-
and removed inline source option).
|
98
|
-
|
99
|
-
== PreVersion 0.8.6
|
100
|
-
|
101
|
-
* Now allow # comments to comment a task definition.
|
102
|
-
|
103
|
-
== Version 0.8.5
|
104
|
-
|
105
|
-
* Better support for the system command on Windows.
|
106
|
-
|
107
|
-
== Version 0.8.4
|
108
|
-
|
109
|
-
* Preserve case when locating rakefiles (patch from James
|
110
|
-
M. Lawrence/quix)
|
111
|
-
|
112
|
-
* Better support for windows paths in the test task (patch from Simon
|
113
|
-
Chiang/bahuvrihi)
|
114
|
-
|
115
|
-
* Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
|
116
|
-
APPDATA, USERPROFILE (patch from Luis Lavena)
|
117
|
-
|
118
|
-
* MingGW is now recognized as a windows platform. (patch from Luis
|
119
|
-
Lavena)
|
120
|
-
|
121
|
-
* Numerous fixes to the windows test suite (patch from Luis Lavena).
|
122
|
-
|
123
|
-
* Improved Rakefile case insensitivity testing (patch from Luis
|
124
|
-
Lavena).
|
125
|
-
|
126
|
-
* Fixed stray ARGV option problem that was interfering with
|
127
|
-
Test::Unit::Runner.
|
128
|
-
|
129
|
-
* Fixed default verbose mode (was accidently changed to false).
|
130
|
-
|
131
|
-
* Removed reference to manage_gem to fix the warning produced by the
|
132
|
-
gem package task.
|
133
|
-
|
134
|
-
== Version 0.8.3
|
135
|
-
|
136
|
-
* Enhanced the system directory detection in windows. We now check
|
137
|
-
HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
|
138
|
-
supplied by James Tucker). Rake no long aborts if it can't find the
|
139
|
-
directory.
|
140
|
-
|
141
|
-
* Added fix to handle ruby installations in directories with spaces in
|
142
|
-
their name.
|
143
|
-
|
144
|
-
== Version 0.8.2
|
145
|
-
|
146
|
-
* Fixed bug in package task so that it will include the subdir
|
147
|
-
directory in the package for testing. (Bug found by Adam Majer)
|
148
|
-
|
149
|
-
* Added ENV var to rakefile to prevent OS X from including extended
|
150
|
-
attribute junk in a tar file. (Bug found by Adam Majer)
|
151
|
-
|
152
|
-
* Fixed filename dependency order bug in test_inspect_pending and
|
153
|
-
test_to_s_pending. (Bug found by Adam Majer)
|
154
|
-
|
155
|
-
* Fixed check for file utils options to make them immune to the
|
156
|
-
symbol/string differences. (Patch supplied by Edwin Pratomo)
|
157
|
-
|
158
|
-
* Fixed bug with rules involving multiple source (Patch supplied by
|
159
|
-
Emanuel Indermühle)
|
160
|
-
|
161
|
-
* Switched from getoptlong to optparse (patches supplied by Edwin
|
162
|
-
Pratomo)
|
163
|
-
|
164
|
-
* The -T option will now attempt to dynamically sense the size of the
|
165
|
-
terminal. RAKE_COLUMNS will override any dynamic sensing.
|
166
|
-
|
167
|
-
* FileList#clone and FileList#dup have better sematics w.r.t. taint
|
168
|
-
and freeze.
|
169
|
-
|
170
|
-
* Added ability clear prerequisites, and/or actions from an existing
|
171
|
-
task.
|
172
|
-
|
173
|
-
* Added the ability to reenable a task to be invoked a second time.
|
174
|
-
|
175
|
-
* Changed RDoc test task to have no default template. This makes it
|
176
|
-
easier for the tempate to pick up the template from the environment.
|
177
|
-
|
178
|
-
* Changed from using Mutex to Monitor. Evidently Mutex causes thread
|
179
|
-
join errors when Ruby is compiled with -disable-pthreads. (Patch
|
180
|
-
supplied by Ittay Dror)
|
181
|
-
|
182
|
-
* Fixed bug in makefile parser that had problems with extra spaces in
|
183
|
-
file task names. (Patch supplied by Ittay Dror)
|
184
|
-
|
185
|
-
* Added a performance patch for reading large makefile dependency
|
186
|
-
files. (Patch supplied by Ittay Dror)
|
187
|
-
|
188
|
-
* Default values for task arguments can easily be specified with the
|
189
|
-
:with_defaults method. (Idea for default argument merging supplied
|
190
|
-
by (Adam Q. Salter)
|
191
|
-
|
192
|
-
* The -T output will only self-truncate if the output is a tty.
|
193
|
-
However, if RAKE_COLUMNS is explicitly set, it will be honored in
|
194
|
-
any case. (Patch provided by Gavin Stark).
|
195
|
-
|
196
|
-
* Numerous fixes for running under windows. A big thanks to Bheeshmar
|
197
|
-
Redheendran for spending a good part of the afternoon at the
|
198
|
-
Lonestar Ruby Conference to help me work out these issues.
|
199
|
-
|
200
|
-
== Version 0.8.1
|
201
|
-
|
202
|
-
* Removed requires on parsedate.rb (in Ftptools)
|
203
|
-
* Removed ftools from rake.rb. Made it options in sys.rb
|
204
|
-
|
205
|
-
== Version 0.8.0
|
206
|
-
|
207
|
-
* Added task parameters (e.g. "rake build[version7]")
|
208
|
-
* Made task parameters passable to prerequisites.
|
209
|
-
* Comments are limited to 80 columns or so (suggested by Jamis Buck).
|
210
|
-
* Added -D to display full comments (suggested by Jamis Buck).
|
211
|
-
* The rake program will set the status value used in any explicit
|
212
|
-
exit(n) calls. (patch provided by Stephen Touset)
|
213
|
-
* Fixed error in functional tests that were not including session (and
|
214
|
-
silently skipping the functionl tests.
|
215
|
-
* Removed --usage and make -h the same as -H.
|
216
|
-
* Make a prettier inspect for tasks.
|
217
|
-
|
218
|
-
== Version 0.7.3
|
219
|
-
|
220
|
-
* Added existing and existing! methods to FileList
|
221
|
-
* FileLists now claim to be Arrays (via is_a?) to get better support
|
222
|
-
from the FileUtil module.
|
223
|
-
* Added init and top_level for custom rake applications.
|
224
|
-
|
225
|
-
== Version 0.7.2
|
226
|
-
|
227
|
-
* Error messages are now send to stderr rather than stdout (from
|
228
|
-
Payton Quackenbush).
|
229
|
-
* Better error handling on invalid command line arguments (from Payton
|
230
|
-
Quackenbush).
|
231
|
-
* Added rcov task and updated unit testing for better code coverage.
|
232
|
-
* Fixed some bugs where the application object was going to the global
|
233
|
-
appliation instead of using its own data.
|
234
|
-
* Added square and curly bracket patterns to FileList#include (Tilman
|
235
|
-
Sauerbeck).
|
236
|
-
* Added plain filename support to rule dependents (suggested by Nobu
|
237
|
-
Nakada).
|
238
|
-
* Added pathmap support to rule dependents.
|
239
|
-
* Added a 'tasks' method to a namespace to get a list of tasks
|
240
|
-
associated with the namespace.
|
241
|
-
* Fixed the method name leak from FileUtils (bug found by Glenn
|
242
|
-
Vanderburg).
|
243
|
-
* Added rake_extension to handle detection of extension collisions.
|
244
|
-
* Added test for noop, bad_option and verbose flags to sh command.
|
245
|
-
* Removed dependency on internal fu_xxx functions from FileUtils.
|
246
|
-
* Added a 'shame' task to the Rakefile.
|
247
|
-
* Added tar_command and zip_command options to the Package task.
|
248
|
-
* Added a description to the gem task in GemPackageTask.
|
249
|
-
* Fixed a bug when rules have multiple prerequisites (patch by Joel
|
250
|
-
VanderWerf)
|
251
|
-
* Added a protected 'require "rubygems"' to test/test_application to
|
252
|
-
unbreak cruisecontrol.rb.
|
253
|
-
* Added the handful of RakeFileUtils to the private method as well.
|
254
|
-
* Added block based exclusion.
|
255
|
-
* The clean task will no longer delete 'core' if it is a directory.
|
256
|
-
* Removed rake_dup. Now we just simply rescue a bad dup.
|
257
|
-
* Refactored the FileList reject logic to remove duplication.
|
258
|
-
* Removed if __FILE__ at the end of the rake.rb file.
|
259
|
-
|
260
|
-
== Version 0.7.1
|
261
|
-
|
262
|
-
* Added optional filter parameter to the --tasks command line option.
|
263
|
-
* Added flatten to allow rule transform procs to return lists of
|
264
|
-
prereqs (Joel VanderWerf provided patch).
|
265
|
-
* Added pathmap to String and FileList.
|
266
|
-
* The -r option will now load .rake files (but a straight require
|
267
|
-
doesn't yet). NOTE: This is experimental ... it may be
|
268
|
-
discontinued.
|
269
|
-
* The -f option without a value will disable the search for a
|
270
|
-
Rakefile. The assumption is that the -r files are adequate.
|
271
|
-
* Fixed the safe_ln function to fall back to cp in more error
|
272
|
-
scenarios.
|
273
|
-
|
274
|
-
== Version 0.7.0
|
275
|
-
|
276
|
-
* Added Rake.original_dir to return the original starting directory of
|
277
|
-
the rake application.
|
278
|
-
* Added safe_ln support for openAFS (from Ludvig Omholt).
|
279
|
-
* Added --trace reminder on short exception messages (David Heinemeier
|
280
|
-
Hansson suggestion).
|
281
|
-
* Added multitask declaration that executes prerequisites in
|
282
|
-
parallel. (Doug Young providied an initial implementation).
|
283
|
-
* Fixed missing_const hack to be compatible with Rails. (Jamis Buck
|
284
|
-
supplied test case).
|
285
|
-
* Made the RDoc task default to internal (in-process) RDoc formatting.
|
286
|
-
The old behavior is still available by setting the +external+ flag
|
287
|
-
to true.
|
288
|
-
* Rakefiles are now loaded with the expanded path to prevent
|
289
|
-
accidental polution from the Ruby load path.
|
290
|
-
* The +namespace+ command now returns a NameSpace object that can be
|
291
|
-
used to lookup tasks defined in that namespace. This allows for
|
292
|
-
better anonymous namespace behavior.
|
293
|
-
* Task objects my now be used in prerequisite lists directly.
|
294
|
-
|
295
|
-
== Version 0.6.1
|
296
|
-
|
297
|
-
* Rebuilt 0.6.0 gem without signing.
|
298
|
-
|
299
|
-
== Version 0.6.0
|
300
|
-
|
301
|
-
* Fixed file creation bug in the unit tests (caused infinite loop on
|
302
|
-
windows).
|
303
|
-
* Fixed bug where session based functional tests were run under
|
304
|
-
windows.
|
305
|
-
* Fixed bug in directory tasks so that updating a directory will not
|
306
|
-
retrigger file tasks depending on the directory (see
|
307
|
-
FileCreationTask and EarlyTime).
|
308
|
-
* Added egrep to FileList
|
309
|
-
* ruby command now runs same ruby version as rake.
|
310
|
-
* Added investigation to task object. (suggested by Martin Fowler)
|
311
|
-
* Added ruby_opts to the test task to allow arbitrary ruby options to
|
312
|
-
be passed to the test script. (Greg Fast)
|
313
|
-
* Fixed the test loader to ignore options. (Greg Fast)
|
314
|
-
* Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
|
315
|
-
module namespace. Old style namespace behavior can be invoked via
|
316
|
-
the --classic-namespace option. (requested by Kelly Felkins).
|
317
|
-
* GemTask is now sensitive to the gem platform (Masao Mutoh).
|
318
|
-
* A non-existing file prerequisite will no longer cause an exception
|
319
|
-
(Philipp Neubeck).
|
320
|
-
* Multiple prerequisites on Rake rules now allowed (initial patch
|
321
|
-
supplied by Stuart Jansen).
|
322
|
-
|
323
|
-
== Version 0.5.4
|
324
|
-
|
325
|
-
* Added double quotes to the test runner.
|
326
|
-
* Added .svn to default ignore list.
|
327
|
-
* Updated FileList#include to support nested arrays and filelists.
|
328
|
-
|
329
|
-
== Version 0.5.3
|
330
|
-
|
331
|
-
* Added support for importing Rakefile and other dependencies.
|
332
|
-
* Fixed bug so that now rules can chain off of existing tasks as well
|
333
|
-
as existing files.
|
334
|
-
* Fixed verbose flag bug in the testing task. Shortened some failure
|
335
|
-
messages.
|
336
|
-
* Make FileUtils methods private at the top level module to avoid
|
337
|
-
accidental method leaking into other objects.
|
338
|
-
* Added test loader option to test task. "testrb" is no longer the
|
339
|
-
default test loader. It is now eating syntax errors that should
|
340
|
-
halt the unit tests.
|
341
|
-
* Revamped FileList so that it works more like and array (addressed
|
342
|
-
flatten bug). Added many tests around file list.
|
343
|
-
* Added +ext+ method to both String and FileList.
|
344
|
-
|
345
|
-
== Version 0.5.0
|
346
|
-
|
347
|
-
* Fixed documentation that was lacking the Rake module name (Tilman
|
348
|
-
Sauerbeck).
|
349
|
-
* Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
|
350
|
-
* Recursive rules are now supported (Tilman Sauerbeck).
|
351
|
-
* Added warning option for the Test Task (requested by Eric Hodel).
|
352
|
-
* The jamis rdoc template is only used if it exists.
|
353
|
-
* Added fix for Ruby 1.8.2 test/unit and rails problem.
|
354
|
-
* Added contributed rake man file (Jani Monoses).
|
355
|
-
* Added Brian Candler's fix for problems in --trace and --dry-run
|
356
|
-
mode.
|
357
|
-
|
358
|
-
== Version 0.4.15
|
359
|
-
|
360
|
-
* Fixed a bug that prevented the TESTOPTS flag from working with the
|
361
|
-
revised for 1.8.2 test task.
|
362
|
-
* Updated the docs on --trace to indicate that it also enables a full
|
363
|
-
backtrace on errors.
|
364
|
-
|
365
|
-
== Version 0.4.14
|
366
|
-
|
367
|
-
* Modified the TestTask to workaround the Ruby 1.8.2 change in
|
368
|
-
autoexecuting unit tests.
|
369
|
-
|
370
|
-
== Version 0.4.13
|
371
|
-
|
372
|
-
* Fixed the dry-run flag so it is operating again.
|
373
|
-
* Multiple arguments to sh and ruby commands will not be interpreted
|
374
|
-
by the shell (patch provided by Jonathan Paisley).
|
375
|
-
|
376
|
-
== Version 0.4.12
|
377
|
-
|
378
|
-
* Added --silent (-s) to suppress the (in directory) rake message.
|
379
|
-
|
380
|
-
== Version 0.4.11
|
381
|
-
|
382
|
-
* Changed the "don't know how to rake" message (finally)
|
383
|
-
* Changes references to a literal "Rakefile" to reference the global
|
384
|
-
variable $rakefile (which contains the actual name of the rakefile).
|
385
|
-
|
386
|
-
== Version 0.4.10
|
387
|
-
|
388
|
-
* Added block support to the "sh" command, allowing users to take
|
389
|
-
special actions on the result of the system call. E.g.
|
390
|
-
|
391
|
-
sh "shell_command" do |ok, res|
|
392
|
-
puts "Program returned #{res.exitstatus}" if ! ok
|
393
|
-
end
|
394
|
-
|
395
|
-
== Version 0.4.9
|
396
|
-
|
397
|
-
* Switched to Jamis Buck's RDoc template.
|
398
|
-
* Removed autorequire from Rake's gem spec. This prevents the Rake
|
399
|
-
libraries from loading while using rails.
|
400
|
-
|
401
|
-
== Version 0.4.8
|
402
|
-
|
403
|
-
* Added support for .rb versions of Rakefile.
|
404
|
-
* Removed \\\n's from test task.
|
405
|
-
* Fixed Ruby 1.9 compatibility issue with FileList.
|
406
|
-
|
407
|
-
== Version 0.4.7
|
408
|
-
|
409
|
-
* Fixed problem in FileList that caused Ruby 1.9 to go into infinite
|
410
|
-
recursion. Since to_a was removed from Object, it does not need to
|
411
|
-
added back into the list of methods to rewrite in FileList. (Thanks
|
412
|
-
to Kent Sibilev for pointing this out).
|
413
|
-
|
414
|
-
== Version 0.4.6
|
415
|
-
* Removed test version of ln in FileUtils that prevented safe_ln from
|
416
|
-
using ln.
|
417
|
-
|
418
|
-
== Version 0.4.5
|
419
|
-
* Upgraded comments in TestTask.
|
420
|
-
* FileList to_s and inspect now automatically resolve pending changes.
|
421
|
-
* FileList#exclude properly returns the FileList.
|
422
|
-
|
423
|
-
== Version 0.4.4
|
424
|
-
* Fixed initialization problem with @comment.
|
425
|
-
* Now using multi -r technique in TestTask. Switch Rakefile back to
|
426
|
-
using the built-in test task macros because the rake runtime is no
|
427
|
-
longer needed.
|
428
|
-
* Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
|
429
|
-
macros.
|
430
|
-
* Allow a +test_files+ attribute in test tasks. This allows more
|
431
|
-
flexibility in specifying test files.
|
432
|
-
|
433
|
-
== Version 0.4.3
|
434
|
-
* Fixed Comment leakage.
|
435
|
-
|
436
|
-
== Version 0.4.2
|
437
|
-
* Added safe_ln that falls back to a copy if a file link is not supported.
|
438
|
-
* Package builder now uses safe_ln.
|
439
|
-
|
440
|
-
== Version 0.4.1
|
441
|
-
* Task comments are now additive, combined with "/".
|
442
|
-
* Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
|
443
|
-
|
444
|
-
== Version 0.4.0
|
445
|
-
* FileList now uses deferred loading. The file system is not searched
|
446
|
-
until the first call that needs the file names.
|
447
|
-
* VAR=VALUE options are now accepted on the command line and are
|
448
|
-
treated like environment variables. The values may be tested in a
|
449
|
-
Rakefile by referencing ENV['VAR'].
|
450
|
-
* File.mtime is now used (instead of File.new().mtime).
|
451
|
-
|
452
|
-
== Version 0.3.2.x
|
453
|
-
|
454
|
-
* Removed some hidden dependencies on rubygems. Tests now will test
|
455
|
-
gems only if they are installed.
|
456
|
-
* Removed Sys from some example files. I believe that is that last
|
457
|
-
reference to Sys outside of the contrib area.
|
458
|
-
* Updated all copyright notices to include 2004.
|
459
|
-
|
460
|
-
== Version 0.3.2
|
461
|
-
|
462
|
-
* GEM Installation now works with the application stub.
|
463
|
-
|
464
|
-
== Version 0.3.1
|
465
|
-
|
466
|
-
* FileLists now automatically ignore CVS, .bak, !
|
467
|
-
* GEM Installation now works.
|
468
|
-
|
469
|
-
== Version 0.3.0
|
470
|
-
|
471
|
-
Promoted 0.2.10.
|
472
|
-
|
473
|
-
== Version 0.2.10
|
474
|
-
General
|
475
|
-
|
476
|
-
* Added title to Rake's rdocs
|
477
|
-
* Contrib packages are no longer included in the documentation.
|
478
|
-
|
479
|
-
RDoc Issues
|
480
|
-
|
481
|
-
* Removed default for the '--main' option
|
482
|
-
* Fixed rendering of the rdoc options
|
483
|
-
* Fixed clean/clobber confusion with rerdoc
|
484
|
-
* 'title' attribute added
|
485
|
-
|
486
|
-
Package Task Library Issues
|
487
|
-
|
488
|
-
* Version (or explicit :noversion) is required.
|
489
|
-
* +package_file+ attribute is now writable
|
490
|
-
|
491
|
-
FileList Issues
|
492
|
-
|
493
|
-
* Dropped bang version of exclude. Now using ant-like include/exclude semantics.
|
494
|
-
* Enabled the "yield self" idiom in FileList#initialize.
|
495
|
-
|
496
|
-
== Version 0.2.9
|
497
|
-
|
498
|
-
This version contains numerous changes as the RubyConf.new(2003)
|
499
|
-
presentation was being prepared. The changes include:
|
500
|
-
|
501
|
-
* The monolithic rubyapp task library is in the process of being
|
502
|
-
dropped in favor of lighter weight task libraries.
|
503
|
-
|
504
|
-
== Version 0.2.7
|
505
|
-
|
506
|
-
* Added "desc" for task descriptions.
|
507
|
-
* -T will now display tasks with descriptions.
|
508
|
-
* -P will display tasks and prerequisites.
|
509
|
-
* Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
|
510
|
-
is still supported in the contrib area.
|
511
|
-
|
512
|
-
== Version 0.2.6
|
513
|
-
|
514
|
-
* Moved to RubyForge
|
515
|
-
|
516
|
-
== Version 0.2.5
|
517
|
-
|
518
|
-
* Switched to standard ruby app builder.
|
519
|
-
* Added no_match option to file matcher.
|
520
|
-
|
521
|
-
== Version 0.2.4
|
522
|
-
|
523
|
-
* Fixed indir, which neglected to actually change directories.
|
524
|
-
|
525
|
-
== Version 0.2.3
|
526
|
-
|
527
|
-
* Added rake module for a help target
|
528
|
-
* Added 'for_files' to Sys
|
529
|
-
* Added a $rakefile constant
|
530
|
-
* Added test for selecting proper rule with multiple targets.
|