Sha256: 48d349660ff03e8f571d7b5e07cf61483e91901dc5f6723d34a61712a68eea73
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true ENV['RAILS_ENV'] ||= 'test' require 'active_record/railtie' require 'normalizy' require 'pry-byebug' Dir[File.expand_path('support/**/*.rb', __dir__)].each { |file| require file } def offset_in_hours(time_zone) TZInfo::Timezone.get(time_zone).current_period.offset.utc_total_offset.to_f / 3600.0 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
normalizy-1.0.1 | spec/rails_helper.rb |
normalizy-1.0.0 | spec/rails_helper.rb |
normalizy-0.2.0 | spec/rails_helper.rb |