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 +4 -4
- data/CHANGELOG.md +1 -1
- data/changelog.sh +14 -0
- data/lib/bogdan/test/gem/version.rb +1 -1
- data/version.sh +11 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 869df171126be0343f5ad021254cb8651c3b0358e3f340105951c5237f7e905d
|
4
|
+
data.tar.gz: 8bbe2f438ed722bf04441165700fa300864faeb16abbbfd19a6880cba4805438
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d040de032ff45c90b79c9128d76b346efb19aaaf4f498940bf57acc0ed8f034055a01eee67bcc505427e9853177a881fdbf44f2b05af7ce6fcf07426b5dafa3c
|
7
|
+
data.tar.gz: 404f9398f716a131959af5369bea764cf8aeea47468690578d8ba1c0810d863454217abbe882eb68b0b899d91734fa92ebb76af82a5d82f759cd849858c98e77
|
data/CHANGELOG.md
CHANGED
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
|
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.
|
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.
|
53
|
+
rubygems_version: 3.5.11
|
52
54
|
signing_key:
|
53
55
|
specification_version: 4
|
54
56
|
summary: Testing gem
|