From 3e3386a0681c08d72ce39f88404cb5eeab62799c Mon Sep 17 00:00:00 2001 From: David Crosby Date: Mon, 15 Apr 2024 08:16:12 -0700 Subject: [PATCH] Drop Fauxhai 6 code Differential Revision: D56024221 fbshipit-source-id: 775d3b568532ab92013708e29e2e3c181949eff4 --- spec/fbspec_platforms.rb | 52 +++++++++++++--------------------------- 1 file changed, 16 insertions(+), 36 deletions(-) diff --git a/spec/fbspec_platforms.rb b/spec/fbspec_platforms.rb index 53c724c36..7d3ec8aa3 100644 --- a/spec/fbspec_platforms.rb +++ b/spec/fbspec_platforms.rb @@ -17,40 +17,21 @@ # See the License for the specific language governing permissions and # limitations under the License. -PLATFORMS = if Fauxhai::VERSION.start_with?('6') - { - 'default' => { - :centos7 => [ - { - 'platform' => 'centos', - 'version' => '7.3.1611', - }, - ], - :mac_os_x => [ - { - 'platform' => 'mac_os_x', - 'version' => '10.12', - }, - ], - }, - 'extra' => {}, - }.freeze - else - { - 'default' => { - :centos8 => [ - { - 'platform' => 'centos', - 'version' => '8', - }, - ], - :mac_os_x => [ - { - 'platform' => 'mac_os_x', - 'version' => '10.15', - }, - ], - }, +PLATFORMS = { + 'default' => { + :centos8 => [ + { + 'platform' => 'centos', + 'version' => '8', + }, + ], + :mac_os_x => [ + { + 'platform' => 'mac_os_x', + 'version' => '10.15', + }, + ], + }, 'extra' => { :centos7 => [ { @@ -59,5 +40,4 @@ }, ], }, - }.freeze - end +}.freeze