Sha256: 63cf5b1ceab106d7854da9baa09725ef076d9715ae80a787842ed8ee78e47b1f

Contents?: true

Size: 531 Bytes

Versions: 20

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
Bundler::GemHelper.install_tasks

require 'rake/testtask'
require 'rubocop/rake_task'

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*_test.rb', 'test/**/test_*.rb']
  t.verbose = true
end

RuboCop::RakeTask.new

task(:utc) { ENV['TZ'] = 'UTC' }

task default: %i[utc test rubocop]

task parse: :utc do
  path = ENV['TZPATH'] || File.join(ENV['HOME'], 'Downloads', 'tz')

  require 'timezone/parser'

  Timezone::Parser.new(path).perform
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
timezone-1.3.27 Rakefile
timezone-1.3.26 Rakefile
timezone-1.3.25 Rakefile
timezone-1.3.24 Rakefile
timezone-1.3.23 Rakefile
timezone-1.3.22 Rakefile
timezone-1.3.21 Rakefile
timezone-1.3.20 Rakefile
timezone-1.3.19 Rakefile
timezone-1.3.18 Rakefile
timezone-1.3.17 Rakefile
timezone-1.3.16 Rakefile
timezone-1.3.15 Rakefile
timezone-1.3.14 Rakefile
timezone-1.3.13 Rakefile
timezone-1.3.12 Rakefile
timezone-1.3.11 Rakefile
timezone-1.3.10 Rakefile
timezone-1.3.9 Rakefile
timezone-1.3.8 Rakefile