From 4555beda8acb53adf554dff8b457e18859c27393 Mon Sep 17 00:00:00 2001 From: uu59 Date: Thu, 8 May 2014 15:53:54 +0900 Subject: [PATCH] Fixup gems --- Gemfile | 32 ++++-------------- Gemfile.lock | 47 ++++++++++++++++++++++++-- app/assets/javascripts/application.js | 1 - app/views/layouts/application.html.erb | 4 +-- 4 files changed, 53 insertions(+), 31 deletions(-) diff --git a/Gemfile b/Gemfile index 21fc07e..078ecc0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,40 +1,22 @@ source 'https://rubygems.org' - -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +gem "fluentd" gem 'rails', '4.1.1' -# Use sqlite3 as the database for Active Record gem 'sqlite3' -# Use SCSS for stylesheets gem 'sass-rails', '~> 4.0.3' -# Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' -# Use CoffeeScript for .js.coffee assets and views gem 'coffee-rails', '~> 4.0.0' -# See https://github.com/sstephenson/execjs#readme for more supported runtimes -# gem 'therubyracer', platforms: :ruby +gem 'therubyracer', platforms: :ruby +gem "haml", "~> 4.0.5" -# Use jquery as the JavaScript library gem 'jquery-rails' -# 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' -# bundle exec rake doc:rails generates the API under doc/api. gem 'sdoc', '~> 0.4.0', group: :doc # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring', group: :development -# Use ActiveModel has_secure_password -# gem 'bcrypt', '~> 3.1.7' - -# Use unicorn as the app server -# gem 'unicorn' - -# Use Capistrano for deployment -# gem 'capistrano-rails', group: :development - -# Use debugger -# gem 'debugger', group: [:development, :test] - +group :development, :test do + gem "pry" + gem "rspec-rails", "~> 2.0" +end diff --git a/Gemfile.lock b/Gemfile.lock index d248862..5b7a3a9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,6 +29,7 @@ GEM tzinfo (~> 1.1) arel (5.0.1.20140414130214) builder (3.2.2) + coderay (1.1.0) coffee-rails (4.0.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) @@ -36,9 +37,21 @@ GEM coffee-script-source execjs coffee-script-source (1.7.0) + cool.io (1.2.3) + diff-lcs (1.2.5) erubis (2.7.0) execjs (2.0.2) + fluentd (0.10.46) + cool.io (>= 1.1.1, < 2.0.0, != 1.2.0) + http_parser.rb (>= 0.5.1, < 0.7.0) + json (>= 1.4.3) + msgpack (>= 0.4.4, < 0.6.0, != 0.5.3, != 0.5.2, != 0.5.1, != 0.5.0) + sigdump (~> 0.2.2) + yajl-ruby (~> 1.0) + haml (4.0.5) + tilt hike (1.2.3) + http_parser.rb (0.6.0) i18n (0.6.9) jbuilder (2.0.7) activesupport (>= 3.0.0, < 5) @@ -47,13 +60,20 @@ GEM railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.8.1) + libv8 (3.16.14.3) mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) + method_source (0.8.2) mime-types (1.25.1) minitest (5.3.3) + msgpack (0.5.8) multi_json (1.10.0) polyglot (0.3.4) + pry (0.9.12.6) + coderay (~> 1.0) + method_source (~> 0.8) + slop (~> 3.4) rack (1.5.2) rack-test (0.6.2) rack (>= 1.0) @@ -75,6 +95,19 @@ GEM rake (10.3.1) rdoc (4.1.1) json (~> 1.4) + ref (1.0.5) + rspec-core (2.14.8) + rspec-expectations (2.14.5) + diff-lcs (>= 1.1.3, < 2.0) + rspec-mocks (2.14.6) + rspec-rails (2.14.2) + actionpack (>= 3.0) + activemodel (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 2.14.0) + rspec-expectations (~> 2.14.0) + rspec-mocks (~> 2.14.0) sass (3.2.19) sass-rails (4.0.3) railties (>= 4.0.0, < 5.0) @@ -84,6 +117,8 @@ GEM sdoc (0.4.0) json (~> 1.8) rdoc (~> 4.0, < 5.0) + sigdump (0.2.2) + slop (3.5.0) spring (1.1.2) sprockets (2.11.0) hike (~> 1.2) @@ -95,31 +130,37 @@ GEM activesupport (>= 3.0) sprockets (~> 2.8) sqlite3 (1.3.9) + therubyracer (0.12.0) + libv8 (~> 3.16.14.0) + ref thor (0.19.1) thread_safe (0.3.3) tilt (1.4.1) treetop (1.4.15) polyglot polyglot (>= 0.3.1) - turbolinks (2.2.2) - coffee-rails tzinfo (1.1.0) thread_safe (~> 0.1) uglifier (2.5.0) execjs (>= 0.3.0) json (>= 1.8.0) + yajl-ruby (1.2.0) PLATFORMS ruby DEPENDENCIES coffee-rails (~> 4.0.0) + fluentd + haml (~> 4.0.5) jbuilder (~> 2.0) jquery-rails + pry rails (= 4.1.1) + rspec-rails (~> 2.0) sass-rails (~> 4.0.3) sdoc (~> 0.4.0) spring sqlite3 - turbolinks + therubyracer uglifier (>= 1.3.0) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index d6925fa..1ca0e3b 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,5 +12,4 @@ // //= require jquery //= require jquery_ujs -//= require turbolinks //= require_tree . diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index de9d155..bd38456 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -2,8 +2,8 @@ FluentdUi - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> - <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + <%= stylesheet_link_tag 'application', media: 'all'%> + <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %>