Add bundler

This commit is contained in:
Hexaitos 2024-11-11 23:31:18 +01:00
parent fe7de97fb6
commit d76e981d13
3 changed files with 67 additions and 0 deletions

7
Gemfile Normal file
View File

@ -0,0 +1,7 @@
source 'https://rubygems.org'
gem 'json'
gem 'faraday'
gem 'sinatra'
gem 'sinatra-namespace'
gem 'thin'

57
Gemfile.lock Normal file
View File

@ -0,0 +1,57 @@
GEM
remote: https://rubygems.org/
specs:
base64 (0.2.0)
daemons (1.4.1)
eventmachine (1.2.7)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
json
logger
faraday-net_http (3.3.0)
net-http
json (2.8.1)
logger (1.6.1)
multi_json (1.15.0)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
net-http (0.5.0)
uri
rack (2.2.10)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
ruby2_keywords (0.0.5)
sinatra (3.2.0)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0)
tilt (~> 2.0)
sinatra-contrib (3.2.0)
multi_json (>= 0.0.2)
mustermann (~> 3.0)
rack-protection (= 3.2.0)
sinatra (= 3.2.0)
tilt (~> 2.0)
sinatra-namespace (1.0)
sinatra-contrib
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
tilt (2.4.0)
uri (1.0.1)
PLATFORMS
arm64-darwin-24
ruby
DEPENDENCIES
faraday
json
sinatra
sinatra-namespace
thin
BUNDLED WITH
2.5.19

View File

@ -1,7 +1,10 @@
require 'bundler/setup'
require 'json'
require 'faraday'
require 'sinatra'
require 'sinatra/namespace'
require 'thin'
require_relative 'get_images_by_category.rb'
require_relative 'get_random_image.rb'