Skip to content
Permalink
Browse files

Initialize empty ember-rails project.

  • Loading branch information...
chrishalebarnes committed Feb 17, 2015
0 parents commit 7b2d0f45a9990e1446fd0b94be6f3f220c85fbe9
Showing with 1,048 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +47 −0 Gemfile
  3. +183 −0 Gemfile.lock
  4. +28 −0 README.rdoc
  5. +6 −0 Rakefile
  6. 0 app/assets/images/.keep
  7. 0 app/assets/javascripts/adapters/.gitkeep
  8. +5 −0 app/assets/javascripts/adapters/application_adapter.js
  9. +11 −0 app/assets/javascripts/application.js
  10. +11 −0 app/assets/javascripts/cars.js
  11. 0 app/assets/javascripts/components/.gitkeep
  12. 0 app/assets/javascripts/controllers/.gitkeep
  13. 0 app/assets/javascripts/helpers/.gitkeep
  14. 0 app/assets/javascripts/mixins/.gitkeep
  15. 0 app/assets/javascripts/models/.gitkeep
  16. +5 −0 app/assets/javascripts/router.js
  17. 0 app/assets/javascripts/routes/.gitkeep
  18. 0 app/assets/javascripts/templates/.gitkeep
  19. 0 app/assets/javascripts/templates/components/.gitkeep
  20. +7 −0 app/assets/javascripts/templates/index.js.handlebars
  21. 0 app/assets/javascripts/views/.gitkeep
  22. +15 −0 app/assets/stylesheets/application.css
  23. +5 −0 app/controllers/application_controller.rb
  24. +4 −0 app/controllers/assets_controller.rb
  25. 0 app/controllers/concerns/.keep
  26. +2 −0 app/helpers/application_helper.rb
  27. +2 −0 app/helpers/assets_helper.rb
  28. 0 app/mailers/.keep
  29. 0 app/models/.keep
  30. 0 app/models/concerns/.keep
  31. +4 −0 app/serializers/application_serializer.rb
  32. +11 −0 app/views/assets/index.html.erb
  33. +3 −0 bin/bundle
  34. +8 −0 bin/rails
  35. +8 −0 bin/rake
  36. +29 −0 bin/setup
  37. +15 −0 bin/spring
  38. +4 −0 config.ru
  39. +26 −0 config/application.rb
  40. +3 −0 config/boot.rb
  41. +25 −0 config/database.yml
  42. +5 −0 config/environment.rb
  43. +41 −0 config/environments/development.rb
  44. +79 −0 config/environments/production.rb
  45. +42 −0 config/environments/test.rb
  46. +11 −0 config/initializers/assets.rb
  47. +7 −0 config/initializers/backtrace_silencers.rb
  48. +3 −0 config/initializers/cookies_serializer.rb
  49. +4 −0 config/initializers/filter_parameter_logging.rb
  50. +16 −0 config/initializers/inflections.rb
  51. +4 −0 config/initializers/mime_types.rb
  52. +3 −0 config/initializers/session_store.rb
  53. +14 −0 config/initializers/wrap_parameters.rb
  54. +23 −0 config/locales/en.yml
  55. +59 −0 config/routes.rb
  56. +22 −0 config/secrets.yml
  57. +7 −0 db/seeds.rb
  58. 0 lib/assets/.keep
  59. 0 lib/tasks/.keep
  60. 0 log/.keep
  61. +67 −0 public/404.html
  62. +67 −0 public/422.html
  63. +66 −0 public/500.html
  64. 0 public/favicon.ico
  65. +5 −0 public/robots.txt
  66. 0 test/controllers/.keep
  67. +9 −0 test/controllers/assets_controller_test.rb
  68. 0 test/fixtures/.keep
  69. 0 test/helpers/.keep
  70. 0 test/integration/.keep
  71. 0 test/mailers/.keep
  72. 0 test/models/.keep
  73. +10 −0 test/test_helper.rb
  74. 0 vendor/assets/javascripts/.keep
  75. 0 vendor/assets/stylesheets/.keep
@@ -0,0 +1,17 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
47 Gemfile
@@ -0,0 +1,47 @@
source 'https://rubygems.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# 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

# 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

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'

# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end


gem 'ember-rails', '~> 0.15'
@@ -0,0 +1,183 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.0)
actionview (= 4.2.0)
activesupport (= 4.2.0)
rack (~> 1.6.0)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
active_model_serializers (0.9.3)
activemodel (>= 3.2)
activejob (4.2.0)
activesupport (= 4.2.0)
globalid (>= 0.3.0)
activemodel (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
activerecord (4.2.0)
activemodel (= 4.2.0)
activesupport (= 4.2.0)
arel (~> 6.0)
activesupport (4.2.0)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
arel (6.0.0)
barber (0.6.0)
ember-source
execjs
handlebars-source (>= 1.0.0.rc.4)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (3.5.1)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
slop (~> 3.6)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.9.0)
columnize (0.9.0)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
ember-data-source (1.0.0.beta.15)
ember-source (~> 1.8)
ember-rails (0.16.2)
active_model_serializers
barber (>= 0.6.0)
ember-data-source (>= 1.0.0.beta.5)
ember-source (>= 1.1.0)
execjs (>= 1.2)
handlebars-source (> 1.0.0, < 3)
jquery-rails (>= 1.0.17)
railties (>= 3.1)
ember-source (1.10.0)
erubis (2.7.0)
execjs (2.3.0)
globalid (0.3.3)
activesupport (>= 4.1.0)
handlebars-source (2.0.0)
hike (1.2.3)
i18n (0.7.0)
jbuilder (2.2.7)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.2)
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.5.1)
multi_json (1.10.1)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
rack (1.6.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.0)
actionmailer (= 4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.0)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
rdoc (4.2.0)
sass (3.4.12)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
slop (3.6.0)
spring (1.3.2)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.10)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
web-console (2.0.0)
activemodel (~> 4.0)
binding_of_caller (>= 0.7.2)
railties (~> 4.0)
sprockets-rails (>= 2.0, < 4.0)

PLATFORMS
ruby

DEPENDENCIES
byebug
coffee-rails (~> 4.1.0)
ember-rails (~> 0.15)
jbuilder (~> 2.0)
jquery-rails
rails (= 4.2.0)
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
spring
sqlite3
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)
@@ -0,0 +1,28 @@
== README

This README would normally document whatever steps are necessary to get the
application up and running.

Things you may want to cover:

* Ruby version

* System dependencies

* Configuration

* Database creation

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...


Please feel free to use a different markup language if you do not plan to run
<tt>rake doc:app</tt>.
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks
No changes.
No changes.
@@ -0,0 +1,5 @@
// Override the default adapter with the `DS.ActiveModelAdapter` which
// is built to work nicely with the ActiveModel::Serializers gem.
Cars.ApplicationAdapter = DS.ActiveModelAdapter.extend({

});
@@ -0,0 +1,11 @@
//= require jquery
//= require jquery_ujs
//= require handlebars
//= require ember
//= require ember-data
//= require_self
//= require ./cars

// for more details see: http://emberjs.com/guides/application/
Cars = Ember.Application.create();

@@ -0,0 +1,11 @@
//= require_tree ./adapters
//= require_tree ./mixins
//= require_tree ./models
//= require_tree ./controllers
//= require_tree ./views
//= require_tree ./helpers
//= require_tree ./components
//= require_tree ./templates
//= require_tree ./routes
//= require ./router
//= require_self
No changes.
No changes.
No changes.
No changes.
No changes.
@@ -0,0 +1,5 @@
// For more information see: http://emberjs.com/guides/routing/

Cars.Router.map(function() {
// this.resource('posts');
});
No changes.
No changes.
No changes.
@@ -0,0 +1,7 @@
<div style="width: 600px; border: 6px solid #eee; margin: 0 auto; padding: 20px; text-align: center; font-family: sans-serif;">
<img src="http://emberjs.com/images/about/ember-productivity-sm.png" style="display: block; margin: 0 auto;">
<h1>Welcome to Ember.js!</h1>
<p>You're running an Ember.js app on top of Ruby on Rails. To get started, replace this content
(inside <code>app/assets/javascripts/templates/index.js.handlebars</code>) with your application's
HTML.</p>
</div>
No changes.
@@ -0,0 +1,15 @@
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
*/
@@ -0,0 +1,5 @@
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
end
@@ -0,0 +1,4 @@
class AssetsController < ApplicationController
def index
end
end
No changes.
@@ -0,0 +1,2 @@
module ApplicationHelper
end
@@ -0,0 +1,2 @@
module AssetsHelper
end
No changes.
No changes.
No changes.
@@ -0,0 +1,4 @@
class ApplicationSerializer < ActiveModel::Serializer
embed :ids, :include => true
attributes :id
end
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Cars</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= javascript_include_tag "application" %>
</body>
</html>
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle')
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'

0 comments on commit 7b2d0f4

Please sign in to comment.
You can’t perform that action at this time.