Sha256: 49cab440c239a5b0922007d06c6f2eb4bff39c3b16f22b3635a3efe2a0978bb5
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'github_changelog_generator/task' GitHubChangelogGenerator::RakeTask.new :changelog do |config| config.future_release = "v#{Awskeyring::VERSION}" end RuboCop::RakeTask.new do |rubocop| rubocop.options = ['-D'] end RSpec::Core::RakeTask.new(:spec) desc 'Check filemode bits' task :filemode do files = Dir.glob('**/*') failure = false files.each do |file| mode = File.stat(file).mode if (mode & 0x7) != (mode >> 3 & 0x7) puts file failure = true end end abort 'Error: Incorrect file mode found' if failure end task default: %i[filemode rubocop spec]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
awskeyring-0.1.0 | Rakefile |
awskeyring-0.0.6 | Rakefile |