-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
got rake task importing spreadsheet of articles and their citations
- Loading branch information
0 parents
commit 405391e
Showing
84 changed files
with
2,112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# See http://help.github.com/ignore-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 | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This is an RVM Project .rvmrc file, used to automatically load the ruby | ||
# development environment upon cd'ing into the directory | ||
|
||
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | ||
environment_id="ruby-2.0.0-p0@phd" | ||
rubygems_version="2.0.3" | ||
|
||
# Install rubies when used instead of only displaying a warning and exiting | ||
rvm_install_on_use_flag=1 | ||
|
||
# | ||
# Uncomment following line if you want options to be set only for given project. | ||
# | ||
# PROJECT_JRUBY_OPTS=( --1.9 ) | ||
|
||
# | ||
# First we attempt to load the desired environment directly from the environment | ||
# file. This is very fast and efficient compared to running through the entire | ||
# CLI and selector. If you want feedback on which environment was used then | ||
# insert the word 'use' after --create as this triggers verbose mode. | ||
# | ||
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \ | ||
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then | ||
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id" | ||
|
||
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]; then | ||
. "${rvm_path:-$HOME/.rvm}/hooks/after_use" | ||
fi | ||
else | ||
# If the environment file has not yet been created, use the RVM CLI to select. | ||
if ! rvm --create "$environment_id"; then | ||
echo "Failed to create RVM environment '${environment_id}'." | ||
exit 1 | ||
fi | ||
fi | ||
|
||
# | ||
# If you use an RVM gemset file to install a list of gems (*.gems), you can have | ||
# it be automatically loaded. Uncomment the following and adjust the filename if | ||
# necessary. | ||
# | ||
# filename=".gems" | ||
# if [[ -s "$filename" ]] ; then | ||
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d' | ||
# fi | ||
|
||
# Use the specified rubygems_version | ||
if [[ -n "${rubygems_version}" && ("$(gem --version)" != ${rubygems_version}) ]] ; then | ||
rvm rubygems "${rubygems_version}" | ||
fi | ||
|
||
# Ensure that Bundler is installed, install it if it is not. | ||
if ! (command -v bundle > /dev/null) ; then | ||
printf "The rubygem 'bundler' is not installed, installing it now.\n" | ||
gem install bundler | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rails', '3.2.13' | ||
|
||
# Bundle edge Rails instead: | ||
# gem 'rails', :git => 'git://github.com/rails/rails.git' | ||
|
||
gem 'sqlite3' | ||
gem 'activeadmin' | ||
gem 'sqlite3' | ||
gem 'mysql2', '0.3.11' | ||
gem 'spreadsheet' | ||
gem 'kaminari' | ||
|
||
# Gems used only for assets and not required | ||
# in production environments by default. | ||
group :assets do | ||
gem 'sass-rails', '~> 3.2.3' | ||
gem 'coffee-rails', '~> 3.2.1' | ||
|
||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | ||
# gem 'therubyracer', :platforms => :ruby | ||
|
||
gem 'uglifier', '>= 1.0.3' | ||
end | ||
|
||
gem 'jquery-rails' | ||
|
||
# To use ActiveModel has_secure_password | ||
# gem 'bcrypt-ruby', '~> 3.0.0' | ||
|
||
# To use Jbuilder templates for JSON | ||
# gem 'jbuilder' | ||
|
||
# Use unicorn as the app server | ||
# gem 'unicorn' | ||
|
||
# Deploy with Capistrano | ||
# gem 'capistrano' | ||
|
||
# To use debugger | ||
# gem 'debugger' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (3.2.13) | ||
actionpack (= 3.2.13) | ||
mail (~> 2.5.3) | ||
actionpack (3.2.13) | ||
activemodel (= 3.2.13) | ||
activesupport (= 3.2.13) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.4) | ||
rack (~> 1.4.5) | ||
rack-cache (~> 1.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.2.1) | ||
activeadmin (0.6.0) | ||
arbre (>= 1.0.1) | ||
bourbon (>= 1.0.0) | ||
devise (>= 1.1.2) | ||
fastercsv | ||
formtastic (>= 2.0.0) | ||
inherited_resources (>= 1.3.1) | ||
jquery-rails (>= 1.0.0) | ||
kaminari (>= 0.13.0) | ||
meta_search (>= 0.9.2) | ||
rails (>= 3.0.0) | ||
sass (>= 3.1.0) | ||
activemodel (3.2.13) | ||
activesupport (= 3.2.13) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.13) | ||
activemodel (= 3.2.13) | ||
activesupport (= 3.2.13) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.13) | ||
activemodel (= 3.2.13) | ||
activesupport (= 3.2.13) | ||
activesupport (3.2.13) | ||
i18n (= 0.6.1) | ||
multi_json (~> 1.0) | ||
arbre (1.0.1) | ||
activesupport (>= 3.0.0) | ||
arel (3.0.2) | ||
bcrypt-ruby (3.0.1) | ||
bourbon (3.1.6) | ||
sass (>= 3.2.0) | ||
thor | ||
builder (3.0.4) | ||
coffee-rails (3.2.2) | ||
coffee-script (>= 2.2.0) | ||
railties (~> 3.2.0) | ||
coffee-script (2.2.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.6.2) | ||
devise (2.2.3) | ||
bcrypt-ruby (~> 3.0) | ||
orm_adapter (~> 0.1) | ||
railties (~> 3.1) | ||
warden (~> 1.2.1) | ||
erubis (2.7.0) | ||
execjs (1.4.0) | ||
multi_json (~> 1.0) | ||
fastercsv (1.5.5) | ||
formtastic (2.2.1) | ||
actionpack (>= 3.0) | ||
has_scope (0.5.1) | ||
hike (1.2.2) | ||
i18n (0.6.1) | ||
inherited_resources (1.4.0) | ||
has_scope (~> 0.5.0) | ||
responders (~> 0.9) | ||
journey (1.0.4) | ||
jquery-rails (2.2.1) | ||
railties (>= 3.0, < 5.0) | ||
thor (>= 0.14, < 2.0) | ||
json (1.7.7) | ||
kaminari (0.14.1) | ||
actionpack (>= 3.0.0) | ||
activesupport (>= 3.0.0) | ||
mail (2.5.3) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
meta_search (1.1.3) | ||
actionpack (~> 3.1) | ||
activerecord (~> 3.1) | ||
activesupport (~> 3.1) | ||
polyamorous (~> 0.5.0) | ||
mime-types (1.23) | ||
multi_json (1.7.3) | ||
mysql2 (0.3.11) | ||
orm_adapter (0.4.0) | ||
polyamorous (0.5.0) | ||
activerecord (~> 3.0) | ||
polyglot (0.3.3) | ||
rack (1.4.5) | ||
rack-cache (1.2) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.3) | ||
rack | ||
rack-test (0.6.2) | ||
rack (>= 1.0) | ||
rails (3.2.13) | ||
actionmailer (= 3.2.13) | ||
actionpack (= 3.2.13) | ||
activerecord (= 3.2.13) | ||
activeresource (= 3.2.13) | ||
activesupport (= 3.2.13) | ||
bundler (~> 1.0) | ||
railties (= 3.2.13) | ||
railties (3.2.13) | ||
actionpack (= 3.2.13) | ||
activesupport (= 3.2.13) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (>= 0.14.6, < 2.0) | ||
rake (10.0.4) | ||
rdoc (3.12.2) | ||
json (~> 1.4) | ||
responders (0.9.3) | ||
railties (~> 3.1) | ||
ruby-ole (1.2.11.6) | ||
sass (3.2.8) | ||
sass-rails (3.2.6) | ||
railties (~> 3.2.0) | ||
sass (>= 3.1.10) | ||
tilt (~> 1.3) | ||
spreadsheet (0.8.5) | ||
ruby-ole (>= 1.0) | ||
sprockets (2.2.2) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.7) | ||
thor (0.18.1) | ||
tilt (1.4.0) | ||
treetop (1.4.12) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.37) | ||
uglifier (2.0.1) | ||
execjs (>= 0.3.0) | ||
multi_json (~> 1.0, >= 1.0.2) | ||
warden (1.2.1) | ||
rack (>= 1.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activeadmin | ||
coffee-rails (~> 3.2.1) | ||
jquery-rails | ||
kaminari | ||
mysql2 (= 0.3.11) | ||
rails (= 3.2.13) | ||
sass-rails (~> 3.2.3) | ||
spreadsheet | ||
sqlite3 | ||
uglifier (>= 1.0.3) |
Oops, something went wrong.