<commit_before>#
# Cookbook Name:: flyway-cli
# Recipe:: install
#
# Copyright (C) 2014 ClouDesire
#
# All rights reserved - Do Not Redistribute
#

include_recipe 'windows'


installation_path = node[:flyway][:installation_path]
migrations_path = node[:flyway][:migrations_path]

flyway_url = node[:flyway][:base_url].gsub! 'VERSION', node[:flyway][:version]

if platform_family?("windows") # Windows

  if node[:flyway][:version] != node[:flyway][:version_installed]
    # Download and unzip flyway zip file<commit_msg>Include windows recipe only on windows :D<commit_after>#
# Cookbook Name:: flyway-cli
# Recipe:: install
#
# Copyright (C) 2014 ClouDesire
#
# All rights reserved - Do Not Redistribute
#

installation_path = node[:flyway][:installation_path]
migrations_path = node[:flyway][:migrations_path]

flyway_url = node[:flyway][:base_url].gsub! 'VERSION', node[:flyway][:version]

if platform_family?("windows") # Windows

  include_recipe 'windows'
  if node[:flyway][:version] != node[:flyway][:version_installed]
    # Download and unzip flyway zip file
{'fraction_non_alphanumeric': 0.13951310861423222, 'fraction_numerical': 0.00749063670411985, 'mean_word_length': 6.690647482014389, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2084977', 'n_tokens_mistral': 365, 'n_tokens_neox': 355, 'n_words': 81}