Skip to content

Commit

Permalink
upgrade gems, install rails 4.1 app to close #2
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed Feb 21, 2014
1 parent 2d4672b commit d713210
Show file tree
Hide file tree
Showing 30 changed files with 283 additions and 146 deletions.
28 changes: 17 additions & 11 deletions .gitignore
@@ -1,19 +1,25 @@
*.rbc
*.sassc
.sass-cache
capybara-*.html
.rspec
# 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
/vendor/bundle
/log/*
/tmp/*

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

# Ignore all logfiles and tempfiles.
/log
/tmp

*.rbc
/vendor/bundle
/public/system/*
/coverage/
/spec/tmp/*
**.orig
rerun.txt
/solr

/.ruby-gemset
/.ruby-version
1 change: 1 addition & 0 deletions .ruby-gemset
@@ -0,0 +1 @@
concerto-signage
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
ruby-2.0.0-p353
32 changes: 23 additions & 9 deletions Gemfile
@@ -1,11 +1,11 @@
source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.0.3'
gem 'rails', '4.1.0.rc1'

# Use sqlite3 as the database for Active Record
gem 'sqlite3'
gem 'mysql2'
# Use sqlite3 for development, mysql for production
gem 'sqlite3', group: [:development, :test]
gem 'mysql2', group: :production

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.1'
Expand All @@ -14,23 +14,37 @@ gem 'sass-rails', '~> 4.0.1'
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
#gem 'coffee-rails', '~> 4.0.0'
# gem 'coffee-rails', '~> 4.0.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'

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

#added to prevent “only generation of JSON objects or arrays allowed” error
gem 'therubyracer'
gem 'devise'

gem "friendly_id", "~> 5.0.0"
gem "friendly_id", "~> 5.0.3"

gem 'sunspot_rails'
gem 'sunspot_solr' #local solr instance for development use

gem 'carrierwave'

# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Use debugger
gem 'debugger', group: [:development, :test]
127 changes: 69 additions & 58 deletions Gemfile.lock
@@ -1,100 +1,111 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.3)
actionpack (= 4.0.3)
actionmailer (4.1.0.rc1)
actionpack (= 4.1.0.rc1)
actionview (= 4.1.0.rc1)
mail (~> 2.5.4)
actionpack (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
erubis (~> 2.7.0)
actionpack (4.1.0.rc1)
actionview (= 4.1.0.rc1)
activesupport (= 4.1.0.rc1)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
activerecord (4.0.3)
activemodel (= 4.0.3)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.3)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.3)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
actionview (4.1.0.rc1)
activesupport (= 4.1.0.rc1)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.0.rc1)
activesupport (= 4.1.0.rc1)
builder (~> 3.1)
activerecord (4.1.0.rc1)
activemodel (= 4.1.0.rc1)
activesupport (= 4.1.0.rc1)
arel (~> 5.0.0)
activesupport (4.1.0.rc1)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.2)
tzinfo (~> 1.1)
arel (5.0.0)
atomic (1.1.14)
bcrypt-ruby (3.1.2)
builder (3.1.4)
builder (3.2.2)
carrierwave (0.9.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
coffee-rails (4.0.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0.beta, < 5.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
devise (3.0.3)
coffee-script-source (1.7.0)
columnize (0.3.6)
debugger (1.6.5)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.3.1)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.3.1)
devise (3.2.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
erubis (2.7.0)
execjs (2.0.1)
execjs (2.0.2)
friendly_id (5.0.3)
activerecord (>= 4.0.0)
hike (1.2.3)
i18n (0.6.9)
jquery-rails (3.0.4)
jquery-rails (3.1.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.0)
libv8 (3.16.14.3)
json (1.8.1)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
mini_portile (0.5.2)
minitest (4.7.5)
minitest (5.2.3)
multi_json (1.8.4)
mysql2 (0.3.13)
mysql2 (0.3.15)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
orm_adapter (0.4.0)
orm_adapter (0.5.0)
polyglot (0.3.4)
pr_geohash (1.0.0)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.3)
actionmailer (= 4.0.3)
actionpack (= 4.0.3)
activerecord (= 4.0.3)
activesupport (= 4.0.3)
rails (4.1.0.rc1)
actionmailer (= 4.1.0.rc1)
actionpack (= 4.1.0.rc1)
actionview (= 4.1.0.rc1)
activemodel (= 4.1.0.rc1)
activerecord (= 4.1.0.rc1)
activesupport (= 4.1.0.rc1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.3)
railties (= 4.1.0.rc1)
sprockets-rails (~> 2.0.0)
railties (4.0.3)
actionpack (= 4.0.3)
activesupport (= 4.0.3)
railties (4.1.0.rc1)
actionpack (= 4.1.0.rc1)
activesupport (= 4.1.0.rc1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.1)
ref (1.0.5)
rsolr (1.0.9)
builder (>= 2.1.2)
sass (3.2.14)
sass-rails (4.0.1)
railties (>= 4.0.0, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sprockets (2.10.1)
spring (1.1.1)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
Expand All @@ -104,29 +115,28 @@ GEM
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.8)
sunspot (2.0.0)
sunspot (2.1.0)
pr_geohash (~> 1.0)
rsolr (~> 1.0.7)
sunspot_rails (2.0.0)
sunspot_rails (2.1.0)
nokogiri
sunspot (= 2.0.0)
sunspot_solr (2.0.0)
therubyracer (0.12.0)
libv8 (~> 3.16.14.0)
ref
rails (>= 3)
sunspot (= 2.1.0)
sunspot_solr (2.1.0)
thor (0.18.1)
thread_safe (0.1.3)
atomic
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.3.0)
turbolinks (2.2.1)
coffee-rails
tzinfo (0.3.38)
uglifier (2.2.1)
tzinfo (1.1.0)
thread_safe (~> 0.1)
uglifier (2.4.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
json (>= 1.8.0)
warden (1.2.3)
rack (>= 1.0)

Expand All @@ -135,15 +145,16 @@ PLATFORMS

DEPENDENCIES
carrierwave
debugger
devise
friendly_id (~> 5.0.0)
friendly_id (~> 5.0.3)
jquery-rails
mysql2
rails (~> 4.0.3)
rails (= 4.1.0.rc1)
sass-rails (~> 4.0.1)
spring
sqlite3
sunspot_rails
sunspot_solr
therubyracer
turbolinks
uglifier (>= 1.3.0)
5 changes: 3 additions & 2 deletions README.md
@@ -1,2 +1,3 @@
concerto-signage
================
#concerto-signage.org

The Rails 4 App for concerto-signage.org
3 changes: 1 addition & 2 deletions Rakefile
Expand Up @@ -4,5 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'sunspot/solr/tasks'

ConcertoSignage::Application.load_tasks

Rails.application.load_tasks
8 changes: 5 additions & 3 deletions app/assets/stylesheets/application.css
Expand Up @@ -5,9 +5,11 @@
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, 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 top of the
* compiled file, but it's generally better to create a new file per style scope.
* 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_self
*= require_tree .
*= require_self
*/
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>ConcertoSignage</title>
<title>Concerto Signage</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
Expand Down
4 changes: 4 additions & 0 deletions bin/rails
@@ -1,4 +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'
4 changes: 4 additions & 0 deletions bin/rake
@@ -1,4 +1,8 @@
#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
require_relative '../config/boot'
require 'rake'
Rake.application.run
18 changes: 18 additions & 0 deletions bin/spring
@@ -0,0 +1,18 @@
#!/usr/bin/env ruby

# This file loads spring without using Bundler, in order to be fast
# It gets overwritten when you run the `spring binstub` command

unless defined?(Spring)
require "rubygems"
require "bundler"

if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
ENV["GEM_HOME"] = ""
Gem.paths = ENV

gem "spring", match[1]
require "spring/binstub"
end
end
2 changes: 1 addition & 1 deletion config/application.rb
Expand Up @@ -4,7 +4,7 @@

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)
Bundler.require(*Rails.groups)

module ConcertoSignage
class Application < Rails::Application
Expand Down

0 comments on commit d713210

Please sign in to comment.