diff --git a/.gitignore b/.gitignore index 2f4bf9b..960fdd4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ public/apidocs/* # Ignore gemfile.lock -Gemfile.lock +#Gemfile.lock # Ignore db schema.rb # db/schema.rb diff --git a/Gemfile b/Gemfile index ea11542..41541aa 100644 --- a/Gemfile +++ b/Gemfile @@ -118,10 +118,3 @@ gem 'yard' gem 'redcarpet' -# ======================================================================================= -# DMPTool specific configuration (DO NOT contribute back to the DMPRoadmap/roadmap repo) -# ======================================================================================= -gem 'capistrano' -gem 'capistrano-bundler' -gem 'capistrano-passenger' -gem 'capistrano-rails' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b4c911a --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,385 @@ +GIT + remote: git://github.com/activeadmin/activeadmin.git + revision: 3941e1550c4d5d8a6df51057d0517f1a51b609e4 + specs: + activeadmin (1.0.0.pre4) + arbre (~> 1.0, >= 1.0.2) + bourbon + coffee-rails + formtastic (~> 3.1) + formtastic_i18n + inherited_resources (~> 1.6) + jquery-rails + jquery-ui-rails + kaminari (~> 0.15) + rails (>= 3.2, < 5.1) + ransack (~> 1.3) + sass-rails + sprockets (< 4.1) + +GEM + remote: https://rubygems.org/ + specs: + actionmailer (4.2.0) + actionpack (= 4.2.0) + actionview (= 4.2.0) + activejob (= 4.2.0) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.0) + actionview (= 4.2.0) + activesupport (= 4.2.0) + rack (~> 1.6.0) + rack-test (~> 0.6.2) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + actionpack-action_caching (1.1.1) + actionpack (>= 4.0.0, < 5.0) + actionpack-page_caching (1.0.2) + actionpack (>= 4.0.0, < 5) + actionview (4.2.0) + activesupport (= 4.2.0) + builder (~> 3.1) + erubis (~> 2.7.0) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.1) + activejob (4.2.0) + activesupport (= 4.2.0) + globalid (>= 0.3.0) + activemodel (4.2.0) + activesupport (= 4.2.0) + builder (~> 3.1) + activerecord (4.2.0) + activemodel (= 4.2.0) + activesupport (= 4.2.0) + arel (~> 6.0) + activesupport (4.2.0) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.4.0) + amoeba (3.0.0) + activerecord (>= 3.2.6) + ansi (1.5.0) + arbre (1.1.1) + activesupport (>= 3.0.0) + arel (6.0.3) + bcrypt (3.1.11) + better_errors (2.1.1) + coderay (>= 1.0.0) + erubis (>= 2.6.6) + rack (>= 0.9.0) + binding_of_caller (0.7.2) + debug_inspector (>= 0.0.1) + bourbon (4.2.7) + sass (~> 3.4) + thor (~> 0.19) + builder (3.2.2) + byebug (9.0.5) + cancancan (1.15.0) + capybara (2.7.1) + addressable + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + caracal (1.0.6) + nokogiri (~> 1.6) + rubyzip (~> 1.1) + tilt (>= 1.4) + caracal-rails (1.0.1) + caracal (~> 1.0) + rails (>= 3.2) + coderay (1.1.1) + coffee-rails (4.2.1) + coffee-script (>= 2.2.0) + railties (>= 4.0.0, < 5.2.x) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.10.0) + commonjs (0.2.7) + concurrent-ruby (1.0.2) + contact_us (1.2.0) + rails (>= 4.2.0) + daemons (1.2.4) + debug_inspector (0.0.2) + devise (4.2.0) + bcrypt (~> 3.0) + orm_adapter (~> 0.1) + railties (>= 4.1.0, < 5.1) + responders + warden (~> 1.2.3) + devise_invitable (1.7.0) + actionmailer (>= 4.0.0) + devise (>= 4.0.0) + email_validator (1.6.0) + activemodel + erubis (2.7.0) + eventmachine (1.2.0.1) + exception_notification (4.2.1) + actionmailer (>= 4.0, < 6) + activesupport (>= 4.0, < 6) + execjs (2.7.0) + faraday (0.9.2) + multipart-post (>= 1.2, < 3) + faraday_middleware (0.10.0) + faraday (>= 0.7.4, < 0.10) + feedjira (2.0.0) + faraday (~> 0.9) + faraday_middleware (~> 0.9) + loofah (~> 2.0) + sax-machine (~> 1.0) + formtastic (3.1.4) + actionpack (>= 3.2.13) + formtastic_i18n (0.6.0) + friendly_id (5.1.0) + activerecord (>= 4.0.0) + globalid (0.3.7) + activesupport (>= 4.1.0) + has_scope (0.6.0) + actionpack (>= 3.2, < 5) + activesupport (>= 3.2, < 5) + hashie (3.4.4) + htmltoword (0.5.1) + actionpack + nokogiri + rubyzip (>= 1.0) + i18n (0.7.0) + i18n-js (3.0.0.rc13) + i18n (~> 0.6, >= 0.6.6) + inherited_resources (1.6.0) + actionpack (>= 3.2, < 5) + has_scope (~> 0.6.0.rc) + railties (>= 3.2, < 5) + responders + jbuilder (2.6.0) + activesupport (>= 3.0.0, < 5.1) + multi_json (~> 1.2) + jquery-rails (4.1.1) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) + thor (>= 0.14, < 2.0) + jquery-ui-rails (5.0.5) + railties (>= 3.2.16) + json (1.8.3) + kaminari (0.17.0) + actionpack (>= 3.0.0) + activesupport (>= 3.0.0) + ledermann-rails-settings (2.4.2) + activerecord (>= 3.1) + less (2.6.0) + commonjs (~> 0.2.7) + less-rails (2.7.1) + actionpack (>= 4.0) + less (~> 2.6.0) + sprockets (> 2, < 4) + tilt + libv8 (3.16.14.15) + loofah (2.0.3) + nokogiri (>= 1.5.9) + mail (2.6.4) + mime-types (>= 1.16, < 4) + mime-types (3.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0521) + mini_portile2 (2.1.0) + minitest (5.9.0) + minitest-capybara (0.8.2) + capybara (~> 2.2) + minitest (~> 5.0) + rake + minitest-metadata (0.6.0) + minitest (>= 4.7, < 6.0) + minitest-rails (2.2.1) + minitest (~> 5.7) + railties (~> 4.1) + minitest-rails-capybara (2.1.2) + capybara (~> 2.7) + minitest-capybara (~> 0.8) + minitest-metadata (~> 0.6) + minitest-rails (~> 2.1) + minitest-reporters (1.1.11) + ansi + builder + minitest (>= 5.0) + ruby-progressbar + multi_json (1.12.1) + multipart-post (2.0.0) + mysql2 (0.3.21) + nokogiri (1.6.8) + mini_portile2 (~> 2.1.0) + pkg-config (~> 1.1.7) + omniauth (1.3.1) + hashie (>= 1.2, < 4) + rack (>= 1.0, < 3) + omniauth-shibboleth (1.2.1) + omniauth (>= 1.0.0) + orm_adapter (0.5.0) + pkg-config (1.1.7) + polyamorous (1.3.1) + activerecord (>= 3.0) + protected_attributes (1.1.3) + activemodel (>= 4.0.1, < 5.0) + rack (1.6.4) + rack-test (0.6.3) + rack (>= 1.0) + rails (4.2.0) + actionmailer (= 4.2.0) + actionpack (= 4.2.0) + actionview (= 4.2.0) + activejob (= 4.2.0) + activemodel (= 4.2.0) + activerecord (= 4.2.0) + activesupport (= 4.2.0) + bundler (>= 1.3.0, < 2.0) + railties (= 4.2.0) + sprockets-rails + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.7) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) + rails-observers (0.1.2) + activemodel (~> 4.0) + railties (4.2.0) + actionpack (= 4.2.0) + activesupport (= 4.2.0) + rake (>= 0.8.7) + thor (>= 0.18.1, < 2.0) + rake (11.2.2) + ransack (1.8.2) + actionpack (>= 3.0) + activerecord (>= 3.0) + activesupport (>= 3.0) + i18n + polyamorous (~> 1.3) + recaptcha (3.3.0) + json + redcarpet (3.3.4) + ref (2.0.0) + responders (2.2.0) + railties (>= 4.2.0, < 5.1) + rolify (5.1.0) + ruby-progressbar (1.8.1) + rubyzip (1.2.0) + sass (3.4.22) + sass-rails (5.0.6) + railties (>= 4.0.0, < 6) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + sax-machine (1.3.2) + sprockets (3.7.0) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.1.1) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + swagger-docs (0.2.8) + activesupport (>= 3, < 5) + rails (>= 3, < 5) + therubyracer (0.12.2) + libv8 (~> 3.16.14.0) + ref + thin (1.7.0) + daemons (~> 1.0, >= 1.0.9) + eventmachine (~> 1.0, >= 1.0.4) + rack (>= 1, < 3) + thor (0.19.1) + thread_safe (0.3.5) + tilt (2.0.5) + tinymce-rails (4.4.1) + railties (>= 3.1.1) + turbolinks (5.0.1) + turbolinks-source (~> 5) + turbolinks-source (5.0.0) + twitter-bootstrap-rails (2.2.8) + actionpack (>= 3.1) + execjs + rails (>= 3.1) + railties (>= 3.1) + tzinfo (1.2.2) + thread_safe (~> 0.1) + uglifier (3.0.1) + execjs (>= 0.3.0, < 3) + validate_url (1.0.2) + activemodel (>= 3.0.0) + addressable + warden (1.2.6) + rack (>= 1.0) + web-console (2.3.0) + activemodel (>= 4.0) + binding_of_caller (>= 0.7.2) + railties (>= 4.0) + sprockets-rails (>= 2.0, < 4.0) + wicked_pdf (1.0.6) + xpath (2.0.0) + nokogiri (~> 1.3) + yard (0.9.5) + +PLATFORMS + ruby + +DEPENDENCIES + actionpack-action_caching + actionpack-page_caching + activeadmin! + amoeba + better_errors + binding_of_caller + byebug + cancancan + caracal + caracal-rails + contact_us (>= 1.2.0) + devise + devise_invitable + email_validator + exception_notification + feedjira + friendly_id + htmltoword + i18n-js (>= 3.0.0.rc11) + jbuilder + jquery-rails + ledermann-rails-settings + less-rails + libv8 + minitest-rails-capybara + minitest-reporters + mysql2 (~> 0.3.18) + omniauth + omniauth-shibboleth + protected_attributes + rack-test + rails (= 4.2.0) + rails-observers + railties + recaptcha + redcarpet + responders (~> 2.0) + rolify + sass-rails + swagger-docs + therubyracer (>= 0.11.4) + thin + tinymce-rails + turbolinks + twitter-bootstrap-rails (= 2.2.8) + uglifier + validate_url + web-console (~> 2.0) + wicked_pdf + yard + +BUNDLED WITH + 1.12.5 diff --git a/config.ru b/config.ru index 9b659c1..c0ae89c 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. +require File.expand_path(File.dirname(__FILE__) + '/config/environment') -require ::File.expand_path('../config/environment', __FILE__) run DMPRoadmap::Application diff --git a/config/environments/development.rb b/config/environments/development.rb index ece8ff4..f7e72fc 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -47,12 +47,9 @@ config.action_mailer.perform_deliveries = false - config.web_console.whitelisted_ips = '192.168.33.1' - # Load Branded terminology (e.g. organization name, application name, etc.) config.branding = config_for(:branding).deep_symbolize_keys - #config.branding = YAML.load_file(Rails.root.join('config/branding.yml'))[Rails.env] puts "YAML: #{config_for(:branding)}"