mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Furthers spec fixes. Still two pending
This commit is contained in:
parent
52bffc1873
commit
6924f5eceb
5 changed files with 103 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -20,7 +20,6 @@ tmtags
|
||||||
coverage
|
coverage
|
||||||
rdoc
|
rdoc
|
||||||
pkg
|
pkg
|
||||||
Gemfile.lock
|
|
||||||
.ruby-version
|
.ruby-version
|
||||||
|
|
||||||
## PROJECT::RVM
|
## PROJECT::RVM
|
||||||
|
|
10
Gemfile
10
Gemfile
|
@ -5,16 +5,16 @@ group :development do
|
||||||
|
|
||||||
# ActionView extension
|
# ActionView extension
|
||||||
# ####################
|
# ####################
|
||||||
gem 'actionview', '~> 4.1.4'
|
gem 'actionview', '>= 4.2.0'
|
||||||
|
|
||||||
# ActiveSupport extension
|
# ActiveSupport extension
|
||||||
# #######################
|
# #######################
|
||||||
gem 'activesupport', '~> 4.1.4'
|
gem 'activesupport', '>= 4.2.0'
|
||||||
|
|
||||||
# ActiveRecord extension
|
# ActiveRecord extension
|
||||||
# ######################
|
# ######################
|
||||||
# * To simplify creating test models we use an in-memory SQLite DB
|
# * To simplify creating test models we use an in-memory SQLite DB
|
||||||
gem 'activerecord', '~> 4.1.4'
|
gem 'activerecord', '>= 4.2.0'
|
||||||
gem 'sqlite3'
|
gem 'sqlite3'
|
||||||
|
|
||||||
# MongoMapper extension
|
# MongoMapper extension
|
||||||
|
@ -25,7 +25,7 @@ group :development do
|
||||||
|
|
||||||
# Nokogiri extension
|
# Nokogiri extension
|
||||||
# ##################
|
# ##################
|
||||||
gem 'nokogiri', '~> 1.6.3.1'
|
gem 'nokogiri', '>= 1.6.5'
|
||||||
|
|
||||||
# Ripple extension
|
# Ripple extension
|
||||||
# ################
|
# ################
|
||||||
|
@ -37,5 +37,5 @@ group :development do
|
||||||
# Mongoid extension
|
# Mongoid extension
|
||||||
# #################
|
# #################
|
||||||
# * cannot be enabled at the same time as mongo_mapper
|
# * cannot be enabled at the same time as mongo_mapper
|
||||||
gem 'mongoid', '~> 4.0.0'
|
gem 'mongoid', '>= 4.0.0'
|
||||||
end
|
end
|
||||||
|
|
91
Gemfile.lock
Normal file
91
Gemfile.lock
Normal file
|
@ -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
|
|
@ -25,10 +25,4 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.add_development_dependency "rspec", ">= 3.0.0"
|
s.add_development_dependency "rspec", ">= 3.0.0"
|
||||||
s.add_development_dependency "fakefs", ">= 0.2.1"
|
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
|
end
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
require 'active_record'
|
require 'active_record'
|
||||||
|
|
||||||
|
# Required to use the column support
|
||||||
|
module Rails
|
||||||
|
def self.env
|
||||||
|
{}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Establish connection to in-memory SQLite DB
|
# Establish connection to in-memory SQLite DB
|
||||||
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
|
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue