diff --git a/Gemfile b/Gemfile index df6f772a13e2f24f311b16eb7f0ede426128f59a..327f358c466fa70f93d266df4914a1fbe647b145 100644 --- a/Gemfile +++ b/Gemfile @@ -39,6 +39,7 @@ gem "mini_magick" gem "octokit" gem "omniauth-rails_csrf_protection", "~> 1.0" gem "omniauth-saml", "~> 2.0" +gem "pexels", "~> 0.5.0" gem "pg", "~> 1.1" gem "puma" gem "rails", "~> 7.0" diff --git a/Gemfile.lock b/Gemfile.lock index c3bd4d1f7a42ce219d896052fbaac53ae33ffc30..fb1b1ce7973b280eb36202aa9e5c3c3468e1937c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -344,6 +344,8 @@ GEM omniauth (~> 2.0) ruby-saml (~> 1.12) orm_adapter (0.5.0) + pexels (0.5.0) + requests (~> 1.0.2) pg (1.4.5) popper_js (2.11.6) public_suffix (5.0.1) @@ -394,6 +396,7 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) regexp_parser (2.6.1) + requests (1.0.2) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) @@ -556,6 +559,7 @@ DEPENDENCIES octokit omniauth-rails_csrf_protection (~> 1.0) omniauth-saml (~> 2.0) + pexels (~> 0.5.0) pg (~> 1.1) puma rack-mini-profiler (~> 2.0) diff --git a/config/application.sample.yml b/config/application.sample.yml index c0a9ec205d473aeefc0aa5f03fd6fbd861c56a7b..62eda17c7c98dc16b035b09b41607e74322a442f 100644 --- a/config/application.sample.yml +++ b/config/application.sample.yml @@ -26,6 +26,7 @@ SMTP_PASSWORD: UNSPLASH_ACCESS_KEY: UNSPLASH_SECRET: +PEXELS_API_KEY: # Pour les tests automatisés TEST_GITHUB_BRANCH: