Merge branch 'master' into legislation-module-stable

This commit is contained in:
Amaia Castro
2017-01-09 09:27:38 +01:00
3 changed files with 30 additions and 30 deletions

16
Gemfile
View File

@@ -14,13 +14,13 @@ gem 'coffee-rails', '~> 4.2.1'
# gem 'therubyracer', platforms: :ruby # gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library # Use jquery as the JavaScript library
gem 'jquery-rails', '~> 4.2.1' gem 'jquery-rails', '~> 4.2.2'
gem 'jquery-ui-rails' gem 'jquery-ui-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks' gem 'turbolinks'
# Fix sprockets on the # Fix sprockets on the
gem 'sprockets', '~> 3.7.0' gem 'sprockets', '~> 3.7.1'
gem 'devise', '~> 3.5.7' gem 'devise', '~> 3.5.7'
gem 'devise_security_extension' gem 'devise_security_extension'
@@ -38,26 +38,26 @@ gem 'responders', '~> 2.3.0'
gem 'foundation-rails', '~> 6.2.4.0' gem 'foundation-rails', '~> 6.2.4.0'
gem 'foundation_rails_helper', '~> 2.0.0' gem 'foundation_rails_helper', '~> 2.0.0'
gem 'acts_as_votable' gem 'acts_as_votable'
gem 'ckeditor', '~> 4.2.0' gem 'ckeditor', '~> 4.2.2'
gem 'invisible_captcha', '~> 0.9.1' gem 'invisible_captcha', '~> 0.9.2'
gem 'cancancan' gem 'cancancan'
gem 'social-share-button' gem 'social-share-button'
gem 'initialjs-rails', '0.2.0.4' gem 'initialjs-rails', '0.2.0.4'
gem 'unicorn', '~> 5.1.0' gem 'unicorn', '~> 5.2.0'
gem 'paranoia', '~> 2.2.0' gem 'paranoia', '~> 2.2.0'
gem 'rinku', '~> 2.0.2', require: 'rails_rinku' gem 'rinku', '~> 2.0.2', require: 'rails_rinku'
gem 'savon' gem 'savon'
gem 'dalli' gem 'dalli'
gem 'rollbar', '~> 2.13.3' gem 'rollbar', '~> 2.14.0'
gem 'delayed_job_active_record', '~> 4.1.0' gem 'delayed_job_active_record', '~> 4.1.0'
gem 'daemons' gem 'daemons'
gem 'devise-async' gem 'devise-async'
gem 'newrelic_rpm', '~> 3.17.1.326' gem 'newrelic_rpm', '~> 3.17.2.327'
gem 'whenever', require: false gem 'whenever', require: false
gem 'pg_search' gem 'pg_search'
gem 'sitemap_generator' gem 'sitemap_generator'
gem 'ahoy_matey', '~> 1.4.2' gem 'ahoy_matey', '~> 1.5.3'
gem 'groupdate', '~> 3.1.0' # group temporary data gem 'groupdate', '~> 3.1.0' # group temporary data
gem 'tolk', '~> 2.0.0' # Web interface for translations gem 'tolk', '~> 2.0.0' # Web interface for translations

View File

@@ -41,11 +41,11 @@ GEM
activerecord (>= 3.2, < 5) activerecord (>= 3.2, < 5)
acts_as_votable (0.10.0) acts_as_votable (0.10.0)
addressable (2.4.0) addressable (2.4.0)
ahoy_matey (1.4.2) ahoy_matey (1.5.3)
addressable addressable
browser (~> 2.0) browser (~> 2.0)
geocoder geocoder
rack-attack rack-attack (< 6)
railties railties
referer-parser (>= 0.3.0) referer-parser (>= 0.3.0)
request_store request_store
@@ -96,7 +96,7 @@ GEM
rack-test (>= 0.5.4) rack-test (>= 0.5.4)
xpath (~> 2.0) xpath (~> 2.0)
chronic (0.10.2) chronic (0.10.2)
ckeditor (4.2.0) ckeditor (4.2.2)
cocaine cocaine
orm_adapter (~> 0.5.0) orm_adapter (~> 0.5.0)
climate_control (0.0.3) climate_control (0.0.3)
@@ -112,7 +112,7 @@ GEM
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.10.0) coffee-script-source (1.10.0)
concurrent-ruby (1.0.2) concurrent-ruby (1.0.4)
coveralls (0.8.17) coveralls (0.8.17)
json (>= 1.8, < 3) json (>= 1.8, < 3)
simplecov (~> 0.12.0) simplecov (~> 0.12.0)
@@ -175,7 +175,7 @@ GEM
fuubar (2.2.0) fuubar (2.2.0)
rspec-core (~> 3.0) rspec-core (~> 3.0)
ruby-progressbar (~> 1.4) ruby-progressbar (~> 1.4)
geocoder (1.4.0) geocoder (1.4.1)
globalid (0.3.7) globalid (0.3.7)
activesupport (>= 4.1.0) activesupport (>= 4.1.0)
groupdate (3.1.1) groupdate (3.1.1)
@@ -200,9 +200,9 @@ GEM
terminal-table (>= 1.5.1) terminal-table (>= 1.5.1)
initialjs-rails (0.2.0.4) initialjs-rails (0.2.0.4)
railties (>= 3.1, < 6.0) railties (>= 3.1, < 6.0)
invisible_captcha (0.9.1) invisible_captcha (0.9.2)
rails rails (>= 3.2.0)
jquery-rails (4.2.1) jquery-rails (4.2.2)
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
@@ -213,7 +213,7 @@ GEM
kaminari (0.17.0) kaminari (0.17.0)
actionpack (>= 3.0.0) actionpack (>= 3.0.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
kgio (2.10.0) kgio (2.11.0)
knapsack (1.13.1) knapsack (1.13.1)
rake rake
timecop (>= 0.1.0) timecop (>= 0.1.0)
@@ -240,7 +240,7 @@ GEM
net-scp (1.2.1) net-scp (1.2.1)
net-ssh (>= 2.6.5) net-ssh (>= 2.6.5)
net-ssh (3.2.0) net-ssh (3.2.0)
newrelic_rpm (3.17.1.326) newrelic_rpm (3.17.2.327)
nokogiri (1.6.8.1) nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
nori (2.6.0) nori (2.6.0)
@@ -328,7 +328,7 @@ GEM
responders (2.3.0) responders (2.3.0)
railties (>= 4.2.0, < 5.1) railties (>= 4.2.0, < 5.1)
rinku (2.0.2) rinku (2.0.2)
rollbar (2.13.3) rollbar (2.14.0)
multi_json multi_json
rspec-core (3.5.4) rspec-core (3.5.4)
rspec-support (~> 3.5.0) rspec-support (~> 3.5.0)
@@ -388,7 +388,7 @@ GEM
spring (1.7.2) spring (1.7.2)
spring-commands-rspec (1.0.4) spring-commands-rspec (1.0.4)
spring (>= 0.9.1) spring (>= 0.9.1)
sprockets (3.7.0) sprockets (3.7.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
sprockets-es6 (0.9.2) sprockets-es6 (0.9.2)
@@ -427,7 +427,7 @@ GEM
uglifier (3.0.4) uglifier (3.0.4)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
unicode-display_width (1.1.1) unicode-display_width (1.1.1)
unicorn (5.1.0) unicorn (5.2.0)
kgio (~> 2.6) kgio (~> 2.6)
raindrops (~> 0.7) raindrops (~> 0.7)
uniform_notifier (1.10.0) uniform_notifier (1.10.0)
@@ -456,7 +456,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
acts-as-taggable-on acts-as-taggable-on
acts_as_votable acts_as_votable
ahoy_matey (~> 1.4.2) ahoy_matey (~> 1.5.3)
ancestry (~> 2.2.2) ancestry (~> 2.2.2)
browser browser
bullet bullet
@@ -467,7 +467,7 @@ DEPENDENCIES
capistrano-rails (= 1.1.8) capistrano-rails (= 1.1.8)
capistrano3-delayed-job (~> 1.0) capistrano3-delayed-job (~> 1.0)
capybara capybara
ckeditor (~> 4.2.0) ckeditor (~> 4.2.2)
cocoon cocoon
coffee-rails (~> 4.2.1) coffee-rails (~> 4.2.1)
coveralls coveralls
@@ -487,14 +487,14 @@ DEPENDENCIES
groupdate (~> 3.1.0) groupdate (~> 3.1.0)
i18n-tasks i18n-tasks
initialjs-rails (= 0.2.0.4) initialjs-rails (= 0.2.0.4)
invisible_captcha (~> 0.9.1) invisible_captcha (~> 0.9.2)
jquery-rails (~> 4.2.1) jquery-rails (~> 4.2.2)
jquery-ui-rails jquery-ui-rails
kaminari kaminari
knapsack knapsack
launchy launchy
letter_opener_web (~> 1.3.0) letter_opener_web (~> 1.3.0)
newrelic_rpm (~> 3.17.1.326) newrelic_rpm (~> 3.17.2.327)
omniauth omniauth
omniauth-facebook (~> 3.0.0) omniauth-facebook (~> 3.0.0)
omniauth-google-oauth2 (~> 0.4.0) omniauth-google-oauth2 (~> 0.4.0)
@@ -509,7 +509,7 @@ DEPENDENCIES
redcarpet redcarpet
responders (~> 2.3.0) responders (~> 2.3.0)
rinku (~> 2.0.2) rinku (~> 2.0.2)
rollbar (~> 2.13.3) rollbar (~> 2.14.0)
rspec-rails (~> 3.5) rspec-rails (~> 3.5)
rubocop (~> 0.45.0) rubocop (~> 0.45.0)
rvm1-capistrano3 rvm1-capistrano3
@@ -519,12 +519,12 @@ DEPENDENCIES
social-share-button social-share-button
spring spring
spring-commands-rspec spring-commands-rspec
sprockets (~> 3.7.0) sprockets (~> 3.7.1)
tolk (~> 2.0.0) tolk (~> 2.0.0)
turbolinks turbolinks
turnout (~> 2.4.0) turnout (~> 2.4.0)
uglifier (>= 3.0.4) uglifier (>= 3.0.4)
unicorn (~> 5.1.0) unicorn (~> 5.2.0)
web-console (= 3.3.0) web-console (= 3.3.0)
whenever whenever

View File

@@ -123,7 +123,7 @@ describe Proposal do
expect(proposal).to_not be_valid expect(proposal).to_not be_valid
end end
it "should be valid with a tag list of more than 6 elements" do it "should be valid with a tag list of up to 6 elements" do
proposal.tag_list = ["Hacienda", "Economía", "Medio Ambiente", "Corrupción", "Fiestas populares", "Prensa"] proposal.tag_list = ["Hacienda", "Economía", "Medio Ambiente", "Corrupción", "Fiestas populares", "Prensa"]
expect(proposal).to be_valid expect(proposal).to be_valid
end end