From 889cdc746303f9973a3dc1e06b4633db222ac15d Mon Sep 17 00:00:00 2001 From: Mat Date: Sat, 24 Nov 2018 17:22:01 +0100 Subject: [PATCH] Updated gems --- .gitignore | 1 + Gemfile.lock | 25 ++++++++++++------------ examples/active_record/db/schema.rb | 30 ++++++++++++++--------------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 8825549..1c98a66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ _misc/ node_modules/ examples/ng-admin/ng-admin/ +examples/active_record/db/schema.rb *.sqlite3 diff --git a/Gemfile.lock b/Gemfile.lock index f1e1568..9ddc32b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - sinatra-rest-api (0.1.0) - sinatra (= 1.4.7) + sinatra-rest-api (0.1.4) + sinatra (> 1.4) GEM remote: https://rubygems.org/ @@ -21,13 +21,14 @@ GEM arel (7.1.4) bson (4.1.1) coderay (1.1.1) - concurrent-ruby (1.0.2) + concurrent-ruby (1.1.3) diff-lcs (1.2.5) faker (1.6.6) i18n (~> 0.5) - i18n (0.7.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) method_source (0.8.2) - minitest (5.9.1) + minitest (5.11.3) mongo (2.3.0) bson (~> 4.1) mongoid (6.0.2) @@ -37,8 +38,8 @@ GEM coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) - rack (1.6.4) - rack-protection (1.5.3) + rack (1.6.11) + rack-protection (1.5.5) rack rack-test (0.6.3) rack (>= 1.0) @@ -57,7 +58,7 @@ GEM rspec-support (~> 3.5.0) rspec-support (3.5.0) sequel (4.40.0) - sinatra (1.4.7) + sinatra (1.4.8) rack (~> 1.5) rack-protection (~> 1.4) tilt (>= 1.3, < 3) @@ -66,9 +67,9 @@ GEM sinatra (~> 1.0) slop (3.6.0) sqlite3 (1.3.12) - thread_safe (0.3.5) - tilt (2.0.5) - tzinfo (1.2.2) + thread_safe (0.3.6) + tilt (2.0.8) + tzinfo (1.2.5) thread_safe (~> 0.1) PLATFORMS @@ -89,4 +90,4 @@ DEPENDENCIES sqlite3 BUNDLED WITH - 1.13.5 + 1.16.6 diff --git a/examples/active_record/db/schema.rb b/examples/active_record/db/schema.rb index f698b5f..644699a 100644 --- a/examples/active_record/db/schema.rb +++ b/examples/active_record/db/schema.rb @@ -13,47 +13,47 @@ ActiveRecord::Schema.define(version: 6) do create_table "authors", force: :cascade do |t| - t.string "name", null: false - t.string "email", null: false + t.string "name", null: false + t.string "email", null: false t.datetime "created_at" t.datetime "updated_at" end create_table "books", force: :cascade do |t| - t.string "title", null: false - t.text "description" - t.integer "pages" - t.float "price" + t.string "title", null: false + t.text "description" + t.integer "pages" + t.float "price" t.datetime "dt" - t.integer "author_id" - t.integer "category_id" + t.integer "author_id" + t.integer "category_id" t.datetime "created_at" t.datetime "updated_at" end create_table "books_tags", force: :cascade do |t| - t.integer "book_id", null: false - t.integer "tag_id", null: false + t.integer "book_id", null: false + t.integer "tag_id", null: false t.datetime "created_at" t.datetime "updated_at" end create_table "categories", force: :cascade do |t| - t.string "name", null: false + t.string "name", null: false t.datetime "created_at" t.datetime "updated_at" end create_table "chapters", force: :cascade do |t| - t.string "title", null: false - t.integer "page" - t.integer "book_id" + t.string "title", null: false + t.integer "page" + t.integer "book_id" t.datetime "created_at" t.datetime "updated_at" end create_table "tags", force: :cascade do |t| - t.string "name", null: false + t.string "name", null: false t.datetime "created_at" t.datetime "updated_at" end