移除seems_ratabale插件。
This commit is contained in:
parent
0b5ea87f11
commit
9cc86f3cd8
2
Gemfile
2
Gemfile
|
@ -7,7 +7,7 @@ gem "coderay", "~> 1.0.6"
|
||||||
gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby]
|
gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby]
|
||||||
gem "builder", "3.0.0"
|
gem "builder", "3.0.0"
|
||||||
gem 'acts-as-taggable-on'
|
gem 'acts-as-taggable-on'
|
||||||
gem 'seems_rateable'
|
|
||||||
# Optional gem for LDAP authentication
|
# Optional gem for LDAP authentication
|
||||||
group :ldap do
|
group :ldap do
|
||||||
gem "net-ldap", "~> 0.3.1"
|
gem "net-ldap", "~> 0.3.1"
|
||||||
|
|
|
@ -98,7 +98,6 @@ GEM
|
||||||
rmagick (2.13.2)
|
rmagick (2.13.2)
|
||||||
ruby-openid (2.1.8)
|
ruby-openid (2.1.8)
|
||||||
rubyzip (0.9.9)
|
rubyzip (0.9.9)
|
||||||
seems_rateable (1.0.9)
|
|
||||||
jquery-rails
|
jquery-rails
|
||||||
rails
|
rails
|
||||||
selenium-webdriver (2.33.0)
|
selenium-webdriver (2.33.0)
|
||||||
|
@ -153,7 +152,6 @@ DEPENDENCIES
|
||||||
rdoc (>= 2.4.2)
|
rdoc (>= 2.4.2)
|
||||||
rmagick (>= 2.0.0)
|
rmagick (>= 2.0.0)
|
||||||
ruby-openid (~> 2.1.4)
|
ruby-openid (~> 2.1.4)
|
||||||
seems_rateable
|
|
||||||
shoulda (~> 3.3.2)
|
shoulda (~> 3.3.2)
|
||||||
sqlite3
|
sqlite3
|
||||||
yard
|
yard
|
||||||
|
|
|
@ -103,7 +103,6 @@ class User < Principal
|
||||||
acts_as_customizable
|
acts_as_customizable
|
||||||
############################added by william
|
############################added by william
|
||||||
acts_as_taggable
|
acts_as_taggable
|
||||||
seems_rateable
|
|
||||||
############################# added by liuping 关注
|
############################# added by liuping 关注
|
||||||
acts_as_watchable
|
acts_as_watchable
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
<%= favicon %>
|
<%= favicon %>
|
||||||
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
|
||||||
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
||||||
<!-- added by william -->
|
|
||||||
<%= seems_rateable_stylesheet %>
|
|
||||||
<!-- end -->
|
|
||||||
<%= javascript_heads %>
|
<%= javascript_heads %>
|
||||||
|
|
||||||
<%= heads_for_theme %>
|
<%= heads_for_theme %>
|
||||||
|
|
21
db/schema.rb
21
db/schema.rb
|
@ -524,27 +524,6 @@ ActiveRecord::Schema.define(:version => 20130807021309) do
|
||||||
t.text "permissions"
|
t.text "permissions"
|
||||||
t.string "issues_visibility", :limit => 30, :default => "default", :null => false
|
t.string "issues_visibility", :limit => 30, :default => "default", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "seems_rateable_cached_ratings", :force => true do |t|
|
|
||||||
t.integer "cacheable_id", :limit => 8
|
|
||||||
t.string "cacheable_type"
|
|
||||||
t.float "avg", :null => false
|
|
||||||
t.integer "cnt", :null => false
|
|
||||||
t.string "dimension"
|
|
||||||
t.datetime "created_at", :null => false
|
|
||||||
t.datetime "updated_at", :null => false
|
|
||||||
end
|
|
||||||
|
|
||||||
create_table "seems_rateable_rates", :force => true do |t|
|
|
||||||
t.integer "rater_id", :limit => 8
|
|
||||||
t.integer "rateable_id"
|
|
||||||
t.string "rateable_type"
|
|
||||||
t.float "stars", :null => false
|
|
||||||
t.string "dimension"
|
|
||||||
t.datetime "created_at", :null => false
|
|
||||||
t.datetime "updated_at", :null => false
|
|
||||||
end
|
|
||||||
|
|
||||||
create_table "settings", :force => true do |t|
|
create_table "settings", :force => true do |t|
|
||||||
t.string "name", :default => "", :null => false
|
t.string "name", :default => "", :null => false
|
||||||
t.text "value"
|
t.text "value"
|
||||||
|
|
Loading…
Reference in New Issue