From 21254fb26bc8d2d088ca29669790e84de476cb74 Mon Sep 17 00:00:00 2001 From: tanhuazhe Date: Thu, 17 Dec 2015 15:40:32 -0600 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=9F=BA=E6=9C=AC=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E9=80=89=E5=AE=9A=E5=B0=86=E6=9D=A5=E6=89=80?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E4=BD=BF=E7=94=A8=E7=9A=84=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 38 +++++++++++++++++++++++---- Gemfile.lock | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index e8196f0..a016443 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,8 @@ source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.2.3' +# Use mysql as the database for Active Record +gem 'mysql2' # Use sqlite3 as the database for Active Record gem 'sqlite3' # Use SCSS for stylesheets @@ -13,25 +15,51 @@ gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' # See https://github.com/rails/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby - +# See https://github.com/sstephenson/execjs#readme for more supported runtimes +gem 'therubyracer', platforms: :ruby # Use jquery as the JavaScript library gem 'jquery-rails' +#Use kaminari page +gem 'kaminari' +#Use settingslogic +gem 'settingslogic' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' +# Use jquery as the JavaScript library +gem 'jquery-rails' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.0' # bundle exec rake doc:rails generates the API under doc/api. gem 'sdoc', '~> 0.4.0', group: :doc - +# Use haml template +gem 'haml-rails' +# Use bootstrap css +gem 'bootstrap-sass' +gem 'font-awesome-sass-rails', '~> 3.0.2.2' +gem 'twitter-bootstrap-rails-confirm', github: 'fxhover/twitter-bootstrap-rails-confirm', branch: 'bootstrap3' +# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks +gem 'turbolinks' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.0' # Use ActiveModel has_secure_password -# gem 'bcrypt', '~> 3.1.7' - +gem 'bcrypt', '~> 3.1.7' +# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring +gem 'spring', group: :development # Use Unicorn as the app server # gem 'unicorn' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development - +group :development do + gem 'thin' +end +#Avatar +gem 'gravatar_image_tag' +#markdown +gem 'markdown-toolbar', git: 'https://github.com/fuksito/markdown-toolbar.git' +gem 'redcarpet' +gem 'simple_fileupload' +gem 'remotipart' group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' diff --git a/Gemfile.lock b/Gemfile.lock index bf253b2..b911a38 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,16 @@ +GIT + remote: git://github.com/fxhover/twitter-bootstrap-rails-confirm.git + revision: 92dd750dd04f492526aca894c5ec1b321a6e25a9 + branch: bootstrap3 + specs: + twitter-bootstrap-rails-confirm (1.0.2) + +GIT + remote: https://github.com/fuksito/markdown-toolbar.git + revision: ee3e343295c78b781878787a94c01f1238b44d6e + specs: + markdown-toolbar (1.0.1) + GEM remote: https://rubygems.org/ specs: @@ -37,8 +50,15 @@ GEM thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) arel (6.0.3) + autoprefixer-rails (6.2.3) + execjs + json + bcrypt (3.1.10) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) + bootstrap-sass (3.3.6) + autoprefixer-rails (>= 5.2.1) + sass (>= 3.3.4) builder (3.2.2) byebug (8.2.1) coffee-rails (4.1.0) @@ -48,11 +68,30 @@ GEM coffee-script-source execjs coffee-script-source (1.10.0) + daemons (1.2.3) debug_inspector (0.0.2) erubis (2.7.0) + eventmachine (1.0.8) execjs (2.6.0) + font-awesome-sass-rails (3.0.2.2) + railties (>= 3.1.1) + sass-rails (>= 3.1.1) globalid (0.3.6) activesupport (>= 4.1.0) + gravatar_image_tag (1.2.0) + haml (4.0.7) + tilt + haml-rails (0.9.0) + actionpack (>= 4.0.1) + activesupport (>= 4.0.1) + haml (>= 4.0.6, < 5.0) + html2haml (>= 1.0.1) + railties (>= 4.0.1) + html2haml (2.0.0) + erubis (~> 2.7.0) + haml (~> 4.0.0) + nokogiri (~> 1.6.0) + ruby_parser (~> 3.5) i18n (0.7.0) jbuilder (2.3.2) activesupport (>= 3.0.0, < 5) @@ -62,6 +101,10 @@ GEM railties (>= 4.2.0) thor (>= 0.14, < 2.0) json (1.8.3) + kaminari (0.16.3) + actionpack (>= 3.0.0) + activesupport (>= 3.0.0) + libv8 (3.16.14.13) loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.3) @@ -70,6 +113,7 @@ GEM mini_portile2 (2.0.0) minitest (5.8.3) multi_json (1.11.2) + mysql2 (0.4.2) nokogiri (1.6.7) mini_portile2 (~> 2.0.0.rc2) rack (1.6.4) @@ -101,6 +145,11 @@ GEM thor (>= 0.18.1, < 2.0) rake (10.4.2) rdoc (4.2.0) + redcarpet (3.3.4) + ref (2.0.0) + remotipart (1.2.1) + ruby_parser (3.7.2) + sexp_processor (~> 4.1) sass (3.4.19) sass-rails (5.0.4) railties (>= 4.0.0, < 5.0) @@ -111,6 +160,9 @@ GEM sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) + settingslogic (2.0.9) + sexp_processor (4.6.0) + simple_fileupload (0.0.2) spring (1.5.0) sprockets (3.4.1) rack (> 1, < 3) @@ -119,6 +171,13 @@ GEM activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.11) + therubyracer (0.12.2) + libv8 (~> 3.16.14.0) + ref + thin (1.6.4) + daemons (~> 1.0, >= 1.0.9) + eventmachine (~> 1.0, >= 1.0.4) + rack (~> 1.0) thor (0.19.1) thread_safe (0.3.5) tilt (2.0.1) @@ -139,16 +198,31 @@ PLATFORMS ruby DEPENDENCIES + bcrypt (~> 3.1.7) + bootstrap-sass byebug coffee-rails (~> 4.1.0) + font-awesome-sass-rails (~> 3.0.2.2) + gravatar_image_tag + haml-rails jbuilder (~> 2.0) jquery-rails + kaminari + markdown-toolbar! + mysql2 rails (= 4.2.3) + redcarpet + remotipart sass-rails (~> 5.0) sdoc (~> 0.4.0) + settingslogic + simple_fileupload spring sqlite3 + therubyracer + thin turbolinks + twitter-bootstrap-rails-confirm! uglifier (>= 1.3.0) web-console (~> 2.0)