bogdan-test-gem 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a4516635ff663d3c2f2b566ea087bf725067b7f4bff4df9d527c23d1856ebe8
4
- data.tar.gz: 0665e82fbfe1c627f12c5e14fbd13c10c97ed87b0122f53c27ec3b045eb1e9a4
3
+ metadata.gz: 869df171126be0343f5ad021254cb8651c3b0358e3f340105951c5237f7e905d
4
+ data.tar.gz: 8bbe2f438ed722bf04441165700fa300864faeb16abbbfd19a6880cba4805438
5
5
  SHA512:
6
- metadata.gz: 506eab4aca38dcb5ca8db3fc9201f0cdfb44751dd567e41ed6139ec7eb0e95e1016a3d7fc7256bca0692c7e77e466c8d50c92453f5a6034082c815c5dfcaab0c
7
- data.tar.gz: b213bb6d8109a53a6b628b03a88c580f47cf23b4084f956b135399d48f2312fe4498d1366a2e168376293755648a0cd0058fca1c7b85eb83367b29120e695f53
6
+ metadata.gz: d040de032ff45c90b79c9128d76b346efb19aaaf4f498940bf57acc0ed8f034055a01eee67bcc505427e9853177a881fdbf44f2b05af7ce6fcf07426b5dafa3c
7
+ data.tar.gz: 404f9398f716a131959af5369bea764cf8aeea47468690578d8ba1c0810d863454217abbe882eb68b0b899d91734fa92ebb76af82a5d82f759cd849858c98e77
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.5]
3
+ ## [0.1.6]
4
4
 
5
5
  * Add banner configuration option:
6
6
 
data/changelog.sh ADDED
@@ -0,0 +1,14 @@
1
+ VERSION=$(./version.sh)
2
+
3
+ if [ ! -f "CHANGELOG.md" ]; then
4
+ echo "CHANGELOG.md file not found!"
5
+ exit 1
6
+ fi
7
+
8
+ if [ -z "$VERSION" ]; then
9
+ echo "VERSION is not specified"
10
+ exit 1
11
+ fi
12
+ FILE="./release_changelog.md"
13
+ echo "## Changelog" > $FILE
14
+ grep -A 100 "^## \[$VERSION\]" CHANGELOG.md | grep -B 100 '^## ' | sed '1d;$d' >> $FILE
@@ -3,7 +3,7 @@
3
3
  module Bogdan
4
4
  module Test
5
5
  module Gem
6
- VERSION = "0.1.5"
6
+ VERSION = "0.1.6"
7
7
  end
8
8
  end
9
9
  end
data/version.sh ADDED
@@ -0,0 +1,11 @@
1
+ VERSION_FILE="lib/bogdan/test/gem/version.rb"
2
+ if [ ! -f "$VERSION_FILE" ]; then
3
+ echo "Version file not found!"
4
+ exit 1
5
+ fi
6
+ VERSION=$(grep -Eo 'VERSION\s*=\s*["'\''][0-9]+\.[0-9]+\.[0-9]+["'\'']' "$VERSION_FILE" | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
7
+ if [ -z "$VERSION" ]; then
8
+ echo "Could not extract version from $VERSION_FILE"
9
+ exit 1
10
+ fi
11
+ echo "$VERSION"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogdan-test-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Gusiev
@@ -22,9 +22,11 @@ files:
22
22
  - LICENSE.txt
23
23
  - README.md
24
24
  - Rakefile
25
+ - changelog.sh
25
26
  - lib/bogdan/test/gem.rb
26
27
  - lib/bogdan/test/gem/version.rb
27
28
  - sig/bogdan/test/gem.rbs
29
+ - version.sh
28
30
  homepage: https://github.com/bogdan/bogdan-test-gem
29
31
  licenses:
30
32
  - MIT
@@ -48,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
50
  - !ruby/object:Gem::Version
49
51
  version: '0'
50
52
  requirements: []
51
- rubygems_version: 3.3.27
53
+ rubygems_version: 3.5.11
52
54
  signing_key:
53
55
  specification_version: 4
54
56
  summary: Testing gem