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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bda575bb071be333c1fb36cc56877fed9ec3a66e
4
- data.tar.gz: 0b1f3617097576f7d02d0b640c57ba0ece08e865
3
+ metadata.gz: 258f320906b9c41cbd188cf1faa9014a4c10a614
4
+ data.tar.gz: dfd36a39ee857b2170fc14a1fcee71f90c305701
5
5
  SHA512:
6
- metadata.gz: 83b2c6d8d9cc630c9f872f2c6d6e7c67260bec8a99eccfa5b539b0162f286b92a5ff8525291b47530435059a94158d40431f581914634a45cd0acc0b9c925314
7
- data.tar.gz: 1a8e2eab93f9aef62acf107434eff6ac4e82c0fbb5c33fce33d3c2f19b8f0ea63b37bb3b2891510fba2e3f5640bac7f4245a76bc04f2aa3ab7b96c6420c89d3e
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-3-stable'
4
- gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-3-stable'
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2015 Josh Nussbaum, Tobias Bohwalli, and other contributors.
1
+ Copyright (c) 2009-2014 Josh Nussbaum, Tobias Bohwalli, and other contributors.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
data/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # Spree FAQ
1
+ # Spree Frequently Asked Question
2
2
 
3
- [![Build Status](https://travis-ci.org/futhr/spree-faq.svg?branch=2-3-stable)](https://travis-ci.org/futhr/spree-faq)
4
- [![Coverage Status](https://img.shields.io/coveralls/futhr/spree-faq.svg)](https://coveralls.io/r/futhr/spree-faq?branch=2-3-stable)
5
- [![Code Climate](https://codeclimate.com/github/futhr/spree-faq/badges/gpa.svg)](https://codeclimate.com/github/futhr/spree-faq)
6
- [![Gem Version](https://badge.fury.io/rb/spree-faq.svg)](http://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 opinionated `plug-and-play` styled Spree Commerce extension for managing FAQs. With this gem you get an FAQ page and the management tools to make it very easy to update your FAQ and reduce the demand on your sites customer service.
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.3.0', require: 'spree_faq'
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-3-stable'
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-2015 [Josh Nussbaum][2], [Tobias Bohwalli][3], and other [contributors][4], released under the [New BSD License][5]
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).parent('.question').remove()
18
+ $(this).parents('.question').remove()
19
19
 
20
- $.scrollTo($('#questions .question:last'), 800)
21
20
  $('.question:last input:first').focus()
22
21
 
23
- ) jQuery
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
@@ -7,7 +7,7 @@ module SpreeFaq
7
7
 
8
8
  module VERSION
9
9
  MAJOR = 2
10
- MINOR = 3
10
+ MINOR = 4
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
@@ -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.3.0'
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.3.0
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.3.0
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.3.0
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