diff options
| author | mo khan <mo.khan@gmail.com> | 2020-12-21 15:36:18 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-12-21 15:36:18 -0700 |
| commit | 795122a46ebe0d80069344558e737093f5d2474e (patch) | |
| tree | dcf8d48fbd934ec2bc01bd74bb67c8fd6fbc6c88 | |
| parent | a4e0247551ff0e493c91c812e0ad9a3c038eee12 (diff) | |
chore: use bundler
| -rw-r--r-- | Gemfile | 10 | ||||
| -rw-r--r-- | Gemfile.lock | 18 | ||||
| -rwxr-xr-x | bin/server | 2 | ||||
| -rwxr-xr-x | bin/setup | 3 | ||||
| -rwxr-xr-x | bin/test | 2 |
5 files changed, 32 insertions, 3 deletions
@@ -0,0 +1,10 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem "graphql", "~> 1.11" +gem "rack", "~> 2.2" + +group :development, :test do + gem "rack-test", "~> 1.1" +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..3a83a38 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,18 @@ +GEM + remote: https://rubygems.org/ + specs: + graphql (1.11.6) + rack (2.2.3) + rack-test (1.1.0) + rack (>= 1.0, < 3) + +PLATFORMS + ruby + +DEPENDENCIES + graphql (~> 1.11) + rack (~> 2.2) + rack-test (~> 1.1) + +BUNDLED WITH + 2.1.4 @@ -7,4 +7,4 @@ RACK_ENV="${RACK_ENV:-development}" export RACK_ENV ./bin/setup -ruby -Ilib config.ru +bundle exec ruby -Ilib config.ru @@ -4,4 +4,5 @@ set -e cd "$(dirname "$0")/.." -gem install --conservative rack rack-test +gem install --conservative bundler +bundle install @@ -5,4 +5,4 @@ set -e cd "$(dirname "$0")/.." ./bin/setup -ruby -Ilib:test -r test_helper test/**/*.rb +bundle exec ruby -Ilib:test -r test_helper test/**/*.rb |
