diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 00:18:45 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 00:18:45 +0200 |
commit | 0b6a7bafaef612793fa9cdf0646cbb47ffe0e583 (patch) | |
tree | 3a1aaea2c581673aa34eb7502fcaad22c18b4815 | |
parent | 046c210e91fc03e1c670a0a28ea4849968c77056 (diff) | |
download | incommon-map-0b6a7bafaef612793fa9cdf0646cbb47ffe0e583.tar.gz |
Use Discourse API gem
We use the DiscourseApi::Client to interact with https://talk.incommon.cc
discourse_api: https://meta.discourse.org/t/using-the-discourse-api-ruby-gem/17587
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Gemfile.lock | 10 |
2 files changed, 12 insertions, 0 deletions
@@ -25,6 +25,8 @@ gem 'jbuilder', '~> 2.7' # Use bitfields in models gem 'bitfields' +# Use Discourse API +gem 'discourse_api' # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.4.2', require: false diff --git a/Gemfile.lock b/Gemfile.lock index dc66e9a..60d9b9a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -66,7 +66,15 @@ GEM coderay (1.1.3) concurrent-ruby (1.1.7) crass (1.0.6) + discourse_api (0.42.0) + faraday (~> 1.0) + faraday_middleware (~> 1.0) + rack (>= 1.6) erubi (1.9.0) + faraday (1.0.1) + multipart-post (>= 1.2, < 3) + faraday_middleware (1.0.0) + faraday (~> 1.0) ffi (1.13.1) globalid (0.4.2) activesupport (>= 4.2.0) @@ -90,6 +98,7 @@ GEM mini_portile2 (2.4.0) minitest (5.14.2) msgpack (1.3.3) + multipart-post (2.1.1) nio4r (2.5.4) nokogiri (1.10.10) mini_portile2 (~> 2.4.0) @@ -186,6 +195,7 @@ DEPENDENCIES bitfields bootsnap (>= 1.4.2) byebug + discourse_api jbuilder (~> 2.7) listen (~> 3.2) pg (>= 0.18, < 2.0) |