changeset 344:49ae9d1f4f2c

Use coffeescript.
author edogawaconan <me@myconan.net>
date Thu, 03 Jul 2014 14:50:18 +0900
parents c914299c5459
children 0b3a5edd923d
files Gemfile Gemfile.lock
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gemfile	Thu Jul 03 11:32:54 2014 +0900
+++ b/Gemfile	Thu Jul 03 14:50:18 2014 +0900
@@ -2,6 +2,7 @@
 
 gem "rails", "~> 4.1.0"
 gem "jquery-rails"
+gem "coffee-rails", "~> 4.0.0" # Rails 4.1 default
 
 # Bundle edge Rails instead:
 # gem "rails", :git => "git://github.com/rails/rails.git"
--- a/Gemfile.lock	Thu Jul 03 11:32:54 2014 +0900
+++ b/Gemfile.lock	Thu Jul 03 14:50:18 2014 +0900
@@ -36,6 +36,13 @@
     bootstrap-sass (3.2.0.0)
       sass (~> 3.2)
     builder (3.2.2)
+    coffee-rails (4.0.1)
+      coffee-script (>= 2.2.0)
+      railties (>= 4.0.0, < 5.0)
+    coffee-script (2.2.0)
+      coffee-script-source
+      execjs
+    coffee-script-source (1.7.0)
     dalli (2.7.2)
     erubis (2.7.0)
     execjs (2.2.1)
@@ -128,6 +135,7 @@
 DEPENDENCIES
   activerecord-jdbcpostgresql-adapter
   bootstrap-sass
+  coffee-rails (~> 4.0.0)
   dalli
   hooves
   jquery-rails