Skip to content

Commit

Permalink
[GH-102] Try update i18n-js version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanG-github committed Apr 12, 2024
1 parent ec65098 commit fe32927
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ GEM
sexp_processor
coderay (1.1.3)
colored2 (3.1.2)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.0)
cork (0.3.0)
colored2 (~> 3.1)
Expand Down Expand Up @@ -186,14 +186,16 @@ GEM
addressable (~> 2.8)
rchardet (~> 1.8)
git_diff (0.4.3)
glob (0.4.1)
globalid (1.1.0)
activesupport (>= 5.0)
graphql (2.0.20)
hashdiff (1.0.1)
i18n (1.12.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
i18n-js (3.5.1)
i18n (>= 0.6.6)
i18n-js (4.2.3)
glob (>= 0.4.0)
i18n
inline_svg (1.9.0)
activesupport (>= 3.0)
nokogiri (>= 1.6)
Expand Down
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ class Application < Rails::Application

# Compress the responses to reduce the size of html/json controller responses.
config.middleware.use Rack::Deflater

# Automatically generate the `translation.js` files
config.middleware.use I18n::JS::Middleware
end
end
25 changes: 12 additions & 13 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `rails
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
# This file is the source Rails uses to define your schema when running `bin/rails
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[6.1].define(version: 2021_06_18_041839) do

ActiveRecord::Schema[7.0].define(version: 2021_06_18_041839) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"

Expand All @@ -21,8 +20,8 @@
t.text "token", null: false
t.integer "expires_in", null: false
t.text "redirect_uri", null: false
t.datetime "created_at", null: false
t.datetime "revoked_at"
t.datetime "created_at", precision: nil, null: false
t.datetime "revoked_at", precision: nil
t.string "scopes", default: "", null: false
t.index ["application_id"], name: "index_oauth_access_grants_on_application_id"
t.index ["resource_owner_id"], name: "index_oauth_access_grants_on_resource_owner_id"
Expand All @@ -35,8 +34,8 @@
t.text "token", null: false
t.string "refresh_token"
t.integer "expires_in"
t.datetime "revoked_at"
t.datetime "created_at", null: false
t.datetime "revoked_at", precision: nil
t.datetime "created_at", precision: nil, null: false
t.string "scopes"
t.string "previous_refresh_token", default: "", null: false
t.index ["application_id"], name: "index_oauth_access_tokens_on_application_id"
Expand All @@ -52,18 +51,18 @@
t.text "redirect_uri"
t.string "scopes", default: "", null: false
t.boolean "confidential", default: true, null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["uid"], name: "index_oauth_applications_on_uid", unique: true
end

create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.datetime "reset_password_sent_at", precision: nil
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
Expand Down

0 comments on commit fe32927

Please sign in to comment.