Skip to content

Commit

Permalink
Updating Sinatra to support pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
alaxalves committed Apr 14, 2020
1 parent 1ed55b4 commit 4ec051c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -12,16 +12,12 @@ services:

cache:
directories:
- /usr/share
- /usr/bin
- vendor/.bundle

install:
- sudo ./scripts/install-deps.sh
- bundle install --path vendor/.bundle

script:
docker run mapknitter-exporter bundle exec rspec
jobs:
include:
- name: "Exporter Tests"
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -13,9 +13,10 @@
# limitations under the License.


gem "sinatra"
gem "sinatra", "2.0.8.1"
gem "sinatra-cors"
gem "nokogiri"
gem "pandoc-ruby"

gem "fog-google"
gem "fog-local"
Expand Down
16 changes: 10 additions & 6 deletions Gemfile.lock
Expand Up @@ -54,13 +54,15 @@ GEM
mini_portile2 (2.4.0)
multi_json (1.13.1)
multipart-post (2.0.0)
mustermann (1.0.3)
mustermann (1.1.1)
ruby2_keywords (~> 0.0.1)
nokogiri (1.10.0)
mini_portile2 (~> 2.4.0)
os (1.0.1)
pandoc-ruby (2.1.4)
public_suffix (3.0.3)
rack (2.0.7)
rack-protection (2.0.5)
rack-protection (2.0.8.1)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
Expand All @@ -82,18 +84,19 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
ruby2_keywords (0.0.2)
signet (0.11.0)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
sinatra (2.0.5)
sinatra (2.0.8.1)
mustermann (~> 1.0)
rack (~> 2.0)
rack-protection (= 2.0.5)
rack-protection (= 2.0.8.1)
tilt (~> 2.0)
sinatra-cors (1.1.0)
tilt (2.0.9)
tilt (2.0.10)
uber (0.1.0)

PLATFORMS
Expand All @@ -104,9 +107,10 @@ DEPENDENCIES
fog-local
mapknitter-exporter (~> 1.0.9)
nokogiri
pandoc-ruby
rack-test
rspec
sinatra
sinatra (= 2.0.8.1)
sinatra-cors

BUNDLED WITH
Expand Down
5 changes: 3 additions & 2 deletions scripts/install-deps.sh
@@ -1,9 +1,10 @@
#!/bin/bash

apt-get update -qq && \
apt-get install -y --no-install-recommends \
apt-get install -y \
gdal-bin \
python-gdal \
build-essential \
git \
imagemagick
pandoc \
imagemagick

0 comments on commit 4ec051c

Please sign in to comment.