Sha256: 2e3640254ffdf163c71e766af01c9762797f1f23e17df4d301351887fbba659d
Contents?: true
Size: 727 Bytes
Versions: 5
Compression:
Stored size: 727 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 = `git ls-files -z`.split("\x0") failure = false files.each do |file| mode = File.stat(file).mode print '.' if (mode & 0x7) != (mode >> 3 & 0x7) puts file failure = true end end abort 'Error: Incorrect file mode found' if failure print "\n" end task default: %i[filemode rubocop spec]
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
awskeyring-0.4.0 | Rakefile |
awskeyring-0.3.1 | Rakefile |
awskeyring-0.3.0 | Rakefile |
awskeyring-0.2.0 | Rakefile |
awskeyring-0.1.1 | Rakefile |