Repository: flink
Updated Branches:
  refs/heads/release-0.8 bc40b1b8e -> 64ef514b6


[FLINK-5262][docs] Introduce Gemfile.lock to avoid dependency range conflicts

The Gemfile for specifying the Ruby dependencies of our documentation
has fixed dependency versions to avoid incompatible changes with
different versions of the dependencies. However, Ruby's dependency
management allows artifacts to specify ranges for dependencies. This can
be problematic.

For instance, we use 'jekyll' version 2.5.3 which depends on
'jekyll-gist' ~> 1.0 which means 1.0 >= version < 2.0. This may resolve
'jekyll-gist' 1.4.0 which depends on 'octokit' ~> 4.2 which may be 4.2
>= versions < 5.0. Too bad, 'octokit' starting with 4.4 depends on Ruby
version >= 2.0 which is not available on our build servers.

Since we already use the improved version of Rubys build system called
'bundler', we can mitigate this problem by checking in a Gemfile.lock
file which specifies the exact versions of all dependencies required to
build the docs.

This closes #2945.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/64ef514b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/64ef514b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/64ef514b

Branch: refs/heads/release-0.8
Commit: 64ef514b60d2214df5a45653d289aba4ec59f9a3
Parents: bc40b1b
Author: Maximilian Michels <[email protected]>
Authored: Mon Dec 5 14:32:11 2016 +0100
Committer: Maximilian Michels <[email protected]>
Committed: Mon Dec 5 18:12:41 2016 +0100

----------------------------------------------------------------------
 .gitignore        |  1 -
 docs/Gemfile.lock | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/64ef514b/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 9e75841..cfea221 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,5 @@ tmp
 
flink-addons/flink-avro/src/test/java/org/apache/flink/api/java/record/io/avro/generated
 /docs/api
 /docs/content
-/docs/Gemfile.lock
 /docs/.bundle
 /docs/.rubydeps

http://git-wip-us.apache.org/repos/asf/flink/blob/64ef514b/docs/Gemfile.lock
----------------------------------------------------------------------
diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock
new file mode 100644
index 0000000..bf86631
--- /dev/null
+++ b/docs/Gemfile.lock
@@ -0,0 +1,88 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    addressable (2.4.0)
+    blankslate (2.1.2.4)
+    classifier-reborn (2.0.4)
+      fast-stemmer (~> 1.0)
+    coffee-script (2.4.1)
+      coffee-script-source
+      execjs
+    coffee-script-source (1.11.1)
+    colorator (0.1)
+    execjs (2.7.0)
+    faraday (0.9.2)
+      multipart-post (>= 1.2, < 3)
+    fast-stemmer (1.0.2)
+    ffi (1.9.14)
+    jekyll (2.5.3)
+      classifier-reborn (~> 2.0)
+      colorator (~> 0.1)
+      jekyll-coffeescript (~> 1.0)
+      jekyll-gist (~> 1.0)
+      jekyll-paginate (~> 1.0)
+      jekyll-sass-converter (~> 1.0)
+      jekyll-watch (~> 1.1)
+      kramdown (~> 1.3)
+      liquid (~> 2.6.1)
+      mercenary (~> 0.3.3)
+      pygments.rb (~> 0.6.0)
+      redcarpet (~> 3.1)
+      safe_yaml (~> 1.0)
+      toml (~> 0.1.0)
+    jekyll-coffeescript (1.0.1)
+      coffee-script (~> 2.2)
+    jekyll-gist (1.4.0)
+      octokit (~> 4.3.0)
+    jekyll-paginate (1.1.0)
+    jekyll-sass-converter (1.5.0)
+      sass (~> 3.4)
+    jekyll-watch (1.5.0)
+      listen (~> 3.0, < 3.1)
+    kramdown (1.10.0)
+    libv8 (3.16.14.17)
+    liquid (2.6.3)
+    listen (3.0.8)
+      rb-fsevent (~> 0.9, >= 0.9.4)
+      rb-inotify (~> 0.9, >= 0.9.7)
+    mercenary (0.3.6)
+    multipart-post (2.0.0)
+    octokit (4.3.0)
+      sawyer (~> 0.7.0, >= 0.5.3)
+    parslet (1.5.0)
+      blankslate (~> 2.0)
+    posix-spawn (0.3.12)
+    pygments.rb (0.6.3)
+      posix-spawn (~> 0.3.6)
+      yajl-ruby (~> 1.2.0)
+    rb-fsevent (0.9.8)
+    rb-inotify (0.9.7)
+      ffi (>= 0.5.0)
+    redcarpet (3.3.4)
+    ref (2.0.0)
+    safe_yaml (1.0.4)
+    sass (3.4.22)
+    sawyer (0.7.0)
+      addressable (>= 2.3.5, < 2.5)
+      faraday (~> 0.8, < 0.10)
+    therubyracer (0.12.2)
+      libv8 (~> 3.16.14.0)
+      ref
+    toml (0.1.2)
+      parslet (~> 1.5.0)
+    yajl-ruby (1.2.1)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  jekyll (= 2.5.3)
+  kramdown (= 1.10.0)
+  pygments.rb (= 0.6.3)
+  therubyracer (= 0.12.2)
+
+RUBY VERSION
+   ruby 2.3.1p112
+
+BUNDLED WITH
+   1.13.2

Reply via email to