Skip to content

Commit

Permalink
Merge branch 'master' into fix-def-indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRadev committed Apr 21, 2012
2 parents 00ecb05 + 30c6aee commit 8577baf
Show file tree
Hide file tree
Showing 13 changed files with 87 additions and 393 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
doc/tags
1 change: 1 addition & 0 deletions bin/vim-ruby-install.rb
Expand Up @@ -431,6 +431,7 @@ def path
puts
puts "Target directory '#{target_dir}' does not exist."
response = Env.ask_user "Do you want to create it? [Yn] "
response = "y" if response.empty?
if response.strip =~ /^y(es)?$/i
FileUtils.mkdir_p(target_dir, :verbose => true)
else
Expand Down
25 changes: 25 additions & 0 deletions etc/examples/indent/blocks.rb
@@ -0,0 +1,25 @@
proc do |(a, b)|
puts a
puts b
end

proc do |foo, (a, b), bar|
puts a
puts b
end

define_method "something" do |param|
if param == 42
do_something
else
do_something_else
end
end

def foo
opts.on('--coordinator host=HOST[,port=PORT]',
'Specify the HOST and the PORT of the coordinator') do |str|
h = sub_opts_to_hash(str)
puts h
end
end
6 changes: 0 additions & 6 deletions etc/examples/indent/continuation_blocks.rb

This file was deleted.

8 changes: 4 additions & 4 deletions etc/examples/indent/nested_hashes.rb
Expand Up @@ -35,7 +35,7 @@ class Foo
foo,
bar = {
:bar => {
:foo { 'bar' => 'baz' },
:foo => { 'bar' => 'baz' },
:one => 'two',
:three => 'four'
}
Expand All @@ -46,8 +46,8 @@ class Foo
var.
func1(:param => 'value') {
func1_5(:param => 'value')
var.func2(:param => 'value') {
puts "test"
}
var.func2(:param => 'value') {
puts "test"
}
}
end
12 changes: 0 additions & 12 deletions etc/release/README

This file was deleted.

167 changes: 0 additions & 167 deletions etc/release/cvsrelease

This file was deleted.

19 changes: 0 additions & 19 deletions etc/release/release.sh

This file was deleted.

34 changes: 0 additions & 34 deletions etc/website/djk-theme.css

This file was deleted.

0 comments on commit 8577baf

Please sign in to comment.