Эх сурвалжийг харах

Add new ruby-bundler test

Tianon Gravi 11 жил өмнө
parent
commit
561c3f9605

+ 2 - 1
test/config.sh

@@ -18,8 +18,9 @@ declare -A imageTests=(
 		python-zlib
 	'
 	[ruby]='
-		ruby-gems
 		ruby-standard-libs
+		ruby-gems
+		ruby-bundler
 	'
 # example onbuild
 #	[python:onbuild]='

+ 4 - 0
test/tests/ruby-bundler/Gemfile

@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+gem 'nokogiri'
+gem 'rack', '~>1.1'
+gem 'rspec', :require => 'spec'

+ 28 - 0
test/tests/ruby-bundler/Gemfile.lock

@@ -0,0 +1,28 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    diff-lcs (1.2.5)
+    mini_portile (0.6.2)
+    nokogiri (1.6.5)
+      mini_portile (~> 0.6.0)
+    rack (1.6.0)
+    rspec (3.1.0)
+      rspec-core (~> 3.1.0)
+      rspec-expectations (~> 3.1.0)
+      rspec-mocks (~> 3.1.0)
+    rspec-core (3.1.7)
+      rspec-support (~> 3.1.0)
+    rspec-expectations (3.1.2)
+      diff-lcs (>= 1.2.0, < 2.0)
+      rspec-support (~> 3.1.0)
+    rspec-mocks (3.1.3)
+      rspec-support (~> 3.1.0)
+    rspec-support (3.1.2)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  nokogiri
+  rack (~> 1.1)
+  rspec

+ 4 - 0
test/tests/ruby-bundler/container.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+
+bundle

+ 1 - 0
test/tests/ruby-bundler/run.sh

@@ -0,0 +1 @@
+../run-bash-in-container.sh