未验证 提交 ba495e54 编写于 作者: T Trevor Brown 提交者: GitHub

Merge pull request #177 from thinca/fix-116

Ignore Gemfile that has not strict specification
......@@ -10,7 +10,8 @@ get_legacy_version() {
-e 's/engine:/:engine =>/' -e 's/engine_version:/:engine_version =>/' \
-e "s/.*:engine *=> *['\"]\([^'\"]*\).*:engine_version *=> *['\"]\([^'\"]*\).*/\1-\2/" \
-e "s/.*:engine_version *=> *['\"]\([^'\"]*\).*:engine *=> *['\"]\([^'\"]*\).*/\2-\1/" \
-e "s/ *ruby *['\"]\([^'\"]*\).*/\1/" |
-e "s/ *ruby *['\"]\([^'\"]*\).*/\1/" \
-e "/^[^0-9]/d" |
head -1)
elif [ "$basename" == ".ruby-version" ]; then
# Get version from .ruby-version file (filters out 'ruby-' prefix if it exists).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册