Sha256: 8036ce8bd66333a6feedf2763e1e65cdeda575e2f209f694044a9542bcf26ae4

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  warn e.message
  warn 'Run `bundle install` to install missing gems'
  exit e.status_code
end

require 'rake'
require 'juwelier'

Juwelier::Tasks.new do |gem|
  gem.name = 'deepl-rb'
  gem.homepage = 'https://github.com/DeepLcom/deepl-rb'
  gem.license = 'MIT'
  gem.summary = 'Official Ruby library for the DeepL language translation API.'
  gem.description =
    'Official Ruby library for the DeepL language translation API (v2). ' \
    'For more information, check this: https://www.deepl.com/docs/api-reference.html'

  gem.email = 'open-source@deepl.com'
  gem.authors = ['DeepL SE']
  gem.files.exclude '.github'
  gem.files.exclude '.circleci'
end

Juwelier::RubygemsDotOrgTasks.new

# Tests
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
RSpec::Core::RakeTask.new(:spec)

desc 'Run all tests.'
task :test do
  Rake::Task['spec'].invoke
  Rake::Task['rubocop'].invoke
end

task default: :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deepl-rb-3.0.1 Rakefile
deepl-rb-3.0.0 Rakefile