spree-faq 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/LICENSE.md +1 -1
- data/README.md +9 -9
- data/app/assets/javascripts/spree/backend/spree_faq.js.coffee +3 -4
- data/config/locales/es.yml +22 -0
- data/lib/spree_faq/version.rb +1 -1
- data/spree_faq.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 258f320906b9c41cbd188cf1faa9014a4c10a614
|
4
|
+
data.tar.gz: dfd36a39ee857b2170fc14a1fcee71f90c305701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c06e03b383d9eb507243d425825b4d74240bf39009a8036bb2562069984f75f354b835345c98d041e239be3cd8adba8709e34990350484ee9c9ad64b2e178c5c
|
7
|
+
data.tar.gz: bd025567c84ccd0e5126136e37242c3cadfd183045d95fdd2df5523015fe2756f15b6713274657f91beb4b5a339785117a78f6454d2e2335113335c18181dcff
|
data/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'spree', github: 'spree/spree', branch: '2-
|
4
|
-
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-
|
3
|
+
gem 'spree', github: 'spree/spree', branch: '2-4-stable'
|
4
|
+
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'
|
5
5
|
|
6
6
|
gemspec
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# Spree
|
1
|
+
# Spree Frequently Asked Question
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/futhr/spree-faq.
|
4
|
-
[![Coverage Status](https://
|
5
|
-
[![Code Climate](https://codeclimate.com/github/futhr/spree-faq
|
6
|
-
[![Gem Version](https://badge.fury.io/rb/spree-faq.
|
3
|
+
[![Build Status](https://travis-ci.org/futhr/spree-faq.png?branch=2-2-stable)](https://travis-ci.org/futhr/spree-faq)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/futhr/spree-faq/badge.png?branch=2-2-stable)](https://coveralls.io/r/futhr/spree-faq)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/futhr/spree-faq.png)](https://codeclimate.com/github/futhr/spree-faq)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/spree-faq.png)](http://badge.fury.io/rb/spree-faq)
|
7
7
|
|
8
|
-
An
|
8
|
+
An Spree Commerce extension for managing FAQs.
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
12
|
Add to your `Gemfile`:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem 'spree-faq', '~> 2.
|
15
|
+
gem 'spree-faq', '~> 2.2.0', require: 'spree_faq'
|
16
16
|
```
|
17
17
|
|
18
18
|
or:
|
19
19
|
|
20
20
|
```ruby
|
21
|
-
gem 'spree-faq', github: 'futhr/spree-faq', require: 'spree_faq', branch: '2-
|
21
|
+
gem 'spree-faq', github: 'futhr/spree-faq', require: 'spree_faq', branch: '2-2-stable'
|
22
22
|
```
|
23
23
|
|
24
24
|
Then run from the command line:
|
@@ -34,7 +34,7 @@ See corresponding [guidelines][1].
|
|
34
34
|
|
35
35
|
---
|
36
36
|
|
37
|
-
Copyright (c) 2009-
|
37
|
+
Copyright (c) 2009-2014 [Josh Nussbaum][2], [Tobias Bohwalli][3], and other [contributors][4], released under the [New BSD License][5]
|
38
38
|
|
39
39
|
[1]: https://github.com/futhr/spree-faq/blob/master/CONTRIBUTING.md
|
40
40
|
[2]: https://github.com/joshnuss
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#= require spree/backend
|
2
2
|
|
3
|
-
((
|
3
|
+
$(@).ready( ->
|
4
4
|
$('form').on 'click', '.add_fields', ->
|
5
5
|
time = new Date().getTime()
|
6
6
|
regexp = new RegExp($(this).data('id'), 'g')
|
@@ -15,9 +15,8 @@
|
|
15
15
|
$('#new_question_link').on 'click', ->
|
16
16
|
$('#questions').append(new_question_html.replace(/NEW_RECORD/g, $('#questions .question').size()))
|
17
17
|
$('#questions .question:last .remove').on 'click', ->
|
18
|
-
$(this).
|
18
|
+
$(this).parents('.question').remove()
|
19
19
|
|
20
|
-
$.scrollTo($('#questions .question:last'), 800)
|
21
20
|
$('.question:last input:first').focus()
|
22
21
|
|
23
|
-
)
|
22
|
+
)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
es:
|
3
|
+
activerecord:
|
4
|
+
models:
|
5
|
+
spree/question_category:
|
6
|
+
one: Categoría de pregunta
|
7
|
+
other: Categorías de pregunta
|
8
|
+
spree/question:
|
9
|
+
one: Pregunta
|
10
|
+
other: Preguntas
|
11
|
+
spree:
|
12
|
+
spree_faq:
|
13
|
+
add_question: Añadir Pregunta
|
14
|
+
answer: Respuesta
|
15
|
+
back_to_categories: Volver a categorías
|
16
|
+
category_name: Nombre de categoría
|
17
|
+
create_category: Crear Categoría
|
18
|
+
editing_category_questions: Editando categorías de preguntas
|
19
|
+
frequently_asked_questions: Preguntas Frecuentes
|
20
|
+
new_question_category: Nueva Categoría
|
21
|
+
question_categories: Preguntas frecuentes
|
22
|
+
question_categories_admin: FAQ
|
data/lib/spree_faq/version.rb
CHANGED
data/spree_faq.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
|
24
24
|
s.has_rdoc = false
|
25
25
|
|
26
|
-
s.add_runtime_dependency 'spree_core', '~> 2.
|
26
|
+
s.add_runtime_dependency 'spree_core', '~> 2.4.0'
|
27
27
|
|
28
28
|
s.add_development_dependency 'rspec', '~> 3.0.0'
|
29
29
|
s.add_development_dependency 'rspec-rails', '~> 3.0.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree-faq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Nussbaum
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: 2.4.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.
|
27
|
+
version: 2.4.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rspec
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -313,6 +313,7 @@ files:
|
|
313
313
|
- app/views/spree/faqs/index.html.erb
|
314
314
|
- bin/rails
|
315
315
|
- config/locales/en.yml
|
316
|
+
- config/locales/es.yml
|
316
317
|
- config/locales/sv.yml
|
317
318
|
- config/routes.rb
|
318
319
|
- db/migrate/20090526213535_create_questions.rb
|