Skip to content

Commit

Permalink
Add graphql and rack-contrib
Browse files Browse the repository at this point in the history
* graphql to define graphql schema with dsl
* rack-contrib for Rack::PostBodyContentTypeParser which parses raw json
* request payloads into params
  • Loading branch information
awinabi committed Feb 24, 2018
1 parent 47cfd25 commit 700f21c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ source 'https://rubygems.org'
gem 'sinatra'
gem 'sinatra-contrib'
gem 'sinatra-activerecord'
gem 'graphql'
gem 'puma'
gem 'rake'
gem 'rack-contrib'

group :development do
gem 'sqlite3'
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ GEM
backports (3.11.1)
coderay (1.1.2)
concurrent-ruby (1.0.5)
graphql (1.7.12)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
method_source (0.9.0)
Expand All @@ -27,6 +28,8 @@ GEM
method_source (~> 0.9.0)
puma (3.11.2)
rack (2.0.4)
rack-contrib (2.0.1)
rack (~> 2.0)
rack-protection (2.0.1)
rack
rake (12.3.0)
Expand Down Expand Up @@ -55,8 +58,10 @@ PLATFORMS
ruby

DEPENDENCIES
graphql
pry
puma
rack-contrib
rake
sinatra
sinatra-activerecord
Expand Down

0 comments on commit 700f21c

Please sign in to comment.