Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
pitr-ch committed Mar 11, 2019
1 parent 3b203a7 commit ffed3c3
Show file tree
Hide file tree
Showing 357 changed files with 157,649 additions and 738 deletions.
14 changes: 11 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ begin
namespace :spec do
desc '* Configured for ci'
RSpec::Core::RakeTask.new(:ci) do |t|
options = %w[ --color
options = %w[ --color
--backtrace
--order defined
--format documentation
Expand Down Expand Up @@ -98,7 +98,7 @@ rescue LoadError => e
puts 'RSpec is not installed, skipping test task definitions: ' + e.message
end

current_yard_version_name = [*Concurrent::VERSION.split('.')[0..1], 'x'].join('.')
current_yard_version_name = Concurrent::VERSION

begin
require 'yard'
Expand Down Expand Up @@ -196,7 +196,15 @@ begin
begin
FileUtils.cp_r 'docs', 'docs-copy', verbose: true
Rake::Task["yard:#{name}"].invoke
sh 'diff -r docs/ docs-copy/'
sh 'diff -r docs/ docs-copy/' do |ok, res|
unless ok
begin
STDOUT.puts 'Command failed. Continue? (y/n)'
input = STDIN.gets.strip.downcase
end until %w(y n).include?(input)
exit 1 if input == 'n'
end
end
ensure
FileUtils.rm_rf 'docs-copy', verbose: true
end
Expand Down
20 changes: 10 additions & 10 deletions docs-source/channel.out.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,16 @@ log
# "producer 1 pushing 0",
# "consumer 0 got 0. payload 0 from producer 0",
# "consumer 1 got 0. payload 1 from producer 0",
# "consumer 2 got 0. payload 2 from producer 0",
# "consumer 3 got 0. payload 0 from producer 1",
# "producer 0 pushing 3",
# "producer 1 pushing 1",
# "consumer 3 got 0. payload 2 from producer 0",
# "producer 1 pushing 2",
# "consumer 2 got 0. payload 0 from producer 1",
# "consumer 0 got 1. payload 3 from producer 0",
# "consumer 1 got 1. payload 1 from producer 1",
# "consumer 3 got 1. payload 2 from producer 1",
# "producer 1 pushing 3",
# "producer 0 pushing 3",
# "consumer 0 got 1. payload 1 from producer 1",
# "consumer 1 got 1. payload 2 from producer 1",
# "consumer 3 got 1. payload 3 from producer 1",
# "consumer 2 got 1. payload 3 from producer 0"]
# "consumer 2 got 1. payload 3 from producer 1"]
```

The producers are much faster than consumers
Expand Down Expand Up @@ -279,9 +279,9 @@ log
# "producer 1 pushing 2",
# "producer 0 pushing 3",
# "producer 1 pushing 3",
# "consumer 0 got 1. payload 2 from producer 1",
# "consumer 2 got 1. payload 3 from producer 0",
# "consumer 1 got 1. payload 2 from producer 0",
# "consumer 0 got 1. payload 2 from producer 0",
# "consumer 2 got 1. payload 2 from producer 1",
# "consumer 1 got 1. payload 3 from producer 0",
# "consumer 3 got 1. payload 3 from producer 1"]
```

Expand Down
697 changes: 354 additions & 343 deletions docs-source/medium-example.out.rb

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions docs-source/signpost.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ConcurrentRuby API documentation

Pick a version:
Pick a `concurrent-ruby` version:

* [master](./master/index.html)
* [1.1.4](./1.1.x/index.html)
* [1.0.5](./1.0.5/index.html)
* [1.1.5 with edge 0.5.0](./1.1.5/index.html)
* [1.1.4 with edge 0.4.1](./1.1.4/index.html)
* [1.0.5 with edge 0.3.1](./1.0.5/index.html)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2,677 changes: 2,677 additions & 0 deletions docs/1.1.5/Concurrent.html

Large diffs are not rendered by default.

1,302 changes: 1,302 additions & 0 deletions docs/1.1.5/Concurrent/Actor.html

Large diffs are not rendered by default.

Loading

0 comments on commit ffed3c3

Please sign in to comment.