nestedtext 0.1.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ab788532b6de8dfb6b589b789afe4d04a6bc7ef9403aaf69f02306680ff4955
4
- data.tar.gz: 994fe9aae478fb40d191ea96452a0c247b3385dd4e8fe28a323d271feb3e0f11
3
+ metadata.gz: 7544291bb0f2d8e67327370b56ab6c8b362f5d5ede745c24730187749998ec16
4
+ data.tar.gz: '08e4f57165ea3e9c85158c4f215c14ce23a54bf2c39b553fea9292f48dbd4e96'
5
5
  SHA512:
6
- metadata.gz: f6ce566b64bd8874c8b3fae58ab772177249103bf65176cc2ee02e8c74993fa47bd1ed269a9b69c0e6f7a8fecc667fee0e76ec509ef1f1e5608ce8b4d97859ae
7
- data.tar.gz: 22dab61d1a2cad3eafa3f097c03bbf802747bbe363269161292a663d06d80e61152025de4d6facafba31006f07fb1a5d847775ca483b809b418536d60ce14ecc
6
+ metadata.gz: dee4eb7841df29f0c61d7ca3afd84e187a3437e02037517bab844da5ad5ef53c2687b6dada8f64041cec48968f8093de1ccc86395b1a5ae5cefa56240e66fb81
7
+ data.tar.gz: 0aa5dd31a6373f119677b3d0796e4465373fc60efb1ee2ec7521d10555e38e34a9cd0f48e30eab0dbb7dd14c2de7610e6b74d2b8f448d87877c7cfc25f3b4079
data/.gitignore CHANGED
@@ -1,12 +1,14 @@
1
1
  # Contrary to ruby apps, ruby gems should not check in Gemfile.lock.
2
2
  # Reference: https://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
3
- Gemfile.lock
3
+ /Gemfile.lock
4
4
 
5
5
  # Bundle local config
6
- .bundle/
6
+ /.bundle/
7
7
 
8
8
  # Package gem from $(rake install)
9
- pkg/
9
+ /pkg/
10
+ # When built from $(gem build *.gemspec)
11
+ /*.gem
10
12
 
11
13
  # minitest
12
14
  /test/html_reports/
data/CHANGELOG.md CHANGED
@@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.0] - 2022-01-24
10
+ ### Added
11
+ - Publish Gem to GitHub Packages
12
+
13
+ ## [0.4.0] - 2022-01-24
14
+ - Iteration on CD GitHub Actins workflow.
15
+
16
+ ## [0.3.0] - 2022-01-24
17
+ - Iteration on CD GitHub Actins workflow.
18
+
19
+ ## [0.2.0] - 2022-01-24
20
+ - Iteration on CD GitHub Actins workflow.
9
21
 
10
22
  ## [0.1.0] - 2022-01-24
11
23
  ### Added
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # NestedText Ruby Library [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20a%20nifty%20tooltip%20for%20term%20definitions%20in%20your%20Jekyll%20blog%20with%20this%20plugin&url=https://github.com/erikw/nestedtext-ruby&via=erik_westrup&hashtags=jekyll,plugin)
2
- [![Gem Version](https://badge.fury.io/rb/nestedtext-ruby.svg)](https://badge.fury.io/rb/nestedtext-ruby)
3
- [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/nestedtext-ruby?color=brightgreen&type=total&label=gem%20downloads)](https://rubygems.org/gems/nestedtext-ruby)
2
+ [![Gem Version](https://badge.fury.io/rb/nestedtext.svg)](https://badge.fury.io/rb/nestedtext)
3
+ [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/nestedtext?color=brightgreen&type=total&label=gem%20downloads)](https://rubygems.org/gems/nestedtext)
4
4
  [![Data Format Version Supported](https://img.shields.io/badge/%F0%9F%84%BD%F0%9F%85%83%20Version%20Supported-3.2.1-blueviolet)](https://nestedtext.org/en/v3.2/)
5
- [![Tests](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml)
5
+ [![GitHub Actions: Continuous Integration](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/ci.yml)
6
6
  [![Official Tests](https://img.shields.io/badge/%F0%9F%8F%81%20Official%20Tests-Passing-success)](https://github.com/KenKundert/nestedtext_tests/tree/585e95a73d94ac1f48e71a154e2db0ab67cf30fa)
7
- [![CodeQL](https://github.com/erikw/nestedtext-ruby/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/codeql-analysis.yml)
8
- [![Code Climate Maintainability](https://api.codeclimate.com/v1/badges/7ffb648ec4b77f3f9eb8/maintainability)](https://codeclimate.com/github/erikw/nestedtext-ruby/maintainability)
9
- [![Code Climate Test Coverage](https://api.codeclimate.com/v1/badges/7ffb648ec4b77f3f9eb8/test_coverage)](https://codeclimate.com/github/erikw/nestedtext-ruby/test_coverage)
7
+ [![GitHub Actions: Continuous Deployment](https://github.com/erikw/nestedtext-ruby/actions/workflows/cd.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/cd.yml)
8
+ [![GitHub Actions: CodeQL Analysis](https://github.com/erikw/nestedtext-ruby/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/erikw/nestedtext-ruby/actions/workflows/codeql-analysis.yml)
9
+ [![Code Climate Maintainability](https://api.codeclimate.com/v1/badges/8409b6cdc3dc62a33f6f/maintainability)](https://codeclimate.com/github/erikw/nestedtext-ruby/maintainability)
10
+ [![Code Climate Test Coverage](https://api.codeclimate.com/v1/badges/8409b6cdc3dc62a33f6f/test_coverage)](https://codeclimate.com/github/erikw/nestedtext-ruby/test_coverage)
10
11
  [![SLOC](https://img.shields.io/tokei/lines/github/erikw/nestedtext-ruby)](#)
11
12
  [![License](https://img.shields.io/github/license/erikw/nestedtext-ruby)](LICENSE.txt)
12
13
  [![OSS Lifecycle](https://img.shields.io/osslifecycle/erikw/nestedtext-ruby)](https://github.com/Netflix/osstracker)
@@ -88,12 +89,12 @@ $ bundle exec rake release
88
89
  ## (semi-manually) Using gem-release gem extension
89
90
  Using [gem-release](https://github.com/svenfuchs/gem-release):
90
91
  ```console
91
- $ vi CHANGELOG.md && git add CHANGELOG.md && git commit -m "Update CHANGELOG.md" && git push
92
+ $ vi CHANGELOG.md && git commit -am "Update CHANGELOG.md" && git push
92
93
  $ gem bump --version minor --tag --sign --push --release
93
94
  ```
94
95
  For `--version`, use `major|minor|patch` as needed.
95
96
 
96
- ## (semi-automatic) Using GitHub Actions CD
97
+ ## (semi-automatic, preferred) Using GitHub Actions CD
97
98
  Just push a new semver tag and the workflow [cd.yml](.github/workflows/cd.yml) will publish a new release at rubygems.org.
98
99
 
99
100
  ```console
@@ -102,6 +103,13 @@ $ git commit -am "Prepare vX.Y.Z" && git push
102
103
  $ git tag x.y.z && git push --tags
103
104
  ```
104
105
 
106
+ or combined with gem-release
107
+ ```console
108
+ $ vi CHANGELOG.md
109
+ $ git commit -am "Update CHANGELOG.md" && git push
110
+ $ gem bump --version minor --tag --sign --push
111
+ ```
112
+
105
113
 
106
114
  # Contributing
107
115
  Bug reports and pull requests are welcome on GitHub at [https://github.com/erikw/nestedtext-ruby](https://github.com/erikw/nestedtext-ruby).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NestedText
4
- VERSION = "0.1.0"
4
+ VERSION = "0.5.0"
5
5
  end
data/nestedtext.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Erik Westrup"]
9
9
  spec.email = ["erik.westrup@gmail.com"]
10
10
 
11
- spec.summary = "A ruby library for the human friendly data format NestedText https://nestedtext.org/"
12
- spec.description = "A ruby implementation the NestedText data format. There is support for decoding a NestedText file or string to Ruby data structures, as well as encoding Ruby objects to a NestedText file or string. Furthermore there is support for serialization and deserialization of custom classes. Support for v3.2.1 of the data format will all official tests passing."
11
+ spec.summary = "A ruby library implementation for the human friendly data format NestedText (https://nestedtext.org/)"
12
+ spec.description = "A ruby library implementation for the human friendly data format NestedText (https://nestedtext.org/). There is support for decoding a NestedText file or string to Ruby data structures, as well as encoding Ruby objects to a NestedText file or string. Furthermore there is support for serialization and deserialization of custom classes. Support for v3.2.1 of the data format will all official tests passing."
13
13
  spec.homepage = "https://github.com/erikw/nestedtext-ruby/"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = [">= 3.0", "< 4"]
@@ -18,6 +18,12 @@ Gem::Specification.new do |spec|
18
18
  spec.metadata["source_code_uri"] = "https://github.com/erikw/nestedtext-ruby/"
19
19
  spec.metadata["changelog_uri"] = "https://github.com/erikw/nestedtext-ruby/blob/main/CHANGELOG.md"
20
20
 
21
+ # For push to GitHub packages to work.
22
+ # Reference: https://github.community/t/unable-to-push-rubygem-to-package-registry-the-expected-resource-was-not-found/14596/7
23
+ spec.metadata = {
24
+ "github_repo" => "git@github.com:erikw/nestedtext-ruby.git"
25
+ }
26
+
21
27
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
28
  `git ls-files -z`.split("\x0").reject do |f|
23
29
  f.match(%r{\A(?:test/|script/|\.github/|\.gitmodules|Rakefile|TODO\.txt|\.codeclimate\.yml|\.vimlocal|\.simplecov)})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nestedtext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Westrup
@@ -10,11 +10,11 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A ruby implementation the NestedText data format. There is support for
14
- decoding a NestedText file or string to Ruby data structures, as well as encoding
15
- Ruby objects to a NestedText file or string. Furthermore there is support for serialization
16
- and deserialization of custom classes. Support for v3.2.1 of the data format will
17
- all official tests passing.
13
+ description: A ruby library implementation for the human friendly data format NestedText
14
+ (https://nestedtext.org/). There is support for decoding a NestedText file or string
15
+ to Ruby data structures, as well as encoding Ruby objects to a NestedText file or
16
+ string. Furthermore there is support for serialization and deserialization of custom
17
+ classes. Support for v3.2.1 of the data format will all official tests passing.
18
18
  email:
19
19
  - erik.westrup@gmail.com
20
20
  executables: []
@@ -49,9 +49,7 @@ homepage: https://github.com/erikw/nestedtext-ruby/
49
49
  licenses:
50
50
  - MIT
51
51
  metadata:
52
- homepage_uri: https://github.com/erikw/nestedtext-ruby/
53
- source_code_uri: https://github.com/erikw/nestedtext-ruby/
54
- changelog_uri: https://github.com/erikw/nestedtext-ruby/blob/main/CHANGELOG.md
52
+ github_repo: git@github.com:erikw/nestedtext-ruby.git
55
53
  post_install_message:
56
54
  rdoc_options: []
57
55
  require_paths:
@@ -73,5 +71,6 @@ requirements: []
73
71
  rubygems_version: 3.3.3
74
72
  signing_key:
75
73
  specification_version: 4
76
- summary: A ruby library for the human friendly data format NestedText https://nestedtext.org/
74
+ summary: A ruby library implementation for the human friendly data format NestedText
75
+ (https://nestedtext.org/)
77
76
  test_files: []