Commit 4cbbdb6a by Vy Quoc Vu

ok

parent 7f6a553a
......@@ -5,8 +5,8 @@ gem 'bootstrap-sass', '3.2.0.0'
gem 'will_paginate-bootstrap'
gem 'bootstrap-will_paginate', '0.0.10'
gem 'faker', '1.4.2'
gem 'sunspot_rails'
gem 'solr-ruby'
gem 'rsolr'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.3'
......@@ -48,8 +48,6 @@ group :development, :test do
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'sunspot_solr'
end
......@@ -60,5 +58,6 @@ group :test do
end
group :production do
#gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
\ No newline at end of file
......@@ -127,7 +127,6 @@ GEM
nenv (~> 0.1)
shellany (~> 0.0)
orm_adapter (0.5.0)
pr_geohash (1.0.0)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
......@@ -187,6 +186,7 @@ GEM
rdoc (~> 4.0)
shellany (0.0.1)
slop (3.6.0)
solr-ruby (0.0.8)
spring (1.3.6)
sprockets (3.2.0)
rack (~> 1.0)
......@@ -194,14 +194,6 @@ GEM
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sunspot (2.2.0)
pr_geohash (~> 1.0)
rsolr (~> 1.0.7)
sunspot_rails (2.2.0)
nokogiri
rails (>= 3)
sunspot (= 2.2.0)
sunspot_solr (2.2.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
......@@ -244,11 +236,11 @@ DEPENDENCIES
mysql2
rails (= 4.2.3)
rails_12factor (= 0.0.2)
rsolr
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
solr-ruby
spring
sunspot_rails
sunspot_solr
turbolinks
uglifier (>= 1.3.0)
vacuum
......
class Solr < ActiveRecord::Base
end
class CreateSolrs < ActiveRecord::Migration
def change
create_table :solrs do |t|
t.timestamps null: false
end
end
end
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# This model initially had no columns defined. If you add columns to the
# model remove the '{}' from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
# column: value
require 'test_helper'
class SolrTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment