Skip to content

Commit

Permalink
Merge branch 'hotfix/0.39.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jul 21, 2021
2 parents 2814da9 + ea45914 commit 3f57933
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 28 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ updates:
- dependency-name: capybara
versions:
- ">= 3.16.0"
- dependency-name: fast_gettext
versions:
- ">= 2.0.3"
- dependency-name: icalendar
versions:
- ">= 2.6.0"
Expand Down Expand Up @@ -77,9 +74,6 @@ updates:
- dependency-name: capybara
versions:
- ">= 3.33.0"
- dependency-name: gettext
versions:
- ">= 3.3.0"
- dependency-name: rolify
versions:
- ">= 6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ gem 'gender_detector', '~> 2.0.0'
gem 'i18n', '~> 1.8.10'
gem 'rails-i18n', rails_upgrade? ? '~> 6.0.0' : '~> 5.1.0'
gem 'gettext_i18n_rails', '~> 1.8.1'
gem 'fast_gettext', '< 2.0.3'
gem 'gettext', '< 3.3.0'
gem 'fast_gettext', '~> 2.0.3'
gem 'gettext', '~> 3.3.8'
gem 'globalize', rails_upgrade? ? '~> 5.3.0' : '~> 5.2.0'
gem 'locale', '~> 2.1.3'
gem 'routing-filter', '~> 0.6.2'
Expand Down
14 changes: 10 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
csv (3.2.0)
daemons (1.4.0)
dalli (2.7.11)
dante (0.2.0)
Expand All @@ -145,16 +146,17 @@ GEM
railties (>= 4.2.0)
fancybox-rails (0.3.1)
railties (>= 3.1.0)
fast_gettext (2.0.2)
fast_gettext (2.0.3)
ffi (1.15.0)
fivemat (1.3.7)
flipper (0.17.2)
flipper-active_record (0.17.2)
activerecord (>= 4.2, < 7)
flipper (~> 0.17.2)
gender_detector (2.0.0)
gettext (3.2.9)
gettext (3.3.8)
locale (>= 2.0.5)
red-datasets
text (>= 1.3.0)
gettext_i18n_rails (1.8.1)
fast_gettext (>= 0.9.0)
Expand Down Expand Up @@ -282,6 +284,10 @@ GEM
ffi (~> 1.0)
recaptcha (5.6.0)
json
red-datasets (0.1.4)
csv (>= 3.0.5)
rexml
rubyzip
regexp_parser (1.7.1)
request_store (1.4.1)
rack (>= 1.4)
Expand Down Expand Up @@ -409,10 +415,10 @@ DEPENDENCIES
exception_notification (~> 4.4.3)
factory_bot_rails (~> 5.2.0)
fancybox-rails (~> 0.3.0)
fast_gettext (< 2.0.3)
fast_gettext (~> 2.0.3)
fivemat (~> 1.3.7)
gender_detector (~> 2.0.0)
gettext (< 3.3.0)
gettext (~> 3.3.8)
gettext_i18n_rails (~> 1.8.1)
globalize (~> 5.2.0)
gnuplot (~> 2.6.0)
Expand Down
14 changes: 10 additions & 4 deletions Gemfile.rails_next.lock
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
csv (3.2.0)
daemons (1.4.0)
dalli (2.7.11)
dante (0.2.0)
Expand All @@ -158,16 +159,17 @@ GEM
railties (>= 4.2.0)
fancybox-rails (0.3.1)
railties (>= 3.1.0)
fast_gettext (2.0.2)
fast_gettext (2.0.3)
ffi (1.15.0)
fivemat (1.3.7)
flipper (0.21.0)
flipper-active_record (0.21.0)
activerecord (>= 5.0, < 7)
flipper (~> 0.21.0)
gender_detector (2.0.0)
gettext (3.2.9)
gettext (3.3.8)
locale (>= 2.0.5)
red-datasets
text (>= 1.3.0)
gettext_i18n_rails (1.8.1)
fast_gettext (>= 0.9.0)
Expand Down Expand Up @@ -297,6 +299,10 @@ GEM
ffi (~> 1.0)
recaptcha (5.6.0)
json
red-datasets (0.1.4)
csv (>= 3.0.5)
rexml
rubyzip
regexp_parser (1.7.1)
request_store (1.5.0)
rack (>= 1.4)
Expand Down Expand Up @@ -425,10 +431,10 @@ DEPENDENCIES
exception_notification (~> 4.4.3)
factory_bot_rails (~> 5.2.0)
fancybox-rails (~> 0.3.0)
fast_gettext (< 2.0.3)
fast_gettext (~> 2.0.3)
fivemat (~> 1.3.7)
gender_detector (~> 2.0.0)
gettext (< 3.3.0)
gettext (~> 3.3.8)
gettext_i18n_rails (~> 1.8.1)
globalize (~> 5.3.0)
gnuplot (~> 2.6.0)
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: [email protected]; WWW: http://www.mysociety.org/

require 'open-uri'

class ApplicationController < ActionController::Base
class PermissionDenied < StandardError
end
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/general_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: [email protected]; WWW: http://www.mysociety.org/

require 'open-uri'

class GeneralController < ApplicationController

MAX_RESULTS = 500
Expand Down
1 change: 0 additions & 1 deletion app/controllers/request_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Email: [email protected]; WWW: http://www.mysociety.org/

require 'zip'
require 'open-uri'

class RequestController < ApplicationController
before_action :check_read_only, only: [:new, :upload_response]
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/services_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# controllers/services_controller.rb:

require 'open-uri'

class ServicesController < ApplicationController

def other_country_message
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/alaveteli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
load "util.rb"

# Application version
ALAVETELI_VERSION = '0.39.1.0'
ALAVETELI_VERSION = '0.39.1.1'

# Add new inflection rules using the following format
# (all these examples are active by default):
Expand Down
7 changes: 7 additions & 0 deletions doc/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.39.1.1

## Highlighted Features

* Remove deprecation warnings (Graeme Porteous)
* Dependencies upgrades (Graeme Porteous)

# 0.39.1.0

## Highlighted Features
Expand Down
5 changes: 1 addition & 4 deletions lib/tasks/geoip.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
namespace :geoip do
require 'open-uri'

def log(text)
puts(text) unless Rake.application.options.silent
end
Expand Down Expand Up @@ -41,8 +39,7 @@ namespace :geoip do

File.open(downloaded_location, "wb") do |saved_file|
begin
# the following "open" is provided by open-uri
open(link, "rb") do |read_file|
URI.open(link, "rb") do |read_file|
saved_file.write(read_file.read)
end

Expand Down

0 comments on commit 3f57933

Please sign in to comment.