From 42fd798ed04ff43431a689e195f1e586980d7504 Mon Sep 17 00:00:00 2001 From: quadrophobiac Date: Tue, 7 Jul 2015 11:00:05 +0100 Subject: [PATCH] modifications made to gemfile gemfile.lock for improving cucumber testing, rebundle and 6 scenarios (ckan and datapackages .features) should fail with an encoding error --- Gemfile | 2 +- Gemfile.lock | 381 ++++++++++++++++++++++++++------------------------- README.md | 20 +++ 3 files changed, 216 insertions(+), 187 deletions(-) diff --git a/Gemfile b/Gemfile index fb46a582..7134494e 100644 --- a/Gemfile +++ b/Gemfile @@ -84,7 +84,7 @@ end # gem 'debugger', group: [:development, :test] gem 'rack-google-analytics' -gem 'mongoid', github: 'mongoid/mongoid' +gem 'mongoid' gem 'mongoid-grid_fs', github: 'ahoward/mongoid-grid_fs' gem 'bson_ext' gem 'kaminari' diff --git a/Gemfile.lock b/Gemfile.lock index 1d56fbf7..5442b7ed 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: git://github.com/ahoward/mongoid-grid_fs.git - revision: 9ab0ca49add11a276c87c3e5da15fb0e282fcff7 + revision: 98fbd15cdd3e545ad2b6f22d74721d57183e5a7c specs: mongoid-grid_fs (2.1.0) mime-types (>= 1.0, < 3.0) @@ -8,22 +8,12 @@ GIT GIT remote: git://github.com/collectiveidea/delayed_job_mongoid.git - revision: fc7910a07dcec981ade3a887e3bf2ffb6fef1715 + revision: 5fe9d249d45d735564d26d8fba41f04b123995c7 specs: delayed_job_mongoid (2.1.0) delayed_job (>= 3.0, < 5) mongoid (>= 3.0, < 5) -GIT - remote: git://github.com/mongoid/mongoid.git - revision: 808f6c12afa2c44c07dd602a668738a9b2490c5b - specs: - mongoid (4.0.0) - activemodel (~> 4.0) - moped (~> 2.0.0) - origin (~> 2.1) - tzinfo (>= 0.3.37) - GIT remote: git://github.com/theodi/alternate-rails.git revision: 83a5b8b73655283b2d9729eeae848488881eecc4 @@ -33,7 +23,7 @@ GIT GIT remote: git://github.com/theodi/csvlint.rb.git - revision: 7cf441dda1c081de1eed52dffb850fe5188b6f01 + revision: f4d63da5a335ea0a715eb740d0d182ba2847d3c5 specs: csvlint (0.1.0) activesupport @@ -54,9 +44,9 @@ GIT GIT remote: git://github.com/theodi/data_kitten.git - revision: 054bf30bc8811268d237ca106d569ddc2dabc58e + revision: ddcbb677d7d993091a8f2ca44e537aa5cfd63bb8 specs: - data_kitten (1.0.2) + data_kitten (1.2.0) curb datapackage git @@ -69,42 +59,44 @@ GIT GEM remote: https://rubygems.org/ specs: - actionmailer (4.0.12) - actionpack (= 4.0.12) + actionmailer (4.0.13) + actionpack (= 4.0.13) mail (~> 2.5, >= 2.5.4) - actionpack (4.0.12) - activesupport (= 4.0.12) + actionpack (4.0.13) + activesupport (= 4.0.13) builder (~> 3.1.0) erubis (~> 2.7.0) rack (~> 1.5.2) rack-test (~> 0.6.2) - activemodel (4.0.12) - activesupport (= 4.0.12) + activemodel (4.0.13) + activesupport (= 4.0.13) builder (~> 3.1.0) - activerecord (4.0.12) - activemodel (= 4.0.12) + activerecord (4.0.13) + activemodel (= 4.0.13) activerecord-deprecated_finders (~> 1.0.2) - activesupport (= 4.0.12) + activesupport (= 4.0.13) arel (~> 4.0.0) - activerecord-deprecated_finders (1.0.3) - activesupport (4.0.12) + activerecord-deprecated_finders (1.0.4) + activesupport (4.0.13) i18n (~> 0.6, >= 0.6.9) minitest (~> 4.2) multi_json (~> 1.3) thread_safe (~> 0.1) tzinfo (~> 0.3.37) - addressable (2.3.6) - airbrake (4.1.0) + addressable (2.3.8) + airbrake (4.3.0) builder multi_json arel (4.0.2) backports (3.6.4) + bcp47 (0.3.3) + i18n bootstrap-kaminari-views (0.0.5) kaminari (>= 0.13) rails (>= 3.1) bootstrap-sass (3.1.1.1) sass (~> 3.2) - bson (2.3.0) + bson (3.1.2) bson_ext (1.5.1) builder (3.1.4) capybara (2.4.4) @@ -113,65 +105,62 @@ GEM rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) - celluloid (0.16.0) - timers (~> 4.0.0) cliver (0.3.2) coderay (1.1.0) coffee-rails (4.0.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) - coffee-script (2.3.0) + coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.8.0) - colorize (0.7.5) - connection_pool (2.1.0) - coveralls (0.7.1) + coffee-script-source (1.9.1.1) + colorize (0.7.7) + connection_pool (2.2.0) + coveralls (0.7.2) multi_json (~> 1.3) - rest-client + rest-client (= 1.6.7) simplecov (>= 0.7) - term-ansicolor - thor + term-ansicolor (= 1.2.2) + thor (= 0.18.1) crack (0.4.2) safe_yaml (~> 1.0.0) - cucumber (1.3.17) + cucumber (1.3.20) builder (>= 2.1.2) diff-lcs (>= 1.1.3) gherkin (~> 2.12) multi_json (>= 1.7.5, < 2.0) - multi_test (>= 0.1.1) + multi_test (>= 0.1.2) cucumber-rails (1.4.2) capybara (>= 1.1.2, < 3) cucumber (>= 1.3.8, < 2) mime-types (>= 1.16, < 3) nokogiri (~> 1.5) rails (>= 3, < 5) - curb (0.8.6) - daemons (1.1.9) + curb (0.8.8) + daemons (1.2.3) data_uri (0.1.0) - database_cleaner (1.3.0) + database_cleaner (1.4.1) datapackage (0.0.4) colorize json json-schema rest-client - delayed_job (4.0.4) - activesupport (>= 3.0, < 4.2) + delayed_job (4.0.6) + activesupport (>= 3.0, < 5.0) diff-lcs (1.2.5) - dotenv (1.0.2) - dotenv-rails (1.0.2) - dotenv (= 1.0.2) - ebnf (0.3.6) - haml (~> 4.0) + dotenv (0.7.0) + dotenv-rails (0.7.0) + dotenv (= 0.7.0) + ebnf (0.3.9) rdf (~> 1.1) sxp (~> 0.1, >= 0.1.3) - equivalent-xml (0.5.1) + equivalent-xml (0.6.0) nokogiri (>= 1.4.3) erubis (2.7.0) - ethon (0.7.1) + ethon (0.7.4) ffi (>= 1.3.0) - eventmachine (1.0.3) - execjs (2.2.2) + eventmachine (1.0.7) + execjs (2.5.2) factory_girl (4.5.0) activesupport (>= 3.0.0) factory_girl_rails (4.5.0) @@ -179,18 +168,18 @@ GEM railties (>= 3.0.0) faker (1.4.3) i18n (~> 0.5) - faraday (0.9.0) + faraday (0.9.1) multipart-post (>= 1.2, < 3) faraday_middleware (0.9.1) faraday (>= 0.7.4, < 0.10) - ffi (1.9.6) - font-awesome-rails (4.2.0.0) + ffi (1.9.10) + font-awesome-rails (4.3.0.0) railties (>= 3.2, < 5.0) - foreman (0.63.0) - dotenv (>= 0.7) + foreman (0.64.0) + dotenv (~> 0.7.0) thor (>= 0.13.6) formatador (0.2.5) - gh (0.13.2) + gh (0.14.0) addressable backports faraday (~> 0.8) @@ -199,207 +188,225 @@ GEM net-http-pipeline gherkin (2.12.2) multi_json (~> 1.3) - git (1.2.8) - guard (2.10.4) + git (1.2.9.1) + guard (2.12.8) formatador (>= 0.2.4) - listen (~> 2.7) + listen (>= 2.7, <= 4.0) lumberjack (~> 1.0) nenv (~> 0.1) + notiffany (~> 0.0) pry (>= 0.9.12) + shellany (~> 0.0) thor (>= 0.18.1) guard-bundler (2.1.0) bundler (~> 1.0) guard (~> 2.2) guard-compat (~> 1.1) - guard-compat (1.1.0) - guard-cucumber (1.5.3) + guard-compat (1.2.1) + guard-cucumber (1.5.4) cucumber (>= 1.3.0) - guard (>= 2.0.0) guard-compat (~> 1.0) nenv (~> 0.1) - guard-rspec (4.5.0) + guard-rspec (4.6.0) guard (~> 2.1) guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) haml (4.0.6) tilt - highline (1.6.21) + highline (1.7.2) hike (1.2.3) - hitimes (1.2.2) - htmlentities (4.3.2) - i18n (0.6.11) - jbuilder (2.2.5) + htmlentities (4.3.4) + i18n (0.7.0) + jbuilder (2.3.1) activesupport (>= 3.0.0, < 5) multi_json (~> 1.2) jquery-dotdotdot-rails (1.6.5) railties (>= 3.1) - jquery-rails (3.1.2) + jquery-rails (3.1.3) 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) - json-schema (2.5.0) - addressable (~> 2.3) + json (1.8.3) + json-ld (1.1.8) + rdf (~> 1.1, >= 1.1.7) + json-schema (2.5.1) + addressable (~> 2.3.7) jsonpath (0.5.6) multi_json - kaminari (0.16.1) + kaminari (0.16.3) actionpack (>= 3.0.0) activesupport (>= 3.0.0) launchy (2.4.3) addressable (~> 2.3) - libv8 (3.16.14.7) + libv8 (3.16.14.11) link_header (0.0.8) - linkeddata (1.1.2) - equivalent-xml (~> 0.4) - json-ld (~> 1.1, >= 1.1.7) + linkeddata (1.1.11) + equivalent-xml (~> 0.5) + json-ld (~> 1.1, >= 1.1.8) nokogiri (~> 1.6) - rdf (~> 1.1, >= 1.1.7) + rdf (~> 1.1, >= 1.1.11) rdf-aggregate-repo (~> 1.1) rdf-isomorphic (~> 1.1) - rdf-json (~> 1.1) - rdf-microdata (~> 2.0) - rdf-n3 (~> 1.1) - rdf-rdfa (~> 1.1, >= 1.1.5) - rdf-rdfxml (~> 1.1, >= 1.1.3) + rdf-json (~> 1.1, >= 1.1.2) + rdf-microdata (~> 2.0, >= 2.0.1) + rdf-n3 (~> 1.1, >= 1.1.3) + rdf-rdfa (~> 1.1, >= 1.1.6) + rdf-rdfxml (~> 1.1, >= 1.1.4) rdf-reasoner (~> 0.2, >= 0.2.1) - rdf-trig (~> 1.1, >= 1.1.3) + rdf-tabular (~> 0.1, >= 0.1.2) + rdf-trig (~> 1.1, >= 1.1.4) rdf-trix (~> 1.1) - rdf-turtle (~> 1.1, >= 1.1.5) - sparql (~> 1.1, >= 1.1.4) + rdf-turtle (~> 1.1, >= 1.1.6) + rdf-vocab (~> 0.8) + rdf-xsd (~> 1.1, >= 1.1.3) + sparql (~> 1.1, >= 1.1.5) sparql-client (~> 1.1, >= 1.1.3) - listen (2.8.3) - celluloid (>= 0.15.2) + listen (3.0.1) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) lumberjack (1.0.9) mail (2.6.3) mime-types (>= 1.16, < 3) method_source (0.8.2) - mime-types (2.4.3) - mini_portile (0.6.1) + mime-types (2.6.1) + mini_portile (0.6.2) minitest (4.7.5) - moped (2.0.2) - bson (~> 2.2) + mongoid (4.0.2) + activemodel (~> 4.0) + moped (~> 2.0.0) + origin (~> 2.1) + tzinfo (>= 0.3.37) + moped (2.0.6) + bson (~> 3.0) connection_pool (~> 2.0) optionable (~> 0.2.0) - multi_json (1.10.1) - multi_test (0.1.1) + multi_json (1.11.2) + multi_test (0.1.2) multipart-post (2.0.0) - mysql2 (0.3.17) - nenv (0.1.1) + mysql2 (0.3.18) + nenv (0.2.0) net-http-persistent (2.9.4) net-http-pipeline (1.0.1) - netrc (0.10.1) - nokogiri (1.6.5) + nokogiri (1.6.6.2) mini_portile (~> 0.6.0) + notiffany (0.0.6) + nenv (~> 0.1) + shellany (~> 0.0) open_uri_redirections (0.2.1) optionable (0.2.0) origin (2.1.1) - poltergeist (1.5.1) + poltergeist (1.6.0) capybara (~> 2.1) cliver (~> 0.3.1) multi_json (~> 1.0) websocket-driver (>= 0.2.0) - pry (0.10.1) - coderay (~> 1.1.0) - method_source (~> 0.8.1) + pry (0.9.12.6) + coderay (~> 1.0) + method_source (~> 0.8) slop (~> 3.4) - pusher-client (0.6.0) + pusher-client (0.6.2) json websocket (~> 1.0) - rack (1.5.2) - rack-cors (0.2.9) + rack (1.5.5) + rack-cors (0.4.0) rack-google-analytics (1.2.0) actionpack activesupport - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) - rails (4.0.12) - actionmailer (= 4.0.12) - actionpack (= 4.0.12) - activerecord (= 4.0.12) - activesupport (= 4.0.12) + rails (4.0.13) + actionmailer (= 4.0.13) + actionpack (= 4.0.13) + activerecord (= 4.0.13) + activesupport (= 4.0.13) bundler (>= 1.3.0, < 2.0) - railties (= 4.0.12) + railties (= 4.0.13) sprockets-rails (~> 2.0) - railties (4.0.12) - actionpack (= 4.0.12) - activesupport (= 4.0.12) + railties (4.0.13) + actionpack (= 4.0.13) + activesupport (= 4.0.13) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (10.4.2) - rb-fsevent (0.9.4) + rb-fsevent (0.9.5) rb-inotify (0.9.5) ffi (>= 0.5.0) - rdf (1.1.7) + rdf (1.1.14) link_header (~> 0.0, >= 0.0.8) rdf-aggregate-repo (1.1.0) rdf (>= 1.1) rdf-isomorphic (1.1.0) rdf (>= 1.1) - rdf-json (1.1.1) + rdf-json (1.1.2) rdf (~> 1.1) - rdf-microdata (2.0) + rdf-microdata (2.0.1) htmlentities (~> 4.3) nokogiri (~> 1.6) rdf (~> 1.1) rdf-xsd (~> 1.1) - rdf-n3 (1.1.2) + rdf-n3 (1.1.3) rdf (~> 1.1, >= 1.1.5) - rdf-rdfa (1.1.5) + rdf-rdfa (1.1.6) haml (~> 4.0) htmlentities (~> 4.3) rdf (~> 1.1, >= 1.1.6) - rdf-aggregate-repo + rdf-aggregate-repo (~> 1.1) rdf-xsd (~> 1.1) - rdf-rdfxml (1.1.3) + rdf-rdfxml (1.1.4) htmlentities (~> 4.3) rdf (~> 1.1, >= 1.1.6) rdf-rdfa (~> 1.1, >= 1.1.4.1) rdf-xsd (~> 1.1) - rdf-reasoner (0.2.1) + rdf-reasoner (0.2.2) rdf (~> 1.1, >= 1.1.4.2) rdf-turtle (~> 1.1) + rdf-vocab (~> 0.8) 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-tabular (0.1.3.1) + addressable (~> 2.3) + bcp47 (~> 0.3, >= 0.3.3) + json-ld (~> 1.1) + rdf (~> 1.1, >= 1.1.7) + rdf-xsd (~> 1.1) + rdf-trig (1.1.4) + ebnf (~> 0.3, >= 0.3.7) + rdf (~> 1.1, >= 1.1.11) + rdf-turtle (~> 1.1, >= 1.1.6) rdf-trix (1.1.0) rdf (>= 1.1) - rdf-turtle (1.1.5) + rdf-turtle (1.1.7) ebnf (~> 0.3, >= 0.3.6) - rdf (~> 1.1, >= 1.1.4) - rdf-xsd (1.1.2) - rdf (~> 1.1) + rdf (~> 1.1, >= 1.1.10) + rdf-vocab (0.8.4) + rdf (~> 1.1, >= 1.1.10) + rdf-xsd (1.1.3) + rdf (~> 1.1, >= 1.1.9) rdoc (4.2.0) json (~> 1.4) ref (1.0.5) - rest-client (1.7.2) - mime-types (>= 1.16, < 3.0) - netrc (~> 0.7) - rspec (3.1.0) - rspec-core (~> 3.1.0) - rspec-expectations (~> 3.1.0) - rspec-mocks (~> 3.1.0) - rspec-core (3.1.7) - rspec-support (~> 3.1.0) - rspec-expectations (3.1.2) + rest-client (1.6.7) + mime-types (>= 1.16) + rspec (3.3.0) + rspec-core (~> 3.3.0) + rspec-expectations (~> 3.3.0) + rspec-mocks (~> 3.3.0) + rspec-core (3.3.1) + rspec-support (~> 3.3.0) + rspec-expectations (3.3.0) 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) - rubyzip (1.1.6) + rspec-support (~> 3.3.0) + rspec-mocks (3.3.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.3.0) + rspec-rails (3.3.2) + actionpack (>= 3.0, < 4.3) + activesupport (>= 3.0, < 4.3) + railties (>= 3.0, < 4.3) + rspec-core (~> 3.3.0) + rspec-expectations (~> 3.3.0) + rspec-mocks (~> 3.3.0) + rspec-support (~> 3.3.0) + rspec-support (3.3.0) + rubyzip (1.1.7) safe_yaml (1.0.4) sass (3.2.19) sass-rails (4.0.5) @@ -410,12 +417,13 @@ GEM sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) + shellany (0.0.1) simplecov (0.7.1) multi_json (~> 1.0) simplecov-html (~> 0.7.1) simplecov-html (0.7.1) slop (3.6.0) - sparql (1.1.4) + sparql (1.1.5) builder (~> 3.0) ebnf (~> 0.3, >= 0.3.5) rdf (~> 1.1, >= 1.1.4) @@ -423,7 +431,7 @@ GEM rdf-xsd (~> 1.1) sparql-client (~> 1.1) sxp (~> 0.1) - sparql-client (1.1.3.1) + sparql-client (1.1.5) net-http-persistent (~> 2.9) rdf (~> 1.1) sprockets (2.11.3) @@ -431,55 +439,53 @@ GEM multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.2.2) + sprockets-rails (2.3.2) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.10) sxp (0.1.5) - term-ansicolor (1.3.0) - tins (~> 1.0) - therubyracer (0.12.1) + term-ansicolor (1.2.2) + tins (~> 0.8) + therubyracer (0.12.2) libv8 (~> 3.16.14.0) ref thin (1.6.3) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0) rack (~> 1.0) - thor (0.19.1) - thread_safe (0.3.4) + thor (0.18.1) + thread_safe (0.3.5) tilt (1.4.1) - timecop (0.7.1) - timers (4.0.1) - hitimes - tins (1.3.3) - travis (1.6.11) + timecop (0.7.4) + tins (0.13.2) + travis (1.7.7) addressable (~> 2.3) backports faraday (~> 0.9) - faraday_middleware (~> 0.9) + faraday_middleware (~> 0.9, >= 0.9.1) gh (~> 0.13) highline (~> 1.6) launchy (~> 2.1) - pry (~> 0.9) + pry (~> 0.9, < 0.10) pusher-client (~> 0.4) typhoeus (~> 0.6, >= 0.6.8) turbolinks (2.5.3) coffee-rails - typhoeus (0.6.9) - ethon (>= 0.7.1) - tzinfo (0.3.42) - uglifier (2.6.0) + typhoeus (0.7.2) + ethon (>= 0.7.4) + tzinfo (0.3.44) + uglifier (2.7.1) execjs (>= 0.3.0) json (>= 1.8.0) vcr (2.9.3) - webmock (1.20.4) + webmock (1.21.0) addressable (>= 2.3.6) crack (>= 0.3.2) - websocket (1.2.1) - websocket-driver (0.5.0) + websocket (1.2.2) + websocket-driver (0.5.4) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.1) + websocket-extensions (0.1.2) xpath (2.0.0) nokogiri (~> 1.3) @@ -513,7 +519,7 @@ DEPENDENCIES jquery-dotdotdot-rails jquery-rails kaminari - mongoid! + mongoid mongoid-grid_fs! mysql2 nokogiri (~> 1.5) @@ -538,3 +544,6 @@ DEPENDENCIES uglifier (>= 1.3.0) vcr webmock + +BUNDLED WITH + 1.10.5 diff --git a/README.md b/README.md index 6e0ab341..d6113d39 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,30 @@ Things you may want to cover: * System dependencies +mongod database working away in background + * Configuration +*Install mongo* +brew install mongo + +*make a data directory for mongo databases* +sudo mkdir -p /data/db + +*change directory ownership so that mongo can do its thing* +sudo chown -R $USERNAME /data/ + +*run mongo* +mongod + +*to initialise the app run this in root dir of app* + +foreman start + * Database creation +Its a MONGODB so it creates things on the fly as needed, however configuration above must be complete + * Database initialization * How to run the test suite