spree_reviews_rating 0.70.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +30 -0
- data/app/assets/images/background.gif +0 -0
- data/app/assets/images/cancel-off-big.png +0 -0
- data/app/assets/images/cancel-off.png +0 -0
- data/app/assets/images/cancel-on-big.png +0 -0
- data/app/assets/images/cancel-on.png +0 -0
- data/app/assets/images/coffee.png +0 -0
- data/app/assets/images/face-a-off.png +0 -0
- data/app/assets/images/face-a.png +0 -0
- data/app/assets/images/face-b-off.png +0 -0
- data/app/assets/images/face-b.png +0 -0
- data/app/assets/images/face-c-off.png +0 -0
- data/app/assets/images/face-c.png +0 -0
- data/app/assets/images/face-d-off.png +0 -0
- data/app/assets/images/face-d.png +0 -0
- data/app/assets/images/face-off.png +0 -0
- data/app/assets/images/medal-off.png +0 -0
- data/app/assets/images/medal-on.png +0 -0
- data/app/assets/images/ratyloader.gif +0 -0
- data/app/assets/images/star-half-big.png +0 -0
- data/app/assets/images/star-half.png +0 -0
- data/app/assets/images/star-off-big.png +0 -0
- data/app/assets/images/star-off.png +0 -0
- data/app/assets/images/star-on-big.png +0 -0
- data/app/assets/images/star-on.png +0 -0
- data/app/assets/javascripts/admin/spree_reviews_rating.js +1 -0
- data/app/assets/javascripts/store/review/index.js +15 -0
- data/app/assets/javascripts/store/review/new.js +17 -0
- data/app/assets/javascripts/store/spree_reviews_rating.js +450 -0
- data/app/assets/stylesheets/admin/spree_reviews_rating.css +3 -0
- data/app/assets/stylesheets/store/spree_reviews_rating.css +95 -0
- data/app/controllers/admin/feedback_reviews_controller.rb +6 -0
- data/app/controllers/admin/review_settings_controller.rb +16 -0
- data/app/controllers/admin/reviews_controller.rb +20 -0
- data/app/controllers/feedback_reviews_controller.rb +20 -0
- data/app/controllers/products_controller_decorator.rb +3 -0
- data/app/controllers/reviews_controller.rb +52 -0
- data/app/helpers/admin/feedback_reviews_helper.rb +2 -0
- data/app/helpers/feedback_reviews_helper.rb +2 -0
- data/app/helpers/reviews_helper.rb +11 -0
- data/app/models/app_configuration_decorator.rb +16 -0
- data/app/models/feedback_review.rb +10 -0
- data/app/models/product_decorator.rb +16 -0
- data/app/models/review.rb +21 -0
- data/app/models/review_sweeper.rb +21 -0
- data/app/models/reviews_ability.rb +12 -0
- data/app/overrides/add_review_bottom_sidebar.rb +4 -0
- data/app/overrides/add_reviews_after_product_properties.rb +4 -0
- data/app/overrides/add_reviews_tab_to_admin.rb +4 -0
- data/app/overrides/add_reviews_to_admin_configuration_menu.rb +4 -0
- data/app/views/admin/feedback_reviews/index.html.erb +21 -0
- data/app/views/admin/review_settings/edit.html.erb +30 -0
- data/app/views/admin/review_settings/show.html.erb +30 -0
- data/app/views/admin/reviews/_form.html.erb +10 -0
- data/app/views/admin/reviews/edit.html.erb +17 -0
- data/app/views/admin/reviews/index.html.erb +51 -0
- data/app/views/feedback_reviews/_form.html.erb +15 -0
- data/app/views/feedback_reviews/_summary.html.erb +6 -0
- data/app/views/feedback_reviews/create.js.erb +7 -0
- data/app/views/reviews/_fine_print.html.erb +9 -0
- data/app/views/reviews/_form.html.erb +23 -0
- data/app/views/reviews/_stars.html.erb +16 -0
- data/app/views/reviews/all_list.html.erb +42 -0
- data/app/views/reviews/index.html.erb +1 -0
- data/app/views/reviews/new.html.erb +5 -0
- data/app/views/reviews/submissionguidelines.html.erb +6 -0
- data/app/views/reviews/terms.html.erb +6 -0
- data/app/views/shared/_rating.html.erb +25 -0
- data/app/views/shared/_review.html.erb +17 -0
- data/app/views/shared/_review_link.html.erb +4 -0
- data/app/views/shared/_review_summary.html.erb +10 -0
- data/app/views/shared/_reviews.html.erb +13 -0
- data/app/views/shared/_shortrating.html.erb +8 -0
- data/lib/generators/spree_reviews_rating/install/install_generator.rb +29 -0
- data/lib/spree_reviews_rating/engine.rb +24 -0
- data/lib/spree_reviews_rating.rb +2 -0
- metadata +213 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
<h1><%= t(:editing_review_for) %> <%= link_to @review.product.name, product_path(@review.product) %></h1>
|
2
|
+
|
3
|
+
<h2><%= t(:original_version) %></h2>
|
4
|
+
|
5
|
+
<p>
|
6
|
+
<%= @review.review %>
|
7
|
+
</p>
|
8
|
+
<br/>
|
9
|
+
|
10
|
+
<h2><%= t(:edited_version) %></h2>
|
11
|
+
|
12
|
+
<% semantic_form_for([:admin, @review]) do |f| %>
|
13
|
+
<%= render :partial => f,
|
14
|
+
:locals => { :button_name => t(:update) } %>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<%= link_to t('back_reviews'), admin_reviews_path %>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<% render 'admin/shared/product_sub_menu' %>
|
2
|
+
<h1><%= t('review_management_description') %></h1>
|
3
|
+
|
4
|
+
<% for reviews in [["Unapproved", @unapproved_reviews], ["Approved", @approved_reviews]] %>
|
5
|
+
<h2><%= t(reviews[0]+"_reviews") %></h2>
|
6
|
+
|
7
|
+
<table cellspacing=6 class="index">
|
8
|
+
<tr>
|
9
|
+
<th><%= Review.human_attribute_name(:created_at) %></th>
|
10
|
+
<th><%= Review.human_attribute_name(:user) %></th>
|
11
|
+
<th><%= Review.human_attribute_name(:rating) %></th>
|
12
|
+
<th><%= t('product') %></th>
|
13
|
+
<th><%= t('feedback') %></th>
|
14
|
+
<th><%= Review.human_attribute_name(:review) %></th>
|
15
|
+
<th></th>
|
16
|
+
</tr>
|
17
|
+
|
18
|
+
<% for review in reviews[1] %>
|
19
|
+
<tr id="<%= dom_id review %>">
|
20
|
+
<td>
|
21
|
+
<%= l review.created_at, :format => :review %>
|
22
|
+
</td>
|
23
|
+
<td>
|
24
|
+
<p><%= review.user_id ? link_to(review.user.try(:email), [:admin, review.user]) : review.name %></p>
|
25
|
+
</td>
|
26
|
+
<td>
|
27
|
+
<%= txt_stars(review.rating) %>
|
28
|
+
</td>
|
29
|
+
<td>
|
30
|
+
<% if review.product %>
|
31
|
+
<%= link_to review.product.name, product_path(review.product) %>
|
32
|
+
<% end %>
|
33
|
+
</td>
|
34
|
+
<td>
|
35
|
+
<%= link_to t('feedback'), admin_review_feedback_reviews_path(review) %>(<%= review.feedback_stars %>/<%= review.feedback_reviews.count %>)
|
36
|
+
</td>
|
37
|
+
<td width="30%">
|
38
|
+
<%= h review.review %>
|
39
|
+
</td>
|
40
|
+
<td>
|
41
|
+
<% unless review.approved %>
|
42
|
+
<%= link_to_with_icon 'tick', t('approve'), {:action => 'approve', :id => review.id} %> <br />
|
43
|
+
<% end %>
|
44
|
+
<%= link_to_edit review %><br/>
|
45
|
+
<%= link_to_delete review %>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
<% end %>
|
49
|
+
</table>
|
50
|
+
<br/>
|
51
|
+
<% end %>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<%= render :partial => "feedback_reviews/summary", :locals => {:review => review}%>
|
2
|
+
<%= form_for((@feedback_review ||= review.feedback_reviews.build), :url => feedback_review_path(review), :method => :post, :remote => true) do |f| %>
|
3
|
+
<% unless @feedback_review.errors.empty? %>
|
4
|
+
<span class="error"><%= @feedback_review.errors[:rating] %></span>
|
5
|
+
<br />
|
6
|
+
<% end %>
|
7
|
+
<%= t(:was_this_review_helpful) %>
|
8
|
+
<% for i in 1..NB_STARS %>
|
9
|
+
<%= radio_button_tag "feedback_review[rating]", pluralize(i, 'stars'), false, :class => "star" %>
|
10
|
+
<% end %>
|
11
|
+
<%= hidden_field_tag "feedback_review[user_id]", current_user.try(:id) %>
|
12
|
+
<button class="feedback-review"><span><%= t("yes") %></span></button>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<% if @feedback_review.valid? %>
|
2
|
+
$("div#feedback_review_<%= @review.id %>").html('<%= escape_javascript(render(:partial => "feedback_reviews/summary", :locals => {:review => @review})) %>');
|
3
|
+
<% else %>
|
4
|
+
$("div#feedback_review_<%= @review.id %>").html('<%= escape_javascript(render(:partial => "feedback_reviews/form", :locals => {:review => @review})) %>');
|
5
|
+
|
6
|
+
<% end %>
|
7
|
+
$(document).ready(function(){$("div#feedback_review_<%= @review.id %>").find(".star").rating({required:true});});
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="review_fine_print">
|
2
|
+
<h2><%= t('the_fine_print') %></h2>
|
3
|
+
<ul>
|
4
|
+
<li><%= t('terms_text') %>: <%= link_to t(:terms_and_conditions), url_for(:action => 'terms') %></li>
|
5
|
+
<li><%= t('approved_text') %></li>
|
6
|
+
<li><%= t('guideline_text') %>
|
7
|
+
: <%= link_to t(:review_guidelines), url_for(:action => 'submissionguidelines') %></li>
|
8
|
+
</ul>
|
9
|
+
</div>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<%= form_for review, :url => product_reviews_path(product) do |f| %>
|
2
|
+
<%= render "shared/error_messages", :target => review %>
|
3
|
+
|
4
|
+
<div class="review_rating_field">
|
5
|
+
<%= f.label :rating %> <span class="required">*</span><br />
|
6
|
+
<%= render :partial => "reviews/stars" %>
|
7
|
+
<%= f.hidden_field :rating %>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<p class="review_name_field">
|
11
|
+
<%= f.label :name %> <span class="required">*</span><br />
|
12
|
+
<%= f.text_field :name, :maxlength => "255" %>
|
13
|
+
</p>
|
14
|
+
|
15
|
+
<p class="review_review_field">
|
16
|
+
<%= f.label :review %> <span class="required">*</span><br />
|
17
|
+
<%= f.text_area :review, :wrap => "virtual" %>
|
18
|
+
</p>
|
19
|
+
|
20
|
+
<p class="review_submit">
|
21
|
+
<%= button_tag I18n.t('submit_your_review'), :class => "button-submit" %>
|
22
|
+
</p>
|
23
|
+
<% end %>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div id="new-star" data-rating="0"></div>
|
2
|
+
<script type="text/javascript">
|
3
|
+
<!--//
|
4
|
+
jQuery(document).ready(function() {
|
5
|
+
$("#new-star").raty({
|
6
|
+
cancel: true,
|
7
|
+
half: true,
|
8
|
+
width: 180,
|
9
|
+
path: '/assets/',
|
10
|
+
click: function(score, evt) {
|
11
|
+
$("#review_rating").val(score);
|
12
|
+
}
|
13
|
+
});
|
14
|
+
});
|
15
|
+
//-->
|
16
|
+
</script>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<% content_for :sidebar do %>
|
2
|
+
<div data-hook="homepage_sidebar_navigation">
|
3
|
+
<%= render 'shared/taxonomies' %>
|
4
|
+
</div>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<div data-hook="homepage_reviews">
|
8
|
+
<% paginated_reviews ||= @approved_reviews %>
|
9
|
+
<% if @approved_reviews.empty? %>
|
10
|
+
<%= t(:no_reviews_found) %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<% if @approved_reviews.any? %>
|
14
|
+
<ul id="reviews" class="review-listing" data-hook>
|
15
|
+
<% @approved_reviews.each do |review| %>
|
16
|
+
<li id="reviews_<%= review.id %>" data-hook="reviews_list_item">
|
17
|
+
<%= review.name %><span class="attribution"><%= t('submitted_on') %> <strong itemprop="datePublished"><%= l review.created_at.to_date %></strong></span>
|
18
|
+
<div id="new-star" data-rating="<%= review.rating %>"></div>
|
19
|
+
<script type="text/javascript">
|
20
|
+
<!--//
|
21
|
+
jQuery(document).ready(function() {
|
22
|
+
$("#new-star").raty({
|
23
|
+
start: <%= review.rating %>,
|
24
|
+
width: 180,
|
25
|
+
path: '/assets/',
|
26
|
+
readOnly: true
|
27
|
+
});
|
28
|
+
});
|
29
|
+
//-->
|
30
|
+
</script>
|
31
|
+
<span class="review-review"><%= raw review.review %></span>
|
32
|
+
</li>
|
33
|
+
<% end %>
|
34
|
+
</ul>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
<hr class="space" />
|
38
|
+
|
39
|
+
<% if paginated_reviews.respond_to?(:num_pages)
|
40
|
+
%><%= paginate paginated_reviews %><% end %>
|
41
|
+
<hr class="space" />
|
42
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= render :partial => 'shared/reviews' %>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<% stars = product.get_stars
|
2
|
+
if !stars.blank? %>
|
3
|
+
<div class="ratings">
|
4
|
+
<p><%= t('average_customer_rating') %>: </p>
|
5
|
+
<div id="star" data-rating="<%= stars[:star] || 0 %>"></div>
|
6
|
+
<p>(<%= t('based_upon') %> <%= stars[:rcount] %> <%= t('reviews') %>)</p>
|
7
|
+
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
8
|
+
<meta itemprop="ratingValue" content="<%= stars[:star] %>" />
|
9
|
+
<meta itemprop="reviewCount" content="<%= stars[:rcount] %>" />
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
<script type="text/javascript">
|
14
|
+
<!--//
|
15
|
+
jQuery(document).ready(function() {
|
16
|
+
$("#star").raty({
|
17
|
+
readOnly: true,
|
18
|
+
start: <%= stars[:star] %>,
|
19
|
+
half: true,
|
20
|
+
width: 180,
|
21
|
+
path: '/assets/'
|
22
|
+
});
|
23
|
+
});
|
24
|
+
//-->
|
25
|
+
</script>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="review" itemprop="reviews" itemscope itemtype="http://schema.org/Review">
|
2
|
+
<meta itemprop="reviewRating" content="<%= review.rating %>" />
|
3
|
+
<% if Spree::Config[:show_email] && review.user %>
|
4
|
+
<span itemprop="author"><%= review.user.email %></span>
|
5
|
+
<% else %>
|
6
|
+
<span itemprop="author"><%= raw review.name %></span>
|
7
|
+
<% end %>
|
8
|
+
<span class="attribution"><%= t('submitted_on') %> <strong itemprop="datePublished"><%= l review.created_at.to_date %></strong></span>
|
9
|
+
<div itemprop="reviewBody">
|
10
|
+
<%= raw simple_format(review.review) %>
|
11
|
+
</div>
|
12
|
+
<% if Spree::Config[:feedback_rating] && (!Spree::Config[:require_login] || current_user) %>
|
13
|
+
<div class="feedback_review" id="feedback_review_<%= review.id %>">
|
14
|
+
<%= render :partial => "feedback_reviews/form", :locals => {:review => review} %>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
17
|
+
</div>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<div id="reviews">
|
2
|
+
<%= render :partial => 'shared/rating', :locals => {:product => @product} %>
|
3
|
+
<% for review in @product.reviews.approved.preview %>
|
4
|
+
<%= render :partial => 'shared/review', :locals => {:review => review} %>
|
5
|
+
<% end %>
|
6
|
+
<% if Spree::Config[:feedback_rating] && (!Spree::Config[:require_login] || current_user) %>
|
7
|
+
<%= link_to t('write_your_own_review'), new_product_review_path(@product), :class => "button" %>
|
8
|
+
<% end %>
|
9
|
+
</div>
|
10
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<div id="reviews">
|
2
|
+
<h6 class="product-section-title"><%= t(:reviews).titleize %></h6>
|
3
|
+
<%= render :partial => 'shared/rating', :locals => {:product => @product} %>
|
4
|
+
<% for review in @product.reviews.approved.limit(3) %>
|
5
|
+
<%= render :partial => 'shared/review', :locals => {:review => review} %>
|
6
|
+
<% end %>
|
7
|
+
<% if !Spree::Config[:require_login] || current_user %>
|
8
|
+
<%= link_to(t('write_your_own_review'), new_product_review_path(@product), :class => "button-review", :rel => "nofollow,noindex") %>
|
9
|
+
<% end %>
|
10
|
+
<div id="new_review"></div>
|
11
|
+
</div>
|
12
|
+
<%= javascript_include_tag 'store/review/index.js' %>
|
13
|
+
<%= javascript_include_tag 'store/review/new.js' %>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<% stars = product.get_stars %>
|
2
|
+
<span style="float:left;" title="<%= txt_stars(stars[:star]) %>">
|
3
|
+
<%= render :partial => "reviews/stars", :locals => {:stars => stars[:star]} %>
|
4
|
+
</span>
|
5
|
+
<span style="float:right;">
|
6
|
+
<%= Review.model_name.human(:count => stars[:rcount]) %>
|
7
|
+
</span>
|
8
|
+
<br/>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module SpreeReviewsRating
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
|
5
|
+
def add_javascripts
|
6
|
+
append_file "app/assets/javascripts/store/all.js", "//= require store/spree_reviews_rating\n"
|
7
|
+
#append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_reviews_rating\n"
|
8
|
+
end
|
9
|
+
|
10
|
+
def add_stylesheets
|
11
|
+
inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/spree_reviews_rating\n", :before => /\*\//, :verbose => true
|
12
|
+
#inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_reviews_rating\n", :before => /\*\//, :verbose => true
|
13
|
+
end
|
14
|
+
|
15
|
+
def add_migrations
|
16
|
+
run 'rake railties:install:migrations FROM=spree_reviews_rating'
|
17
|
+
end
|
18
|
+
|
19
|
+
def run_migrations
|
20
|
+
res = ask "Would you like to run the migrations now? [Y/n]"
|
21
|
+
if res == "" || res.downcase == "y"
|
22
|
+
run 'rake db:migrate'
|
23
|
+
else
|
24
|
+
puts "Skiping rake db:migrate, don't forget to run it!"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module SpreeReviewsRating
|
2
|
+
class Engine < Rails::Engine
|
3
|
+
engine_name 'spree_reviews_rating'
|
4
|
+
|
5
|
+
config.autoload_paths += %W(#{config.root}/lib)
|
6
|
+
|
7
|
+
# use rspec for tests
|
8
|
+
config.generators do |g|
|
9
|
+
g.test_framework :rspec
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.activate
|
13
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c|
|
14
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
15
|
+
end
|
16
|
+
|
17
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../../app/overrides/*.rb")) do |c|
|
18
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
config.to_prepare &method(:activate).to_proc
|
23
|
+
end
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,213 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spree_reviews_rating
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 269
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 70
|
9
|
+
- 5
|
10
|
+
version: 0.70.5
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Damiano Giacomello
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-03-16 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: spree_core
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: spree_auth
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: formtastic
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: paperclip
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 27
|
71
|
+
segments:
|
72
|
+
- 2
|
73
|
+
- 5
|
74
|
+
- 0
|
75
|
+
version: 2.5.0
|
76
|
+
type: :runtime
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec-rails
|
80
|
+
prerelease: false
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id005
|
92
|
+
description:
|
93
|
+
email: damiano.giacomello@diginess.it
|
94
|
+
executables: []
|
95
|
+
|
96
|
+
extensions: []
|
97
|
+
|
98
|
+
extra_rdoc_files: []
|
99
|
+
|
100
|
+
files:
|
101
|
+
- README.md
|
102
|
+
- lib/generators/spree_reviews_rating/install/install_generator.rb
|
103
|
+
- lib/spree_reviews_rating/engine.rb
|
104
|
+
- lib/spree_reviews_rating.rb
|
105
|
+
- app/assets/images/background.gif
|
106
|
+
- app/assets/images/cancel-off-big.png
|
107
|
+
- app/assets/images/cancel-off.png
|
108
|
+
- app/assets/images/cancel-on-big.png
|
109
|
+
- app/assets/images/cancel-on.png
|
110
|
+
- app/assets/images/coffee.png
|
111
|
+
- app/assets/images/face-a-off.png
|
112
|
+
- app/assets/images/face-a.png
|
113
|
+
- app/assets/images/face-b-off.png
|
114
|
+
- app/assets/images/face-b.png
|
115
|
+
- app/assets/images/face-c-off.png
|
116
|
+
- app/assets/images/face-c.png
|
117
|
+
- app/assets/images/face-d-off.png
|
118
|
+
- app/assets/images/face-d.png
|
119
|
+
- app/assets/images/face-off.png
|
120
|
+
- app/assets/images/medal-off.png
|
121
|
+
- app/assets/images/medal-on.png
|
122
|
+
- app/assets/images/ratyloader.gif
|
123
|
+
- app/assets/images/star-half-big.png
|
124
|
+
- app/assets/images/star-half.png
|
125
|
+
- app/assets/images/star-off-big.png
|
126
|
+
- app/assets/images/star-off.png
|
127
|
+
- app/assets/images/star-on-big.png
|
128
|
+
- app/assets/images/star-on.png
|
129
|
+
- app/assets/javascripts/admin/spree_reviews_rating.js
|
130
|
+
- app/assets/javascripts/store/review/index.js
|
131
|
+
- app/assets/javascripts/store/review/new.js
|
132
|
+
- app/assets/javascripts/store/spree_reviews_rating.js
|
133
|
+
- app/assets/stylesheets/admin/spree_reviews_rating.css
|
134
|
+
- app/assets/stylesheets/store/spree_reviews_rating.css
|
135
|
+
- app/controllers/admin/feedback_reviews_controller.rb
|
136
|
+
- app/controllers/admin/review_settings_controller.rb
|
137
|
+
- app/controllers/admin/reviews_controller.rb
|
138
|
+
- app/controllers/feedback_reviews_controller.rb
|
139
|
+
- app/controllers/products_controller_decorator.rb
|
140
|
+
- app/controllers/reviews_controller.rb
|
141
|
+
- app/helpers/admin/feedback_reviews_helper.rb
|
142
|
+
- app/helpers/feedback_reviews_helper.rb
|
143
|
+
- app/helpers/reviews_helper.rb
|
144
|
+
- app/models/app_configuration_decorator.rb
|
145
|
+
- app/models/feedback_review.rb
|
146
|
+
- app/models/product_decorator.rb
|
147
|
+
- app/models/review.rb
|
148
|
+
- app/models/review_sweeper.rb
|
149
|
+
- app/models/reviews_ability.rb
|
150
|
+
- app/overrides/add_review_bottom_sidebar.rb
|
151
|
+
- app/overrides/add_reviews_after_product_properties.rb
|
152
|
+
- app/overrides/add_reviews_tab_to_admin.rb
|
153
|
+
- app/overrides/add_reviews_to_admin_configuration_menu.rb
|
154
|
+
- app/views/admin/feedback_reviews/index.html.erb
|
155
|
+
- app/views/admin/review_settings/edit.html.erb
|
156
|
+
- app/views/admin/review_settings/show.html.erb
|
157
|
+
- app/views/admin/reviews/_form.html.erb
|
158
|
+
- app/views/admin/reviews/edit.html.erb
|
159
|
+
- app/views/admin/reviews/index.html.erb
|
160
|
+
- app/views/feedback_reviews/_form.html.erb
|
161
|
+
- app/views/feedback_reviews/_summary.html.erb
|
162
|
+
- app/views/feedback_reviews/create.js.erb
|
163
|
+
- app/views/reviews/_fine_print.html.erb
|
164
|
+
- app/views/reviews/_form.html.erb
|
165
|
+
- app/views/reviews/_stars.html.erb
|
166
|
+
- app/views/reviews/all_list.html.erb
|
167
|
+
- app/views/reviews/index.html.erb
|
168
|
+
- app/views/reviews/new.html.erb
|
169
|
+
- app/views/reviews/submissionguidelines.html.erb
|
170
|
+
- app/views/reviews/terms.html.erb
|
171
|
+
- app/views/shared/_rating.html.erb
|
172
|
+
- app/views/shared/_review.html.erb
|
173
|
+
- app/views/shared/_review_link.html.erb
|
174
|
+
- app/views/shared/_review_summary.html.erb
|
175
|
+
- app/views/shared/_reviews.html.erb
|
176
|
+
- app/views/shared/_shortrating.html.erb
|
177
|
+
homepage: https://github.com/romul/spree-reviews/
|
178
|
+
licenses: []
|
179
|
+
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
|
183
|
+
require_paths:
|
184
|
+
- lib
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
hash: 57
|
191
|
+
segments:
|
192
|
+
- 1
|
193
|
+
- 8
|
194
|
+
- 7
|
195
|
+
version: 1.8.7
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
|
+
none: false
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
hash: 3
|
202
|
+
segments:
|
203
|
+
- 0
|
204
|
+
version: "0"
|
205
|
+
requirements:
|
206
|
+
- none
|
207
|
+
rubyforge_project:
|
208
|
+
rubygems_version: 1.8.10
|
209
|
+
signing_key:
|
210
|
+
specification_version: 3
|
211
|
+
summary: Basic review and ratings facility for Spree
|
212
|
+
test_files: []
|
213
|
+
|