Skip to content

Commit

Permalink
provide CHANGELOG.md and increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Katkov committed Jun 18, 2024
1 parent e157e3a commit 0dcfa4d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Changelog
All notable changes to this project will be documented in this file.

This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.1.2

### Added

- basic tests for a library

### Changed

- #ensure_<attribute>_may_transition_to! method now actually verifies that an attribute can transition to a new state.

## 0.1.1

### Added

- Provide real authorts of this gem.

## 0.1.0

- Initial release
2 changes: 1 addition & 1 deletion lib/state_machine_enum/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module StateMachineEnum
VERSION = "0.1.1"
VERSION = "0.1.2"
end
6 changes: 1 addition & 5 deletions state_machine_enum.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"

# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/cheddar-me/state_machine_enum"
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
spec.metadata["changelog_uri"] = "https://github.com/cheddar-me/state_machine_enum/blob/main/CHANGELOG.md"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand All @@ -29,8 +27,6 @@ Gem::Specification.new do |spec|
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activesupport", "~> 7"
Expand Down

0 comments on commit 0dcfa4d

Please sign in to comment.