Permalink
Browse files

hmmmm

  • Loading branch information...
Raekye committed Apr 29, 2014
1 parent 1c038a8 commit fadefbff760a4565cc112a282ec948ee42af623e
Showing with 692 additions and 36 deletions.
  1. +11 −2 Gemfile
  2. +60 −5 Gemfile.lock
  3. +0 −1 app/assets/javascripts/application.js
  4. +3 −0 app/assets/javascripts/minecraft_servers.js.coffee
  5. +3 −0 app/assets/stylesheets/minecraft_servers.css.scss
  6. +22 −0 app/controllers/minecraft_servers_controller.rb
  7. +2 −0 app/helpers/minecraft_servers_helper.rb
  8. +3 −0 app/models/droplet.rb
  9. +3 −0 app/models/minecraft_server.rb
  10. +6 −0 app/models/user.rb
  11. +2 −2 app/views/layouts/application.html.erb
  12. +2 −0 app/views/minecraft_servers/create.html.erb
  13. +2 −0 app/views/minecraft_servers/destroy.html.erb
  14. +2 −0 app/views/minecraft_servers/edit.html.erb
  15. +2 −0 app/views/minecraft_servers/index.html.erb
  16. +2 −0 app/views/minecraft_servers/new.html.erb
  17. +2 −0 app/views/minecraft_servers/show.html.erb
  18. +2 −0 app/views/minecraft_servers/update.html.erb
  19. +0 −4 bin/rails
  20. +0 −4 bin/rake
  21. +0 −18 bin/spring
  22. +256 −0 config/initializers/devise.rb
  23. +59 −0 config/locales/devise.en.yml
  24. +8 −0 config/routes.rb
  25. +42 −0 db/migrate/20140429072112_devise_create_users.rb
  26. +13 −0 db/migrate/20140429072151_create_minecraft_servers.rb
  27. +15 −0 db/migrate/20140429072202_create_droplets.rb
  28. +63 −0 db/schema.rb
  29. +39 −0 test/controllers/minecraft_servers_controller_test.rb
  30. +19 −0 test/fixtures/droplets.yml
  31. +13 −0 test/fixtures/minecraft_servers.yml
  32. +11 −0 test/fixtures/users.yml
  33. +4 −0 test/helpers/minecraft_servers_helper_test.rb
  34. +7 −0 test/models/droplet_test.rb
  35. +7 −0 test/models/minecraft_server_test.rb
  36. +7 −0 test/models/user_test.rb
13 Gemfile
@@ -17,14 +17,14 @@ gem 'coffee-rails', '~> 4.0.0'
# 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 '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
#gem 'spring', group: :development

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
@@ -38,3 +38,12 @@ gem 'spring', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]

# Custom
gem 'devise'
gem 'econfig', :require => 'econfig/rails'
gem 'sidekiq'
gem 'bootstrap-sass', '~> 3.1.1'
gem 'annotate'
gem 'digital_ocean'
gem 'httparty'
gem 'sinatra', :require => nil
@@ -27,18 +27,47 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
annotate (2.6.3)
activerecord (>= 2.3.0)
rake (>= 0.8.7)
arel (5.0.1.20140414130214)
bcrypt (3.1.7)
bootstrap-sass (3.1.1.1)
sass (~> 3.2)
builder (3.2.2)
celluloid (0.15.2)
timers (~> 1.1.0)
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)
connection_pool (2.0.0)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
digital_ocean (1.4.0)
faraday (~> 0.9.0)
faraday_middleware (~> 0.9.0)
json
rash
econfig (0.1.1)
erubis (2.7.0)
execjs (2.0.2)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.9.1)
faraday (>= 0.7.4, < 0.10)
hashie (2.0.5)
hike (1.2.3)
httparty (0.13.1)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.9)
jbuilder (2.0.6)
activesupport (>= 3.0.0, < 5)
@@ -53,9 +82,14 @@ GEM
mime-types (1.25.1)
minitest (5.3.3)
multi_json (1.9.3)
multi_xml (0.5.5)
multipart-post (2.0.0)
orm_adapter (0.5.0)
pg (0.17.1)
polyglot (0.3.4)
rack (1.5.2)
rack-protection (1.5.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (4.1.0)
@@ -74,8 +108,13 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.1)
rash (0.4.0)
hashie (~> 2.0.0)
rdoc (4.1.1)
json (~> 1.4)
redis (3.0.7)
redis-namespace (1.4.1)
redis (~> 3.0.4)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
@@ -85,7 +124,16 @@ GEM
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
spring (1.1.2)
sidekiq (3.0.0)
celluloid (>= 0.15.2)
connection_pool (>= 2.0.0)
json
redis (>= 3.0.6)
redis-namespace (>= 1.3.1)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
@@ -98,28 +146,35 @@ GEM
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
timers (1.1.0)
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)
warden (1.2.3)
rack (>= 1.0)

PLATFORMS
ruby

DEPENDENCIES
annotate
bootstrap-sass (~> 3.1.1)
coffee-rails (~> 4.0.0)
devise
digital_ocean
econfig
httparty
jbuilder (~> 2.0)
jquery-rails
pg
rails (= 4.1.0)
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
spring
turbolinks
sidekiq
sinatra
uglifier (>= 1.3.0)
@@ -12,5 +12,4 @@
//
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
// Place all the styles related to the MinecraftServers controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,22 @@
class MinecraftServersController < ApplicationController
def index
end

def new
end

def create
end

def show
end

def edit
end

def update
end

def destroy
end
end
@@ -0,0 +1,2 @@
module MinecraftServersHelper
end
@@ -0,0 +1,3 @@
class Droplet < ActiveRecord::Base
belongs_to :minecraft_server
end
@@ -0,0 +1,3 @@
class MinecraftServer < ActiveRecord::Base
belongs_to :user
end
@@ -0,0 +1,6 @@
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
end
@@ -2,8 +2,8 @@
<html>
<head>
<title>Gamocosm</title>
<%= 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 %>
</head>
<body>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#create</h1>
<p>Find me in app/views/minecraft_servers/create.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#destroy</h1>
<p>Find me in app/views/minecraft_servers/destroy.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#edit</h1>
<p>Find me in app/views/minecraft_servers/edit.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#index</h1>
<p>Find me in app/views/minecraft_servers/index.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#new</h1>
<p>Find me in app/views/minecraft_servers/new.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#show</h1>
<p>Find me in app/views/minecraft_servers/show.html.erb</p>
@@ -0,0 +1,2 @@
<h1>MinecraftServers#update</h1>
<p>Find me in app/views/minecraft_servers/update.html.erb</p>
@@ -1,8 +1,4 @@
#!/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'
@@ -1,8 +1,4 @@
#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
require_relative '../config/boot'
require 'rake'
Rake.application.run

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit fadefbf

Please sign in to comment.