<commit_before>class Gdal2Filegdb < Formula
  desc "GDAL/OGR 2.x plugin for ESRI FileGDB driver"
  homepage "http://www.gdal.org/drv_filegdb.html"
  url "http://download.osgeo.org/gdal/2.2.1/gdal-2.2.1.tar.gz"
  sha256 "61837706abfa3e493f3550236efc2c14bd6b24650232f9107db50a944abf8b2f"

  bottle do
    root_url "http://qgis.dakotacarto.com/bottles"
    cellar :any
    sha256 "06e813011fbbc3e6ad0b1a91334a69a17595e0dec1f17bc40b7834216dc502da" => :sierra
  end

  depends_on "filegdb-api"
  depends_on "gdal2"

  def gdal_majmin_ver
    gdal_ver_list = Formula["gdal2"].version.to_s.split(".")
    "#{gdal_ver_list[0]}.#{gdal_ver_list[1]}"
  end

  def gdal_plugins_subdirectory<commit_msg>gdal2-filegdb: 2.2.2<commit_after>class Gdal2Filegdb < Formula
  desc "GDAL/OGR 2.x plugin for ESRI FileGDB driver"
  homepage "http://www.gdal.org/drv_filegdb.html"
  url "http://download.osgeo.org/gdal/2.2.2/gdal-2.2.2.tar.gz"
  sha256 "14c1f78a60f429ad51c08d75cbf49771f1e6b20e7385c6e8379b40e8dfa39544"

  # bottle do
  #   root_url "http://qgis.dakotacarto.com/bottles"
  #   sha256 "" => :sierra
  #   sha256 "" => :high_sierra
  # end

  depends_on "filegdb-api"
  depends_on "gdal2"

  def gdal_majmin_ver
    gdal_ver_list = Formula["gdal2"].version.to_s.split(".")
    "#{gdal_ver_list[0]}.#{gdal_ver_list[1]}"
  end

  def gdal_plugins_subdirectory
{'fraction_non_alphanumeric': 0.12991833704528583, 'fraction_numerical': 0.12397921306607275, 'mean_word_length': 4.349206349206349, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3676494', 'n_tokens_mistral': 708, 'n_tokens_neox': 638, 'n_words': 77}