doc 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'doc'
5
- s.version = '0.2.3'
5
+ s.version = '0.2.4'
6
6
  s.summary = %q{Get all ruby documentation in one place}
7
7
  s.description = %Q{Generate `Rakefile` with `docr` and get searchable documentation for ruby, rails, gems, plugins and all other ruby code in one place}
8
8
  s.homepage = "http://github.com/toy/#{s.name}"
@@ -17,11 +17,11 @@ module Doc
17
17
 
18
18
  def run
19
19
  command_string = command.length == 1 ? command.first : command.map(&:to_s).shelljoin
20
- puts "cd #{Dir.pwd.shellescape}; #{command_string}"
21
20
  output = IO.popen("#{command_string} 2>&1", &:read)
22
21
  @status = $?
23
22
  status.success? || begin
24
- print output
23
+ $stderr.puts "cd #{Dir.pwd.shellescape}; #{command_string}"
24
+ $stderr.puts output
25
25
  case
26
26
  when status.signaled?
27
27
  if status.termsig == 2
@@ -17,7 +17,10 @@ module Doc
17
17
  RUBY
18
18
 
19
19
  def run
20
- tasks.with_progress('build').each(&:run)
20
+ tasks.with_progress('build').each do |task|
21
+ Progress.note = task.dir_name
22
+ task.run
23
+ end
21
24
  super(failed_state_changed?)
22
25
  write_failed_state if succeeded?
23
26
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Kuchin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-14 00:00:00 Z
18
+ date: 2011-12-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sdoc