Skip to content

Commit 9819e68

Browse files
authored
Fix YARD build in Ruby 2.0.0 (googleapis#2125)
Pin kramdown to < 1.17.0.
1 parent bf75c22 commit 9819e68

34 files changed

Lines changed: 34 additions & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
5858
# We think this is because of a bug in Bundler 1.6.
5959
# Specify a viable version to allow the build to succeed.
6060
gem "jwt", "~> 1.5"
61+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
6162
end
6263

6364
# WORKAROUND: builds are having problems since the release of 3.0.0

gcloud/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
4040
# We think this is because of a bug in Bundler 1.6.
4141
# Specify a viable version to allow the build to succeed.
4242
gem "jwt", "~> 1.5"
43+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
4344
end
4445

4546
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-bigquery-data_transfer/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1111
# We think this is because of a bug in Bundler 1.6.
1212
# Specify a viable version to allow the build to succeed.
1313
gem "jwt", "~> 1.5"
14+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1415
end
1516

1617
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-bigquery/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1414
# We think this is because of a bug in Bundler 1.6.
1515
# Specify a viable version to allow the build to succeed.
1616
gem "jwt", "~> 1.5"
17+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1718
end
1819

1920
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-bigtable/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1313
# Ruby 2.0. We think this is because of a bug in Bundler 1.6. Specify a viable
1414
# version to allow the build to succeed.
1515
gem "jwt", "~> 1.5"
16+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1617
end
1718

1819
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-container/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1111
# We think this is because of a bug in Bundler 1.6.
1212
# Specify a viable version to allow the build to succeed.
1313
gem "jwt", "~> 1.5"
14+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1415
end
1516

1617
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-core/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1414
# We think this is because of a bug in Bundler 1.6.
1515
# Specify a viable version to allow the build to succeed.
1616
gem "jwt", "~> 1.5"
17+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1718
end
1819

1920
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-dataproc/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1111
# We think this is because of a bug in Bundler 1.6.
1212
# Specify a viable version to allow the build to succeed.
1313
gem "jwt", "~> 1.5"
14+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1415
end
1516

1617
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-datastore/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1313
# We think this is because of a bug in Bundler 1.6.
1414
# Specify a viable version to allow the build to succeed.
1515
gem "jwt", "~> 1.5"
16+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
1617
end
1718

1819
# WORKAROUND: builds are having problems since the release of 3.0.0

google-cloud-debugger/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1")
1717
# We think this is because of a bug in Bundler 1.6.
1818
# Specify a viable version to allow the build to succeed.
1919
gem "jwt", "~> 1.5"
20+
gem "kramdown", "< 1.17.0" # Error in yard with 1.17.0
2021
end
2122

2223
# WORKAROUND: builds are having problems since the release of 3.0.0

0 commit comments

Comments
 (0)