<commit_before>require 'rake/gempackagetask'

namespace :gem do
  GEM_SPEC = Gem::Specification.new do |s|
    unless s.respond_to?(:add_development_dependency)
      puts 'The gem spec requires a newer version of RubyGems.'
      exit(1)
    end

    s.name = PKG_NAME
    s.version = PKG_VERSION
    s.summary = PKG_SUMMARY
    s.description = PKG_DESCRIPTION

    s.files = PKG_FILES.to_a
    s.executables << 'google-api'

    s.has_rdoc = true
    s.extra_rdoc_files = %w( README )
    s.rdoc_options.concat ['--main',  'README']

    # Dependencies used in the main library
    s.add_runtime_dependency('signet', '~> 0.2.1')
    s.add_runtime_dependency('addressable', '~> 2.2.2')
    s.add_runtime_dependency('httpadapter', '~> 1.0.0')
    s.add_runtime_dependency('json', '>= 1.5.1')
    s.add_runtime_dependency('extlib', '>= 0.9.15')

    # Dependencies used in the CLI
    s.add_runtime_dependency('launchy', '>= 0.3.2')

    # Dependencies used in the examples<commit_msg>Lowered requirements for json gem<commit_after>require 'rake/gempackagetask'

namespace :gem do
  GEM_SPEC = Gem::Specification.new do |s|
    unless s.respond_to?(:add_development_dependency)
      puts 'The gem spec requires a newer version of RubyGems.'
      exit(1)
    end

    s.name = PKG_NAME
    s.version = PKG_VERSION
    s.summary = PKG_SUMMARY
    s.description = PKG_DESCRIPTION

    s.files = PKG_FILES.to_a
    s.executables << 'google-api'

    s.has_rdoc = true
    s.extra_rdoc_files = %w( README )
    s.rdoc_options.concat ['--main',  'README']

    # Dependencies used in the main library
    s.add_runtime_dependency('signet', '~> 0.2.2')
    s.add_runtime_dependency('addressable', '~> 2.2.2')
    s.add_runtime_dependency('httpadapter', '~> 1.0.0')
    s.add_runtime_dependency('json', '>= 1.4.6')
    s.add_runtime_dependency('extlib', '>= 0.9.15')

    # Dependencies used in the CLI
    s.add_runtime_dependency('launchy', '>= 0.3.2')

    # Dependencies used in the examples
{'fraction_non_alphanumeric': 0.13380281690140844, 'fraction_numerical': 0.02012072434607646, 'mean_word_length': 3.3333333333333335, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6150111', 'n_tokens_mistral': 770, 'n_tokens_neox': 713, 'n_words': 145}