Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Gemfile/gemspec/README.md #6

Merged
merged 5 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_WITHOUT: release
- name: Run tests
run: bundle exec rake spec
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
source 'https://rubygems.org'

gemspec

group :release do
gem 'github_changelog_generator', :require => false
end
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
puppet-lint-file_ensure-check
==============================

[![Build Status](https://img.shields.io/travis/puppet-community/puppet-lint-file_ensure-check.svg)](https://travis-ci.org/puppet-community/puppet-lint-file_ensure-check)
[![Gem Version](https://img.shields.io/gem/v/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
[![Gem Downloads](https://img.shields.io/gem/dt/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
[![Coverage Status](https://img.shields.io/coveralls/puppet-community/puppet-lint-file_ensure-check.svg)](https://coveralls.io/r/puppet-community/puppet-lint-file_ensure-check?branch=master)
[![Gemnasium](https://img.shields.io/gemnasium/puppet-community/puppet-lint-file_ensure-check.svg)](https://gemnasium.com/puppet-community/puppet-lint-file_ensure-check)
[![License](https://img.shields.io/github/license/voxpupuli/puppet-lint-file_ensure-check.svg)](/~https://github.com/voxpupuli/puppet-lint-file_ensure-check/blob/master/LICENSE)
[![Test](/~https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/test.yml/badge.svg)](/~https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/test.yml)
[![Release](/~https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/release.yml/badge.svg)](/~https://github.com/voxpupuli/puppet-lint-file_ensure-check/actions/workflows/release.ym
l)
[![RubyGem Version](https://img.shields.io/gem/v/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
[![RubyGem Downloads](https://img.shields.io/gem/dt/puppet-lint-file_ensure-check.svg)](https://rubygems.org/gems/puppet-lint-file_ensure-check)
[![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)

A puppet-lint plugin to check the ensure attribute on file resources.
Expand Down Expand Up @@ -68,3 +69,17 @@ The maintainer preferred that Puppet Community take ownership of the module for
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.

Previously: /~https://github.com/camptocamp/puppet-lint-file_ensure-check

## License

This gem is licensed under the Apache-2 license.

## Release information

To make a new release, please do:
* update the version in the gemspec file
* Install gems with `bundle install --with release --path .vendor`
* generate the changelog with `bundle exec rake changelog`
* Check if the new version matches the closed issues/PRs in the changelog
* Create a PR with it
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
10 changes: 5 additions & 5 deletions puppet-lint-file_ensure-check.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Gem::Specification.new do |spec|
spec.name = 'puppet-lint-file_ensure-check'
spec.version = '0.3.1'
spec.homepage = '/~https://github.com/puppet-community/puppet-lint-file_ensure-check'
spec.homepage = '/~https://github.com/voxpupuli/puppet-lint-file_ensure-check'
spec.license = 'Apache-2.0'
spec.author = 'Puppet Community'
spec.email = 'raphael.pinson@camptocamp.com'
spec.author = 'Vox Pupuli'
spec.email = 'voxpupuli@groups.io'
spec.files = Dir[
'README.md',
'LICENSE',
Expand All @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec-its', '~> 1.0'
spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
spec.add_development_dependency 'mime-types', '~> 1.0' # 2.x dropped Ruby 1.8 support
spec.add_development_dependency 'coveralls', '~> 0.7' unless RUBY_VERSION =~ /^1\.8/
spec.add_development_dependency 'mime-types'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'rake'
end
5 changes: 0 additions & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
unless RUBY_VERSION =~ /^1\.8/
require 'coveralls'
Coveralls.wear!
end

require 'puppet-lint'

PuppetLint::Plugins.load_spec_helper