1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

upgrade authie to 3.0

هذا الالتزام موجود في:
Adam Cooke
2017-04-21 20:55:05 +01:00
الأصل 2f0155747c
التزام 6f8b431ab5
5 ملفات معدلة مع 16 إضافات و9 حذوفات

عرض الملف

@@ -14,7 +14,7 @@ gem 'kaminari'
gem 'bcrypt'
gem 'foreman'
gem 'hashie'
gem 'authie', :git => "git@codebasehq.com:atechmedia/libs/authie"
gem 'authie', '~> 3.0'
gem 'dynamic_form'
gem 'changey'
gem 'mail'

عرض الملف

@@ -1,9 +1,3 @@
GIT
remote: git@codebasehq.com:atechmedia/libs/authie
revision: 045adc2e54e3ec6ced99ad49356da6397dd62542
specs:
authie (3.0.0)
GIT
remote: https://github.com/adamcooke/moonrope
revision: fe5d5de38a35c36416f256a41902a6984e147fe5
@@ -66,6 +60,7 @@ GEM
activerecord (>= 3.2, < 6.0)
rake (>= 10.4, < 12.0)
arel (7.1.4)
authie (3.0.0)
autoprefixer-rails (6.5.0.2)
execjs
basic_ssl (1.0.3)
@@ -217,7 +212,7 @@ PLATFORMS
DEPENDENCIES
acme-client!
annotate
authie!
authie (~> 3.0)
autoprefixer-rails
basic_ssl
bcrypt

عرض الملف

@@ -0,0 +1,5 @@
# This migration comes from authie (originally 20170417170000)
class AddTokenHashesToAuthieSessions < ActiveRecord::Migration
def change
end
end

عرض الملف

@@ -0,0 +1,6 @@
# This migration comes from authie (originally 20170421174100)
class AddIndexToTokenHashesOnAuthieSessions < ActiveRecord::Migration
def change
add_index :authie_sessions, :token_hash
end
end

عرض الملف

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170418200606) do
ActiveRecord::Schema.define(version: 20170421195415) do
create_table "additional_route_endpoints", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
t.integer "route_id"
@@ -53,6 +53,7 @@ ActiveRecord::Schema.define(version: 20170418200606) do
t.string "token_hash"
t.index ["browser_id"], name: "index_authie_sessions_on_browser_id", length: { browser_id: 8 }, using: :btree
t.index ["token"], name: "index_authie_sessions_on_token", length: { token: 8 }, using: :btree
t.index ["token_hash"], name: "index_authie_sessions_on_token_hash", using: :btree
t.index ["user_id"], name: "index_authie_sessions_on_user_id", using: :btree
end