From 6924f5eceb93ad551f2865eec9e3cee5d9788e56 Mon Sep 17 00:00:00 2001 From: James Cox Date: Mon, 29 Dec 2014 12:22:29 -0500 Subject: [PATCH] Furthers spec fixes. Still two pending --- .gitignore | 1 - Gemfile | 10 ++-- Gemfile.lock | 91 ++++++++++++++++++++++++++++++++++++ awesome_print.gemspec | 6 --- spec/active_record_helper.rb | 7 +++ 5 files changed, 103 insertions(+), 12 deletions(-) create mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index 8ca883c..d0f5704 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,6 @@ tmtags coverage rdoc pkg -Gemfile.lock .ruby-version ## PROJECT::RVM diff --git a/Gemfile b/Gemfile index 8690046..b67838e 100644 --- a/Gemfile +++ b/Gemfile @@ -5,16 +5,16 @@ group :development do # ActionView extension # #################### - gem 'actionview', '~> 4.1.4' + gem 'actionview', '>= 4.2.0' # ActiveSupport extension # ####################### - gem 'activesupport', '~> 4.1.4' + gem 'activesupport', '>= 4.2.0' # ActiveRecord extension # ###################### # * To simplify creating test models we use an in-memory SQLite DB - gem 'activerecord', '~> 4.1.4' + gem 'activerecord', '>= 4.2.0' gem 'sqlite3' # MongoMapper extension @@ -25,7 +25,7 @@ group :development do # Nokogiri extension # ################## - gem 'nokogiri', '~> 1.6.3.1' + gem 'nokogiri', '>= 1.6.5' # Ripple extension # ################ @@ -37,5 +37,5 @@ group :development do # Mongoid extension # ################# # * cannot be enabled at the same time as mongo_mapper - gem 'mongoid', '~> 4.0.0' + gem 'mongoid', '>= 4.0.0' end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..31781b7 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,91 @@ +PATH + remote: . + specs: + awesome_print (1.2.0) + +GEM + remote: https://rubygems.org/ + specs: + 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) + 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) + arel (6.0.0) + bson (2.3.0) + builder (3.2.2) + connection_pool (2.1.0) + diff-lcs (1.2.5) + erubis (2.7.0) + fakefs (0.5.3) + i18n (0.7.0) + json (1.8.1) + loofah (2.0.1) + nokogiri (>= 1.5.9) + mini_portile (0.6.1) + minitest (5.5.0) + mongoid (4.0.0) + activemodel (~> 4.0) + moped (~> 2.0.0) + origin (~> 2.1) + tzinfo (>= 0.3.37) + moped (2.0.2) + bson (~> 2.2) + connection_pool (~> 2.0) + optionable (~> 0.2.0) + nokogiri (1.6.5) + mini_portile (~> 0.6.0) + optionable (0.2.0) + origin (2.1.1) + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.5) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6.0) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.1) + loofah (~> 2.0) + rspec (3.0.0) + rspec-core (~> 3.0.0) + rspec-expectations (~> 3.0.0) + rspec-mocks (~> 3.0.0) + rspec-core (3.0.4) + rspec-support (~> 3.0.0) + rspec-expectations (3.0.4) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.0.0) + rspec-mocks (3.0.4) + rspec-support (~> 3.0.0) + rspec-support (3.0.4) + sqlite3 (1.3.10) + thread_safe (0.3.4) + tzinfo (1.2.2) + thread_safe (~> 0.1) + +PLATFORMS + ruby + +DEPENDENCIES + actionview (>= 4.2.0) + activerecord (>= 4.2.0) + activesupport (>= 4.2.0) + awesome_print! + fakefs (>= 0.2.1) + mongoid (>= 4.0.0) + nokogiri (>= 1.6.5) + rspec (>= 3.0.0) + sqlite3 diff --git a/awesome_print.gemspec b/awesome_print.gemspec index b061366..f336395 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -25,10 +25,4 @@ Gem::Specification.new do |s| s.add_development_dependency "rspec", ">= 3.0.0" s.add_development_dependency "fakefs", ">= 0.2.1" - s.add_development_dependency "actionview" - s.add_development_dependency "activerecord" - s.add_development_dependency "activesupport" - s.add_development_dependency "mongoid" - s.add_development_dependency "mongo_mapper" - s.add_development_dependency "nokogiri" end diff --git a/spec/active_record_helper.rb b/spec/active_record_helper.rb index bf1203f..7a170f5 100644 --- a/spec/active_record_helper.rb +++ b/spec/active_record_helper.rb @@ -1,5 +1,12 @@ require 'active_record' +# Required to use the column support +module Rails + def self.env + {} + end +end + # Establish connection to in-memory SQLite DB ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"