Skip to content

Commit

Permalink
Merge pull request #28 from gosuperfast/add/posting-functionality
Browse files Browse the repository at this point in the history
Add/posting functionality
  • Loading branch information
ChunKitJonathanChan authored Jan 8, 2025
2 parents ccf39e1 + a71ba2c commit 2621dba
Show file tree
Hide file tree
Showing 30 changed files with 922 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Omakase Ruby styling for Rails
inherit_gem: { rubocop-rails-omakase: rubocop.yml }
# inherit_gem: { rubocop-rails-omakase: rubocop.yml }

# Overwrite or add rules to create your own house style
#
Expand Down
52 changes: 26 additions & 26 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
source "https://rubygems.org"
source 'https://rubygems.org'

Check failure on line 1 in Gemfile

View workflow job for this annotation

GitHub Actions / lint

Style/FrozenStringLiteralComment: Missing frozen string literal comment.

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 8.0.0"
gem 'rails', '~> 8.0.0'
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
gem "propshaft"
gem 'propshaft'
# Use postgresql as the database for Active Record
gem "pg", "~> 1.1"
gem 'pg', '~> 1.1'
# Use the Puma web server [https://github.com/puma/puma]
gem "puma", ">= 5.0"
gem 'puma', '>= 5.0'
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"
gem 'importmap-rails'
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem "turbo-rails"
gem 'turbo-rails'
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "stimulus-rails"
gem 'stimulus-rails'
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
gem "jbuilder"
gem 'jbuilder'

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ windows jruby ]
gem 'tzinfo-data', platforms: %i[windows jruby]

# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable
gem "solid_cache"
gem "solid_queue"
gem "solid_cable"
gem 'solid_cable'
gem 'solid_cache'
gem 'solid_queue'

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false
gem 'bootsnap', require: false

# Deploy this application anywhere as a Docker container [https://kamal-deploy.org]
gem "kamal", require: false
gem 'kamal', require: false

# Add HTTP asset caching/compression and X-Sendfile acceleration to Puma [https://github.com/basecamp/thruster/]
gem "thruster", require: false
gem 'thruster', require: false

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"
gem 'image_processing', '~> 1.2'

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
gem 'debug', platforms: %i[mri windows], require: 'debug/prelude'

# Static analysis for security vulnerabilities [https://brakemanscanner.org/]
gem "brakeman", require: false
gem 'brakeman', require: false

# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
gem "rubocop-rails-omakase", require: false
gem 'rubocop-rails-omakase', require: false
end

group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem "web-console"
gem 'web-console'
end

group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
gem "selenium-webdriver"
gem 'capybara'
gem 'selenium-webdriver'
end

gem "tailwindcss-rails", "~> 3.0"
gem 'tailwindcss-rails', '~> 3.0'

gem "devise", "~> 4.9"
gem 'devise', '~> 4.9'

gem "simple_form", "~> 5.3"
gem 'simple_form', '~> 5.3'
17 changes: 17 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ GEM
bcrypt (3.1.20)
bcrypt_pbkdf (1.1.1)
bcrypt_pbkdf (1.1.1-x64-mingw-ucrt)
bcrypt_pbkdf (1.1.1-x86_64-darwin)
benchmark (0.4.0)
bigdecimal (3.1.8)
bindex (0.8.1)
Expand Down Expand Up @@ -115,13 +116,19 @@ GEM
erubi (1.13.0)
et-orbi (1.2.11)
tzinfo
ffi (1.17.1-x64-mingw-ucrt)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
fugit (1.11.1)
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
image_processing (1.13.0)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
importmap-rails (2.0.3)
actionpack (>= 6.0.0)
activesupport (>= 6.0.0)
Expand Down Expand Up @@ -157,6 +164,7 @@ GEM
net-smtp
marcel (1.0.4)
matrix (0.4.2)
mini_magick (4.13.2)
mini_mime (1.1.5)
minitest (5.25.4)
msgpack (1.7.5)
Expand All @@ -177,6 +185,8 @@ GEM
nio4r (2.7.4)
nokogiri (1.16.8-x64-mingw-ucrt)
racc (~> 1.4)
nokogiri (1.16.8-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.8-x86_64-linux)
racc (~> 1.4)
orm_adapter (0.5.0)
Expand Down Expand Up @@ -276,6 +286,9 @@ GEM
rubocop-performance
rubocop-rails
ruby-progressbar (1.13.0)
ruby-vips (2.2.2)
ffi (~> 1.12)
logger
rubyzip (2.3.2)
securerandom (0.4.0)
selenium-webdriver (4.27.0)
Expand Down Expand Up @@ -316,9 +329,11 @@ GEM
railties (>= 7.0.0)
tailwindcss-ruby
tailwindcss-ruby (3.4.16-x64-mingw-ucrt)
tailwindcss-ruby (3.4.16-x86_64-darwin)
tailwindcss-ruby (3.4.16-x86_64-linux)
thor (1.3.2)
thruster (0.1.9)
thruster (0.1.9-x86_64-darwin)
thruster (0.1.9-x86_64-linux)
timeout (0.4.2)
turbo-rails (2.0.11)
Expand Down Expand Up @@ -350,6 +365,7 @@ GEM

PLATFORMS
x64-mingw-ucrt
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
Expand All @@ -358,6 +374,7 @@ DEPENDENCIES
capybara
debug
devise (~> 4.9)
image_processing (~> 1.2)
importmap-rails
jbuilder
kamal
Expand Down
2 changes: 1 addition & 1 deletion app/assets/builds/tailwind.css

Large diffs are not rendered by default.

Binary file added app/assets/images/empty-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2621dba

Please sign in to comment.