From a3b2e9f954b4e0601c6f56a506469501d894459f Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 18 Jun 2020 17:38:47 -0500 Subject: [PATCH] Remove legacy fullcontact gem --- Gemfile | 3 - Gemfile.lock | 11 --- NOTICE-ruby | 148 ----------------------------- config/initializers/fullcontact.rb | 11 --- lib/query/query_ticket_levels.rb | 1 - 5 files changed, 174 deletions(-) delete mode 100644 config/initializers/fullcontact.rb diff --git a/Gemfile b/Gemfile index 1b50e188..7104e508 100755 --- a/Gemfile +++ b/Gemfile @@ -23,9 +23,6 @@ gem 'rack-attack', '~> 5.2' # for blocking ip addressses gem 'rack-ssl', '~> 1.4' gem 'sprockets', '~> 3.7' -# External Services -gem 'fullcontact', '~> 0.18.0' # Full Contact API; includes #Hashie::Mash - # Helpers gem 'chronic', '~> 0.10.2' # For nat lang parsing of dates gem 'countries', '~> 3.0' diff --git a/Gemfile.lock b/Gemfile.lock index a1184768..f72c8f3b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -155,19 +155,11 @@ GEM factory_bot_rails (5.0.2) factory_bot (~> 5.0.2) railties (>= 4.2.0) - faraday (0.11.0) - multipart-post (>= 1.2, < 3) - faraday_middleware (0.13.1) - faraday (>= 0.7.4, < 1.0) fast_blank (1.0.0) ffi (1.11.1) font_assets (0.1.14) rack foreman (0.87.1) - fullcontact (0.18.0) - faraday (~> 0.11.0) - faraday_middleware (>= 0.10) - hashie (>= 2.0, < 4.0) geocoder (1.6.3) get_process_mem (0.2.4) ffi (~> 1.0) @@ -176,7 +168,6 @@ GEM hamster (3.0.0) concurrent-ruby (~> 1.0) hashdiff (1.0.0) - hashie (3.6.0) heroku-deflater (0.6.3) rack (>= 1.4.5) http-cookie (1.0.3) @@ -228,7 +219,6 @@ GEM msgpack (1.3.1) multi_json (1.13.1) multi_xml (0.6.0) - multipart-post (2.1.1) nearest_time_zone (0.0.4) andand kdtree @@ -443,7 +433,6 @@ DEPENDENCIES fast_blank font_assets (~> 0.1.14) foreman (~> 0.87.1) - fullcontact (~> 0.18.0) geocoder (~> 1.6.3) hamster (~> 3.0) heroku-deflater (~> 0.6.3) diff --git a/NOTICE-ruby b/NOTICE-ruby index 5383bb68..c4804250 100644 --- a/NOTICE-ruby +++ b/NOTICE-ruby @@ -1293,64 +1293,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** hashie; version 3.6.0 -- -Portions copyright (c) Engine Yard and Andre Arko -Copyright (c) 2009 Intridea, Inc., and Contributors -Copyright (c) Chad Fowler, Rich Kilmer, Jim Weirich and others. -Copyright (c) 2009-2014 Intridea, Inc. (http://intridea.com/) and contributors (https://github.com/intridea/hashie/graphs/contributors). - -Copyright (c) 2009 Intridea, Inc., and Contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------- - -** fullcontact; version 0.18.0 -- -Copyright (c) 2016 FullContact Inc. and contributors - -The MIT License (MIT) - -Copyright (c) 2016 FullContact Inc. and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - ------ ** countries; version 3.0.0 -- @@ -2422,34 +2364,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** faraday; version 0.11.0 -- -Copyright (c) 2009-2015 Rick Olson, Zack Hobson -Copyright (c) 2009-2013 Rick Olson (mailto:technoweenie@gmail.com), Zack Hobson. - -Copyright (c) 2009-2015 Rick Olson, Zack Hobson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------ ** webpacker; version 5.1.1 -- @@ -2951,41 +2865,6 @@ THE SOFTWARE. ``` ------- - -** multipart-post; version 2.1.1 -- -Copyright, 2012, by Nick Sieger. -Copyright (c) 2007-2012 Nick Sieger. -Copyright (c) 2007-2013 Nick Sieger. -Copyright, 2017, by Samuel G. D. Williams. -Copyright (c) 2007-2013 Nick Sieger nick@nicksieger.com -Copyright (c) 2007-2013 Nick Sieger -Copyright, 2017, by Samuel G. D. Williams. -Copyright, 2017, by Samuel G. D. Williams (http://www.codeotaku.com/samuel-williams). - -Copyright (c) 2007-2013 Nick Sieger nick@nicksieger.com -Copyright, 2017, by Samuel G. D. Williams. - -MIT license. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------ ** timecop; version 0.9.1 -- @@ -3650,33 +3529,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** faraday_middleware; version 0.13.1 -- -Copyright (c) 2011 Erik Michaels-Ober, Wynn Netherland - -Copyright (c) 2011 Erik Michaels-Ober, Wynn Netherland, et al. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------ ** docile; version 1.3.2 -- diff --git a/config/initializers/fullcontact.rb b/config/initializers/fullcontact.rb deleted file mode 100644 index 752a82f0..00000000 --- a/config/initializers/fullcontact.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -require 'fullcontact' - -FullContact.configure do |config| - config.api_key = ENV['FULL_CONTACT_KEY'] -end - -# see gem docs: https://github.com/fullcontact/fullcontact-api-ruby diff --git a/lib/query/query_ticket_levels.rb b/lib/query/query_ticket_levels.rb index 700cdf8c..98a2415e 100644 --- a/lib/query/query_ticket_levels.rb +++ b/lib/query/query_ticket_levels.rb @@ -2,7 +2,6 @@ # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -require 'hashie' module QueryTicketLevels # Given an array of ticket hashes, where each hash has a ticket_level_id and a quantity,