Template of a custom feed generator service for the Bluesky network in Ruby

updated AR to 8.0 and sqlite to 2.6

Changed files
+37 -23
db
+1 -1
Gemfile
··· 3 3 gem 'blue_factory', '~> 0.1', '>= 0.1.4' 4 4 gem 'skyfall', '~> 0.2', '>= 0.2.3' 5 5 6 - gem 'activerecord', '~> 6.0' 6 + gem 'activerecord', '~> 8.0' 7 7 gem 'sinatra-activerecord', '~> 2.0' 8 8 gem 'sqlite3' 9 9 gem 'rake'
+33 -17
Gemfile.lock
··· 1 1 GEM 2 2 remote: https://rubygems.org/ 3 3 specs: 4 - activemodel (6.1.7.6) 5 - activesupport (= 6.1.7.6) 6 - activerecord (6.1.7.6) 7 - activemodel (= 6.1.7.6) 8 - activesupport (= 6.1.7.6) 9 - activesupport (6.1.7.6) 10 - concurrent-ruby (~> 1.0, >= 1.0.2) 4 + activemodel (8.0.2) 5 + activesupport (= 8.0.2) 6 + activerecord (8.0.2) 7 + activemodel (= 8.0.2) 8 + activesupport (= 8.0.2) 9 + timeout (>= 0.4.0) 10 + activesupport (8.0.2) 11 + base64 12 + benchmark (>= 0.3) 13 + bigdecimal 14 + concurrent-ruby (~> 1.0, >= 1.3.1) 15 + connection_pool (>= 2.2.5) 16 + drb 11 17 i18n (>= 1.6, < 2) 18 + logger (>= 1.4.2) 12 19 minitest (>= 5.1) 13 - tzinfo (~> 2.0) 14 - zeitwerk (~> 2.3) 20 + securerandom (>= 0.3) 21 + tzinfo (~> 2.0, >= 2.0.5) 22 + uri (>= 0.13.1) 15 23 base32 (0.3.4) 24 + base64 (0.2.0) 25 + benchmark (0.4.0) 26 + bigdecimal (3.1.9) 16 27 blue_factory (0.1.4) 17 28 sinatra (~> 3.0) 18 29 capistrano (2.15.11) ··· 22 33 net-ssh (>= 2.0.14) 23 34 net-ssh-gateway (>= 1.1.0) 24 35 cbor (0.5.9.8) 25 - concurrent-ruby (1.2.2) 36 + concurrent-ruby (1.3.5) 37 + connection_pool (2.5.0) 26 38 daemons (1.4.1) 39 + drb (2.2.1) 27 40 eventmachine (1.2.7) 28 41 faye-websocket (0.11.3) 29 42 eventmachine (>= 0.12.0) 30 43 websocket-driver (>= 0.5.1) 31 44 highline (2.1.0) 32 - i18n (1.14.1) 45 + i18n (1.14.7) 33 46 concurrent-ruby (~> 1.0) 34 - minitest (5.20.0) 47 + logger (1.6.6) 48 + minitest (5.25.5) 35 49 mustermann (3.0.0) 36 50 ruby2_keywords (~> 0.0.1) 37 51 net-scp (4.0.0) ··· 47 61 rainbow (3.1.1) 48 62 rake (13.1.0) 49 63 ruby2_keywords (0.0.5) 64 + securerandom (0.4.1) 50 65 sinatra (3.1.0) 51 66 mustermann (~> 3.0) 52 67 rack (~> 2.2, >= 2.2.4) 53 68 rack-protection (= 3.1.0) 54 69 tilt (~> 2.0) 55 - sinatra-activerecord (2.0.27) 70 + sinatra-activerecord (2.0.28) 56 71 activerecord (>= 4.1) 57 72 sinatra (>= 1.0) 58 73 skyfall (0.2.3) 59 74 base32 (~> 0.3, >= 0.3.4) 60 75 cbor (~> 0.5, >= 0.5.9.6) 61 76 faye-websocket (~> 0.11.2) 62 - sqlite3 (1.6.7-arm64-darwin) 63 - sqlite3 (1.6.7-x86_64-linux) 77 + sqlite3 (2.6.0-arm64-darwin) 78 + sqlite3 (2.6.0-x86_64-linux-gnu) 64 79 thin (1.8.2) 65 80 daemons (~> 1.0, >= 1.0.9) 66 81 eventmachine (~> 1.0, >= 1.0.4) 67 82 rack (>= 1, < 3) 68 83 tilt (2.3.0) 84 + timeout (0.4.3) 69 85 tzinfo (2.0.6) 70 86 concurrent-ruby (~> 1.0) 87 + uri (1.0.3) 71 88 websocket-driver (0.7.6) 72 89 websocket-extensions (>= 0.1.0) 73 90 websocket-extensions (0.1.5) 74 - zeitwerk (2.6.12) 75 91 76 92 PLATFORMS 77 93 arm64-darwin 78 94 x86_64-linux 79 95 80 96 DEPENDENCIES 81 - activerecord (~> 6.0) 97 + activerecord (~> 8.0) 82 98 blue_factory (~> 0.1, >= 0.1.4) 83 99 capistrano (~> 2.0) 84 100 rainbow
+3 -5
db/schema.rb
··· 10 10 # 11 11 # It's strongly recommended that you check this file into your version control system. 12 12 13 - ActiveRecord::Schema.define(version: 2023_08_02_222353) do 14 - 13 + ActiveRecord::Schema[8.0].define(version: 2023_08_02_222353) do 15 14 create_table "feed_posts", force: :cascade do |t| 16 15 t.integer "feed_id", null: false 17 16 t.integer "post_id", null: false 18 - t.datetime "time", null: false 17 + t.datetime "time", precision: nil, null: false 19 18 t.index ["feed_id", "time"], name: "index_feed_posts_on_feed_id_and_time" 20 19 end 21 20 22 21 create_table "posts", force: :cascade do |t| 23 22 t.string "repo", null: false 24 - t.datetime "time", null: false 23 + t.datetime "time", precision: nil, null: false 25 24 t.string "text", null: false 26 25 t.text "data", null: false 27 26 t.string "rkey", null: false ··· 34 33 t.integer "cursor", null: false 35 34 t.index ["service"], name: "index_subscriptions_on_service", unique: true 36 35 end 37 - 38 36 end