Commit 5af067b6 by slainer68

Travis conf

parent 07255396
source "https://rubygems.org"
gemspec :path => '..'
gem 'rails', '~> 3.2.0'
source "https://rubygems.org"
gemspec :path => '..'
gem 'rails', '~> 4.1.0'
...@@ -8,11 +8,4 @@ rvm: ...@@ -8,11 +8,4 @@ rvm:
gemfile: gemfile:
- ".gemfiles/Gemfile.rails-3.2.x" - ".gemfiles/Gemfile.rails-3.2.x"
- ".gemfiles/Gemfile.rails-4.0.x" - ".gemfiles/Gemfile.rails-4.1.x"
matrix:
include:
- rvm: "1.8.7"
gemfile: ".gemfiles/Gemfile.rails-3.2.x"
- rvm: jruby-18mode
gemfile: ".gemfiles/Gemfile.rails-3.2.x"
...@@ -23,7 +23,7 @@ This Rails extension takes a first step to solving this problem on the developer ...@@ -23,7 +23,7 @@ This Rails extension takes a first step to solving this problem on the developer
param! :q, String, required: true param! :q, String, required: true
param! :categories, Array param! :categories, Array
param! :sort, String, default: "title" param! :sort, String, default: "title"
param! :order, String, in: ["ASC", "DESC"], transform: :upcase, default: "ASC" param! :order, String, in: %w(asc desc), transform: :downcase, default: "asc"
param! :price, String, format: "[<\=>]\s*\$\d+" param! :price, String, format: "[<\=>]\s*\$\d+"
{...} {...}
......
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