Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
added hydra-head dependency and ran blacklight and hydra generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Coble committed Oct 21, 2014
1 parent 38dd826 commit b1ca257
Show file tree
Hide file tree
Showing 26 changed files with 3,362 additions and 25 deletions.
35 changes: 11 additions & 24 deletions Gemfile
@@ -1,40 +1,27 @@
source 'https://rubygems.org'

gem 'rails', '~> 4.1.6'

gem 'hydra-head', '~> 7.2.0'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.6'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets

gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
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

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

# 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

# Use debugger
# gem 'debugger', group: [:development, :test]

gem "devise"
gem "devise-guests", "~> 0.3"
group :development, :test do
gem "rspec-rails"
gem "jettywrapper"
end
220 changes: 219 additions & 1 deletion Gemfile.lock
Expand Up @@ -14,6 +14,21 @@ GEM
activesupport (= 4.1.6)
builder (~> 3.1)
erubis (~> 2.7.0)
active-fedora (7.1.1)
active-triples (~> 0.2.2)
activesupport (>= 3.0.0)
deprecation
nom-xml (>= 0.5.1)
om (~> 3.1)
rdf-rdfxml (~> 1.1.0)
rsolr (~> 1.0.10)
rubydora (~> 1.8)
active-triples (0.2.3)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
deprecation (~> 0.1)
linkeddata (~> 1.1)
rdf (~> 1.1)
activemodel (4.1.6)
activesupport (= 4.1.6)
builder (~> 3.1)
Expand All @@ -28,30 +43,132 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 1.1)
arel (5.0.1.20140414130214)
bcrypt (3.1.7)
blacklight (5.7.1)
bootstrap-sass (~> 3.2)
deprecation
kaminari (~> 0.13)
nokogiri (~> 1.6)
rails (>= 3.2.6, < 5)
rsolr (~> 1.0.6)
block_helpers (0.3.3)
activesupport (>= 2.0)
bootstrap-sass (3.2.0.2)
sass (~> 3.2)
builder (3.2.2)
cancancan (1.9.2)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
daemons (1.1.9)
deprecation (0.1.0)
activesupport
devise (3.4.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
devise-guests (0.3.3)
devise
diff-lcs (1.2.5)
ebnf (0.3.6)
haml (~> 4.0)
rdf (~> 1.1)
sxp (~> 0.1, >= 0.1.3)
equivalent-xml (0.5.1)
nokogiri (>= 1.4.3)
erubis (2.7.0)
execjs (2.2.2)
fastercsv (1.5.5)
ffi (1.9.6)
haml (4.0.5)
tilt
hike (1.2.3)
hooks (0.3.6)
uber (~> 0.0.4)
htmlentities (4.3.2)
hydra-access-controls (7.2.2)
active-fedora (~> 7.0)
activesupport
blacklight (~> 5.3)
cancancan
deprecation
om (~> 3.0, >= 3.0.7)
sass-rails
hydra-core (7.2.2)
block_helpers
hydra-access-controls (= 7.2.2)
jettywrapper (>= 1.4.1)
rails (>= 3.2.3, < 5)
hydra-head (7.2.2)
hydra-access-controls (= 7.2.2)
hydra-core (= 7.2.2)
rails (>= 3.2.6)
i18n (0.6.11)
jbuilder (2.2.3)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jettywrapper (1.8.2)
activesupport (>= 3.0.0)
childprocess
i18n
logger
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
json-ld (1.1.7)
rdf (~> 1.1, >= 1.1.4)
kaminari (0.16.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
libv8 (3.16.14.7)
linkeddata (1.1.1)
equivalent-xml (>= 0.4.0)
json-ld (>= 1.1.1)
nokogiri (>= 1.6.1)
rdf (>= 1.1.1)
rdf-aggregate-repo (>= 1.1.0)
rdf-isomorphic (>= 1.1.0)
rdf-json (>= 1.1.0)
rdf-microdata (>= 1.1.1)
rdf-n3 (>= 1.1.0)
rdf-rdfa (>= 1.1.1)
rdf-rdfxml (>= 1.1.0)
rdf-trig (>= 1.1.2)
rdf-trix (>= 1.1.0)
rdf-turtle (>= 1.1.2)
sparql (>= 1.1.2)
sparql-client (>= 1.1.1)
logger (1.2.8)
mail (2.6.1)
mime-types (>= 1.16, < 3)
mime-types (2.4.3)
mini_portile (0.6.0)
minitest (5.4.2)
multi_json (1.10.1)
net-http-persistent (2.9.4)
netrc (0.8.0)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
nom-xml (0.5.1)
activesupport
i18n
nokogiri
om (3.1.0)
activemodel
activesupport
nokogiri (>= 1.4.2)
solrizer (~> 3.3)
orm_adapter (0.5.0)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
Expand All @@ -71,8 +188,77 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.2)
rdf (1.1.6)
rdf-aggregate-repo (1.1.0)
rdf (>= 1.1)
rdf-isomorphic (1.1.0)
rdf (>= 1.1)
rdf-json (1.1.0)
rdf (>= 1.1.0)
rdf-microdata (1.1.2)
htmlentities (~> 4.3)
nokogiri (~> 1.6)
rdf (~> 1.1)
rdf-xsd (~> 1.1)
rdf-n3 (1.1.2)
rdf (~> 1.1, >= 1.1.5)
rdf-rdfa (1.1.4.1)
haml (~> 4.0)
htmlentities (~> 4.3)
rdf (~> 1.1, >= 1.1.6)
rdf-xsd (~> 1.1)
rdf-rdfxml (1.1.3)
htmlentities (~> 4.3)
rdf (~> 1.1, >= 1.1.6)
rdf-rdfa (~> 1.1, >= 1.1.4.1)
rdf-xsd (~> 1.1)
rdf-trig (1.1.3.1)
ebnf (~> 0.3, >= 0.3.5)
rdf (~> 1.1, >= 1.1.2.1)
rdf-turtle (~> 1.1, >= 1.1.3)
rdf-trix (1.1.0)
rdf (>= 1.1)
rdf-turtle (1.1.4)
ebnf (~> 0.3, >= 0.3.6)
rdf (~> 1.1, >= 1.1.4)
rdf-xsd (1.1.2)
rdf (~> 1.1)
rdoc (4.1.2)
json (~> 1.4)
ref (1.0.5)
responders (1.1.1)
railties (>= 3.2, < 4.2)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rsolr (1.0.10)
builder (>= 2.1.2)
rspec-core (3.1.7)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-mocks (3.1.3)
rspec-support (~> 3.1.0)
rspec-rails (3.1.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
rubydora (1.8.0)
activemodel
activesupport
deprecation
equivalent-xml
fastercsv
hooks (~> 0.3.0)
mime-types
nokogiri
rest-client
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
Expand All @@ -82,6 +268,23 @@ GEM
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
solrizer (3.3.0)
activesupport
daemons
nokogiri
stomp
xml-simple
sparql (1.1.4)
builder (~> 3.0)
ebnf (~> 0.3, >= 0.3.5)
rdf (~> 1.1, >= 1.1.4)
rdf-aggregate-repo (~> 1.1, >= 1.1.0)
rdf-xsd (~> 1.1)
sparql-client (~> 1.1)
sxp (~> 0.1)
sparql-client (1.1.3.1)
net-http-persistent (~> 2.9)
rdf (~> 1.1)
spring (1.1.3)
sprockets (2.11.0)
hike (~> 1.2)
Expand All @@ -93,28 +296,43 @@ GEM
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.9)
stomp (1.3.3)
sxp (0.1.5)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
turbolinks (2.4.0)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
uber (0.0.9)
uglifier (2.5.3)
execjs (>= 0.3.0)
json (>= 1.8.0)
warden (1.2.3)
rack (>= 1.0)
xml-simple (1.1.4)

PLATFORMS
ruby

DEPENDENCIES
coffee-rails (~> 4.0.0)
devise
devise-guests (~> 0.3)
hydra-head (~> 7.2.0)
jbuilder (~> 2.0)
jettywrapper
jquery-rails
rails (= 4.1.6)
rails (~> 4.1.6)
rspec-rails
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
spring
sqlite3
therubyracer
turbolinks
uglifier (>= 1.3.0)
3 changes: 3 additions & 0 deletions app/assets/javascripts/application.js
Expand Up @@ -13,4 +13,7 @@
//= require jquery
//= require jquery_ujs
//= require turbolinks
//
// Required by Blacklight
//= require blacklight/blacklight
//= require_tree .
5 changes: 5 additions & 0 deletions app/assets/stylesheets/blacklight.css.scss
@@ -0,0 +1,5 @@
@import 'bootstrap-sprockets';

@import 'bootstrap';

@import 'blacklight/blacklight';
7 changes: 7 additions & 0 deletions app/controllers/application_controller.rb
@@ -1,4 +1,11 @@
class ApplicationController < ActionController::Base
# Adds a few additional behaviors into the application controller
include Blacklight::Controller
# Please be sure to impelement current_user and user_session. Blacklight depends on
# these methods in order to perform user specific actions.

layout 'blacklight'

# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
Expand Down

0 comments on commit b1ca257

Please sign in to comment.