Merge branch 'master' of https://github.com/ZeusWPI/Tab
This commit is contained in:
commit
f2bc39b2b6
10 changed files with 48 additions and 1 deletions
6
Gemfile
6
Gemfile
|
@ -21,6 +21,12 @@ gem 'omniauth-oauth2'
|
|||
# Authorisation
|
||||
gem 'cancancan'
|
||||
|
||||
# Pure for css
|
||||
gem 'purecss-rails'
|
||||
# Use datatables
|
||||
gem 'jquery-datatables-rails', '~> 3.3.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
|
||||
|
|
11
Gemfile.lock
11
Gemfile.lock
|
@ -97,6 +97,11 @@ GEM
|
|||
jbuilder (2.3.1)
|
||||
activesupport (>= 3.0.0, < 5)
|
||||
multi_json (~> 1.2)
|
||||
jquery-datatables-rails (3.3.0)
|
||||
actionpack (>= 3.1)
|
||||
jquery-rails
|
||||
railties (>= 3.1)
|
||||
sass-rails
|
||||
jquery-rails (4.0.5)
|
||||
rails-dom-testing (~> 1.0)
|
||||
railties (>= 4.2.0)
|
||||
|
@ -113,7 +118,7 @@ GEM
|
|||
multi_json (1.11.2)
|
||||
multi_xml (0.5.5)
|
||||
multipart-post (2.0.0)
|
||||
mysql2 (0.4.0)
|
||||
mysql2 (0.3.20)
|
||||
net-scp (1.2.1)
|
||||
net-ssh (>= 2.6.5)
|
||||
net-ssh (2.9.2)
|
||||
|
@ -132,6 +137,8 @@ GEM
|
|||
oauth2 (~> 1.0)
|
||||
omniauth (~> 1.2)
|
||||
orm_adapter (0.5.0)
|
||||
purecss-rails (0.6.0)
|
||||
railties (>= 3.2.6, < 5)
|
||||
rack (1.6.4)
|
||||
rack-test (0.6.3)
|
||||
rack (>= 1.0)
|
||||
|
@ -237,9 +244,11 @@ DEPENDENCIES
|
|||
faker
|
||||
high_voltage (~> 2.4.0)
|
||||
jbuilder (~> 2.0)
|
||||
jquery-datatables-rails (~> 3.3.0)
|
||||
jquery-rails
|
||||
mysql2
|
||||
omniauth-oauth2
|
||||
purecss-rails
|
||||
rails (= 4.2.4)
|
||||
rspec-rails
|
||||
sass-rails (~> 5.0)
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require dataTables/jquery.dataTables
|
||||
//= require turbolinks
|
||||
//= require_tree .
|
||||
|
|
3
app/assets/javascripts/users.coffee
Normal file
3
app/assets/javascripts/users.coffee
Normal file
|
@ -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/
|
|
@ -11,5 +11,6 @@
|
|||
* file per style scope.
|
||||
*
|
||||
*= require_tree .
|
||||
*= require dataTables/jquery.dataTables
|
||||
*= require_self
|
||||
*/
|
||||
|
|
3
app/assets/stylesheets/users.scss
Normal file
3
app/assets/stylesheets/users.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
// Place all the styles related to the users controller here.
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
2
app/controllers/users_controller.rb
Normal file
2
app/controllers/users_controller.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
class UsersController < ApplicationController
|
||||
end
|
2
app/helpers/users_helper.rb
Normal file
2
app/helpers/users_helper.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
module UsersHelper
|
||||
end
|
5
spec/controllers/users_controller_spec.rb
Normal file
5
spec/controllers/users_controller_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe UsersController, type: :controller do
|
||||
|
||||
end
|
15
spec/helpers/users_helper_spec.rb
Normal file
15
spec/helpers/users_helper_spec.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'rails_helper'
|
||||
|
||||
# Specs in this file have access to a helper object that includes
|
||||
# the UsersHelper. For example:
|
||||
#
|
||||
# describe UsersHelper do
|
||||
# describe "string concat" do
|
||||
# it "concats two strings with spaces" do
|
||||
# expect(helper.concat_strings("this","that")).to eq("this that")
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
RSpec.describe UsersHelper, type: :helper do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in a new issue