Quellcode durchsuchen

:heavy_plus_sign: add third gem

Jeremy Zheng vor 4 Jahren
Ursprung
Commit
b600bd1b11
5 geänderte Dateien mit 58 neuen und 12 gelöschten Zeilen
  1. 5 0
      Gemfile
  2. 35 0
      Gemfile.lock
  3. 18 12
      README.md
  4. BIN
      documents/create-db.png
  5. BIN
      documents/git-clone.png

+ 5 - 0
Gemfile

@@ -54,3 +54,8 @@ end
 
 
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
+
+# my add
+gem 'devise'
+gem 'omniauth'
+gem 'kaminari'

+ 35 - 0
Gemfile.lock

@@ -62,6 +62,7 @@ GEM
       zeitwerk (~> 2.3)
       zeitwerk (~> 2.3)
     addressable (2.8.0)
     addressable (2.8.0)
       public_suffix (>= 2.0.2, < 5.0)
       public_suffix (>= 2.0.2, < 5.0)
+    bcrypt (3.1.16)
     bindex (0.8.1)
     bindex (0.8.1)
     bootsnap (1.7.6)
     bootsnap (1.7.6)
       msgpack (~> 1.0)
       msgpack (~> 1.0)
@@ -78,14 +79,33 @@ GEM
     childprocess (3.0.0)
     childprocess (3.0.0)
     concurrent-ruby (1.1.9)
     concurrent-ruby (1.1.9)
     crass (1.0.6)
     crass (1.0.6)
+    devise (4.8.0)
+      bcrypt (~> 3.0)
+      orm_adapter (~> 0.1)
+      railties (>= 4.1.0)
+      responders
+      warden (~> 1.2.3)
     erubi (1.10.0)
     erubi (1.10.0)
     ffi (1.15.3)
     ffi (1.15.3)
     globalid (0.5.1)
     globalid (0.5.1)
       activesupport (>= 5.0)
       activesupport (>= 5.0)
+    hashie (4.1.0)
     i18n (1.8.10)
     i18n (1.8.10)
       concurrent-ruby (~> 1.0)
       concurrent-ruby (~> 1.0)
     jbuilder (2.11.2)
     jbuilder (2.11.2)
       activesupport (>= 5.0.0)
       activesupport (>= 5.0.0)
+    kaminari (1.2.1)
+      activesupport (>= 4.1.0)
+      kaminari-actionview (= 1.2.1)
+      kaminari-activerecord (= 1.2.1)
+      kaminari-core (= 1.2.1)
+    kaminari-actionview (1.2.1)
+      actionview
+      kaminari-core (= 1.2.1)
+    kaminari-activerecord (1.2.1)
+      activerecord
+      kaminari-core (= 1.2.1)
+    kaminari-core (1.2.1)
     listen (3.6.0)
     listen (3.6.0)
       rb-fsevent (~> 0.10, >= 0.10.3)
       rb-fsevent (~> 0.10, >= 0.10.3)
       rb-inotify (~> 0.9, >= 0.9.10)
       rb-inotify (~> 0.9, >= 0.9.10)
@@ -102,6 +122,11 @@ GEM
     nio4r (2.5.7)
     nio4r (2.5.7)
     nokogiri (1.11.7-x86_64-linux)
     nokogiri (1.11.7-x86_64-linux)
       racc (~> 1.4)
       racc (~> 1.4)
+    omniauth (2.0.4)
+      hashie (>= 3.4.6)
+      rack (>= 1.6.2, < 3)
+      rack-protection
+    orm_adapter (0.5.0)
     pg (1.2.3)
     pg (1.2.3)
     public_suffix (4.0.6)
     public_suffix (4.0.6)
     puma (5.4.0)
     puma (5.4.0)
@@ -110,6 +135,8 @@ GEM
     rack (2.2.3)
     rack (2.2.3)
     rack-mini-profiler (2.3.2)
     rack-mini-profiler (2.3.2)
       rack (>= 1.2.0)
       rack (>= 1.2.0)
+    rack-protection (2.1.0)
+      rack
     rack-proxy (0.7.0)
     rack-proxy (0.7.0)
       rack
       rack
     rack-test (1.1.0)
     rack-test (1.1.0)
@@ -145,6 +172,9 @@ GEM
     rb-inotify (0.10.1)
     rb-inotify (0.10.1)
       ffi (~> 1.0)
       ffi (~> 1.0)
     regexp_parser (2.1.1)
     regexp_parser (2.1.1)
+    responders (3.0.1)
+      actionpack (>= 5.0)
+      railties (>= 5.0)
     rubyzip (2.3.2)
     rubyzip (2.3.2)
     sass-rails (6.0.0)
     sass-rails (6.0.0)
       sassc-rails (~> 2.1, >= 2.1.1)
       sassc-rails (~> 2.1, >= 2.1.1)
@@ -175,6 +205,8 @@ GEM
     turbolinks-source (5.2.0)
     turbolinks-source (5.2.0)
     tzinfo (2.0.4)
     tzinfo (2.0.4)
       concurrent-ruby (~> 1.0)
       concurrent-ruby (~> 1.0)
+    warden (1.2.9)
+      rack (>= 2.0.9)
     web-console (4.1.0)
     web-console (4.1.0)
       actionview (>= 6.0.0)
       actionview (>= 6.0.0)
       activemodel (>= 6.0.0)
       activemodel (>= 6.0.0)
@@ -203,8 +235,11 @@ DEPENDENCIES
   bootsnap (>= 1.4.4)
   bootsnap (>= 1.4.4)
   byebug
   byebug
   capybara (>= 3.26)
   capybara (>= 3.26)
+  devise
   jbuilder (~> 2.7)
   jbuilder (~> 2.7)
+  kaminari
   listen (~> 3.3)
   listen (~> 3.3)
+  omniauth
   pg (~> 1.1)
   pg (~> 1.1)
   puma (~> 5.0)
   puma (~> 5.0)
   rack-mini-profiler (~> 2.0)
   rack-mini-profiler (~> 2.0)

+ 18 - 12
README.md

@@ -3,22 +3,28 @@
 This README would normally document whatever steps are necessary to get the
 This README would normally document whatever steps are necessary to get the
 application up and running.
 application up and running.
 
 
-Things you may want to cover:
+- Clone code
+  
+    ![git clone](documents/git-clone.png)
 
 
-* Ruby version
+- [System dependencies](docker/)
+  
+    ```bash
+    bundle install
+    ```
 
 
-* System dependencies
+- Database creation & initialization
+    ![create database](documents/create-db.png)
+  
+    ```bash
+    ```
 
 
-* Configuration
+- How to run the test suite
 
 
-* Database creation
+- Services (job queues, cache servers, search engines, etc.)
 
 
-* Database initialization
+- Deployment instructions
 
 
-* How to run the test suite
+## Documents
 
 
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
+- [A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for modern web app frameworks and ORMs](https://github.com/kaminari/kaminari)

BIN
documents/create-db.png


BIN
documents/git-clone.png