Skip to content
Permalink
Browse files

Doc update

  • Loading branch information...
pitr-ch committed Mar 11, 2019
1 parent 3b203a7 commit ffed3c3c0518030b0ed245637703089fa1f0eeee
Showing 357 changed files with 157,649 additions and 738 deletions.
@@ -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
@@ -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'
@@ -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
@@ -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
@@ -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"]
```

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -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.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit ffed3c3

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.