mm-simple_version 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +1 -1
- data/README.md +11 -19
- data/{exec → exe}/simple_version +1 -1
- data/lib/mm/simple_version/version.rb +1 -1
- data/mm-simple_version.gemspec +39 -0
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf03602a4349536ae44bc47c98f01a900cdb0228890e418053c245f44ec6b906
|
4
|
+
data.tar.gz: e9a450c8c23afa9926b0b8dc224a01729e2ce7fa6e607628ebd500a5babc570b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 432a58b15bfffdbb9fb9cabdc816f453bf4a1dab9edefe6257135b0edac0005b13ae2650d9707623825c83dbc72bbe04efbccb082b7926ec9c9b3b03a3aa9d95
|
7
|
+
data.tar.gz: 85160e49d44e09c9a98c9fb247d0e3d98678f4a008a52bff0065f8cf22259aaa1862e9ee2be376bfdea7ee75b4212b4e3e3e22dfa9918372d0c1435c04861dfa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
### [0.2.3](https://github.com/invalidusrname/mm-simple_version/compare/v0.2.2...v0.2.3) (2022-03-13)
|
4
|
+
|
5
|
+
|
6
|
+
### Miscellaneous Chores
|
7
|
+
|
8
|
+
* release 0.2.3 ([3df14dd](https://github.com/invalidusrname/mm-simple_version/commit/3df14dddb2fa7889f2e1ee6d612f206335aa3a7d))
|
9
|
+
|
10
|
+
### [0.2.2](https://github.com/invalidusrname/mm-simple_version/compare/v0.2.1...v0.2.2) (2022-03-13)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* just print gem name and version number ([901b06a](https://github.com/invalidusrname/mm-simple_version/commit/901b06a0cf58070039adeeb74c6a691abb5af507))
|
16
|
+
|
17
|
+
### [0.2.1](https://github.com/invalidusrname/mm-simple_version/compare/v0.2.0...v0.2.1) (2022-03-13)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* wrong executable dir ([521f094](https://github.com/invalidusrname/mm-simple_version/commit/521f094c93600a9d9656f3f673f77d02a6816e3a))
|
23
|
+
|
3
24
|
## [0.2.0](https://github.com/invalidusrname/mm-simple_version/compare/v0.1.5...v0.2.0) (2022-03-13)
|
4
25
|
|
5
26
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,38 +1,30 @@
|
|
1
|
-
|
1
|
+
[](https://badge.fury.io/rb/mm-simple_version)
|
2
|
+
[](https://github.com/invalidusrname/mm-simple_version/actions/workflows/main.yml)
|
2
3
|
|
3
|
-
|
4
|
+
# MM::SimpleVersion
|
4
5
|
|
5
|
-
|
6
|
+
A simple gem that just prints the gem name and its version.
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'mm-simple_version'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle install
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
10
|
$ gem install mm-simple_version
|
22
11
|
|
23
12
|
## Usage
|
24
13
|
|
25
|
-
|
14
|
+
$ simple_version
|
15
|
+
SimpleVersion 0.2.2
|
26
16
|
|
27
17
|
## Development
|
28
18
|
|
29
19
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
20
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
21
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
22
|
+
|
23
|
+
Releases are handled with Github Actions and using [Release Please](https://github.com/google-github-actions/release-please-action). As long as you're using [Conventional Commits](https://github.com/google-github-actions/release-please-action#how-should-i-write-my-commits), the bot will automatically create PRs. You'll still need to checkout out that PR ([example](https://github.com/invalidusrname/mm-simple_version/pull/13)), bundle, and commit the `Gemfile.lock`. Push that commit to the PR. If all workflows pass, you can merge it in and that will kick off one final workflow to tag the release and publish to rubygems.org.
|
32
24
|
|
33
25
|
## Contributing
|
34
26
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/invalidusrname/mm-simple_version. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/invalidusrname/mm-simple_version/blob/master/CODE_OF_CONDUCT.md).
|
36
28
|
|
37
29
|
## License
|
38
30
|
|
@@ -40,4 +32,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
32
|
|
41
33
|
## Code of Conduct
|
42
34
|
|
43
|
-
Everyone interacting in the MM::SimpleVersion project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
35
|
+
Everyone interacting in the MM::SimpleVersion project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/invalidusrname/mm-simple_version/blob/master/CODE_OF_CONDUCT.md).
|
data/{exec → exe}/simple_version
RENAMED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/mm/simple_version/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "mm-simple_version"
|
7
|
+
spec.version = MM::SimpleVersion::VERSION
|
8
|
+
spec.authors = ["Matt McMahand"]
|
9
|
+
spec.email = ["mmcmahand@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "A playground gem. no real features here"
|
12
|
+
spec.description = "A gem to try out github actions and gem publishing"
|
13
|
+
spec.homepage = "https://github.com/invalidusrname/mm-simple_version"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = File.join(spec.homepage, "blob/master/CHANGELOG.md")
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
# Uncomment to register a new dependency of your gem
|
33
|
+
spec.add_development_dependency "rubocop-rake", "~> 0.6.0"
|
34
|
+
spec.add_development_dependency "rubocop-rspec", "~> 2.9.0"
|
35
|
+
|
36
|
+
# For more information and examples about making a new gem, check out our
|
37
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
38
|
+
spec.metadata["rubygems_mfa_required"] = "false"
|
39
|
+
end
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mm-simple_version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt McMahand
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-03-13 00:00:00.000000000 Z
|
@@ -41,7 +41,8 @@ dependencies:
|
|
41
41
|
description: A gem to try out github actions and gem publishing
|
42
42
|
email:
|
43
43
|
- mmcmahand@gmail.com
|
44
|
-
executables:
|
44
|
+
executables:
|
45
|
+
- simple_version
|
45
46
|
extensions: []
|
46
47
|
extra_rdoc_files: []
|
47
48
|
files:
|
@@ -55,20 +56,20 @@ files:
|
|
55
56
|
- LICENSE.txt
|
56
57
|
- README.md
|
57
58
|
- Rakefile
|
58
|
-
-
|
59
|
+
- exe/simple_version
|
59
60
|
- lib/mm/simple_version.rb
|
60
61
|
- lib/mm/simple_version/version.rb
|
62
|
+
- mm-simple_version.gemspec
|
61
63
|
- sig/mm/simple_version.rbs
|
62
64
|
homepage: https://github.com/invalidusrname/mm-simple_version
|
63
65
|
licenses:
|
64
66
|
- MIT
|
65
67
|
metadata:
|
66
|
-
allowed_push_host: https://rubygems.org
|
67
68
|
homepage_uri: https://github.com/invalidusrname/mm-simple_version
|
68
69
|
source_code_uri: https://github.com/invalidusrname/mm-simple_version
|
69
70
|
changelog_uri: https://github.com/invalidusrname/mm-simple_version/blob/master/CHANGELOG.md
|
70
71
|
rubygems_mfa_required: 'false'
|
71
|
-
post_install_message:
|
72
|
+
post_install_message:
|
72
73
|
rdoc_options: []
|
73
74
|
require_paths:
|
74
75
|
- lib
|
@@ -83,8 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
84
|
- !ruby/object:Gem::Version
|
84
85
|
version: '0'
|
85
86
|
requirements: []
|
86
|
-
rubygems_version: 3.3.
|
87
|
-
signing_key:
|
87
|
+
rubygems_version: 3.3.9
|
88
|
+
signing_key:
|
88
89
|
specification_version: 4
|
89
90
|
summary: A playground gem. no real features here
|
90
91
|
test_files: []
|