Skip to content

Commit

Permalink
Archive the legacy DALT tool
Browse files Browse the repository at this point in the history
This has been replaced by the new tool.
  • Loading branch information
benlovell committed Feb 20, 2025
1 parent 181ab5c commit 846a142
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 101 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ gem 'agreements', '~> 2.5.0'
gem 'budget_planner', github: 'moneyadviceservice/budget_planner', ref: 'ae91831'
gem 'cost_calculator_builder', github: 'moneyadviceservice/cost_calculator_builder', ref: 'a6a0ddf'
gem 'cutback_calculator', '~> 0.13.0'
gem 'debt_advice_locator', github: 'moneyadviceservice/debt-advice-locator', ref: '878f1b1'
gem 'debt_and_mental_health', '~> 1.6.0'
gem 'debt_free_day_calculator', github: 'moneyadviceservice/debt_free_day_calculator', ref: 'cc7d907'
gem 'debt_test', '~> 1.9.0'
Expand Down
45 changes: 0 additions & 45 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,6 @@ GIT
friendly_id (>= 5.1.0)
rails (>= 4, < 5)

GIT
remote: https://github.com/moneyadviceservice/debt-advice-locator.git
revision: 878f1b1e5c765c15537328a78ccdd60d175b5dd9
ref: 878f1b1
specs:
debt_advice_locator (4.2.2)
active_attr
active_model_serializers (< 0.10.0)
addressable
bcrypt
coffee-rails
dough-ruby (~> 5)
draper (< 3)
geokit-rails
kaminari
mas-templating (~> 1.0.0)
rails (>= 4, < 5)
redcarpet
sass-rails (= 4.0.5)
uk_postcode
validate_url (= 1.0.0)

GIT
remote: https://github.com/moneyadviceservice/debt_free_day_calculator.git
revision: cc7d9078a2e0d5e023d13a151363ab90c7aac49e
Expand Down Expand Up @@ -187,13 +165,6 @@ GEM
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
active_attr (0.16.0)
actionpack (>= 3.0.2, < 7.2)
activemodel (>= 3.0.2, < 7.2)
activesupport (>= 3.0.2, < 7.2)
active_model_serializers (0.9.13)
activemodel (>= 3.2)
concurrent-ruby (~> 1.0)
activejob (4.2.11.37)
activesupport (= 4.2.11.37)
globalid (>= 0.3.0)
Expand Down Expand Up @@ -271,13 +242,6 @@ GEM
codeclimate-test-reporter (0.6.0)
simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.3)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.3.4)
crack (0.4.5)
rexml
Expand Down Expand Up @@ -403,10 +367,6 @@ GEM
thor (~> 0.19.1)
friendly_id (5.5.1)
activerecord (>= 4.0.0)
geokit (1.14.0)
geokit-rails (2.5.0)
geokit (~> 1.5)
rails (>= 3.0)
gherkin (5.0.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
Expand Down Expand Up @@ -745,17 +705,13 @@ GEM
thread_safe (~> 0.1)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
uk_postcode (2.1.8)
underscore-rails (1.8.3)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unicode-display_width (1.8.0)
uri (0.10.0)
uri_template (0.7.0)
validate_url (1.0.0)
activemodel (>= 3.0.0)
addressable
vcr (4.0.0)
warden (1.2.7)
rack (>= 1.0)
Expand Down Expand Up @@ -807,7 +763,6 @@ DEPENDENCIES
cucumber-rails
cutback_calculator (~> 0.13.0)
database_cleaner
debt_advice_locator!
debt_and_mental_health (~> 1.6.0)
debt_free_day_calculator!
debt_test (~> 1.9.0)
Expand Down
1 change: 0 additions & 1 deletion app/assets/javascripts/require_config.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
costCalculatorBuilderConfig: requirejs_path('cost_calculator_builder/require_config'),
pensionsCalculatorConfig: requirejs_path('pensions_calculator/require_config'),
cutbackCalculatorConfig: requirejs_path('cutback_calculator/require_config'),
debtAdviceLocatorConfig: requirejs_path('debt_advice_locator/require_config'),
debtFreeDayCalculatorConfig: requirejs_path('debt_free_day_calculator/require_config'),
debtTestConfig: requirejs_path('debt_test/require_config'),
rioConfig: requirejs_path('rio/require_config'),
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/redirectors_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ def redirect
private

def url_for_tool(locale, tool_name)
if tool_name == :debt_advice_locator
"https://www.moneyhelper.org.uk/#{locale}/money-troubles/dealing-with-debt/debt-advice-locator"
elsif tool_name == :loan_calculator
"https://www.moneyhelper.org.uk/#{locale}/everyday-money/credit-and-purchases/loan-calculator"
elsif tool_name == :credit_card_calculator
Expand Down
1 change: 0 additions & 1 deletion bower.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"bind-polyfill": "^1.0.0",
"yeast": "1.17.0",
"advice_plans": "<%= gem_path('advice_plans') %>",
"debt_advice_locator": "<%= gem_path('debt_advice_locator') %>",
"debt_free_day_calculator": "<%= gem_path('debt_free_day_calculator') %>",
"decision_trees": "<%= gem_path('decision_trees') %>",
"dough": "<%= gem_path('dough-ruby') %>",
Expand Down
1 change: 0 additions & 1 deletion config/initializers/debt_advice_locator.rb

This file was deleted.

5 changes: 0 additions & 5 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ def not_implemented
mount DebtFreeDayCalculator::Engine => '/tools/:tool_id',
constraints: ToolMountPoint.for(:debt_free_day_calculator)

mount DebtAdviceLocator::Engine => '/tools/:tool_id',
constraints: ToolMountPoint.for(:debt_advice_locator)

mount DebtTest::Engine => '/tools/:tool_id',
constraints: ToolMountPoint.for(:debt_test)

Expand Down Expand Up @@ -109,8 +106,6 @@ def not_implemented

get '/tools/:id', to: 'landing_pages#show', constraints: { id: /annuities/ }

get '/tools/redirect_to/:tool_name', to: 'redirectors#redirect'

resources :articles, only: 'show' do
resource :amp, only: [:show], controller: :amp_articles
resources :page_feedbacks, only: [:create]
Expand Down
1 change: 0 additions & 1 deletion lib/tool_mount_point.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
require_relative '../lib/tool_mount_point/budget_planner'
require_relative '../lib/tool_mount_point/cutback_calculator'
require_relative '../lib/tool_mount_point/debt_and_mental_health'
require_relative '../lib/tool_mount_point/debt_advice_locator'
require_relative '../lib/tool_mount_point/debt_free_day_calculator'
require_relative '../lib/tool_mount_point/debt_test'
require_relative '../lib/tool_mount_point/decision_trees'
Expand Down
6 changes: 0 additions & 6 deletions lib/tool_mount_point/debt_advice_locator.rb

This file was deleted.

24 changes: 0 additions & 24 deletions spec/controllers/redirectors_controller_spec.rb

This file was deleted.

14 changes: 0 additions & 14 deletions spec/requests/tool_integration/debt_advice_locator_spec.rb

This file was deleted.

0 comments on commit 846a142

Please sign in to comment.