Jelajahi Sumber

:heavy_plus_sign: add third gem

Jeremy Zheng 4 tahun lalu
induk
melakukan
b600bd1b11
5 mengubah file dengan 58 tambahan dan 12 penghapusan
  1. 5 0
      Gemfile
  2. 35 0
      Gemfile.lock
  3. 18 12
      README.md
  4. TEMPAT SAMPAH
      documents/create-db.png
  5. TEMPAT SAMPAH
      documents/git-clone.png

+ 5 - 0
Gemfile

@@ -54,3 +54,8 @@ end
 
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 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)
     addressable (2.8.0)
       public_suffix (>= 2.0.2, < 5.0)
+    bcrypt (3.1.16)
     bindex (0.8.1)
     bootsnap (1.7.6)
       msgpack (~> 1.0)
@@ -78,14 +79,33 @@ GEM
     childprocess (3.0.0)
     concurrent-ruby (1.1.9)
     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)
     ffi (1.15.3)
     globalid (0.5.1)
       activesupport (>= 5.0)
+    hashie (4.1.0)
     i18n (1.8.10)
       concurrent-ruby (~> 1.0)
     jbuilder (2.11.2)
       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)
       rb-fsevent (~> 0.10, >= 0.10.3)
       rb-inotify (~> 0.9, >= 0.9.10)
@@ -102,6 +122,11 @@ GEM
     nio4r (2.5.7)
     nokogiri (1.11.7-x86_64-linux)
       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)
     public_suffix (4.0.6)
     puma (5.4.0)
@@ -110,6 +135,8 @@ GEM
     rack (2.2.3)
     rack-mini-profiler (2.3.2)
       rack (>= 1.2.0)
+    rack-protection (2.1.0)
+      rack
     rack-proxy (0.7.0)
       rack
     rack-test (1.1.0)
@@ -145,6 +172,9 @@ GEM
     rb-inotify (0.10.1)
       ffi (~> 1.0)
     regexp_parser (2.1.1)
+    responders (3.0.1)
+      actionpack (>= 5.0)
+      railties (>= 5.0)
     rubyzip (2.3.2)
     sass-rails (6.0.0)
       sassc-rails (~> 2.1, >= 2.1.1)
@@ -175,6 +205,8 @@ GEM
     turbolinks-source (5.2.0)
     tzinfo (2.0.4)
       concurrent-ruby (~> 1.0)
+    warden (1.2.9)
+      rack (>= 2.0.9)
     web-console (4.1.0)
       actionview (>= 6.0.0)
       activemodel (>= 6.0.0)
@@ -203,8 +235,11 @@ DEPENDENCIES
   bootsnap (>= 1.4.4)
   byebug
   capybara (>= 3.26)
+  devise
   jbuilder (~> 2.7)
+  kaminari
   listen (~> 3.3)
+  omniauth
   pg (~> 1.1)
   puma (~> 5.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
 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)

TEMPAT SAMPAH
documents/create-db.png


TEMPAT SAMPAH
documents/git-clone.png