bogdan-test-gem 0.1.4 → 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: 861c851afd1845e81d42ab93cb5111a1ef92f7d03cd3789f06c93bb45fca92f3
4
- data.tar.gz: 975633adb4ba2d3ed8a0237643730809b3e0bcd4459938e8fbdb8bb302662883
3
+ metadata.gz: 869df171126be0343f5ad021254cb8651c3b0358e3f340105951c5237f7e905d
4
+ data.tar.gz: 8bbe2f438ed722bf04441165700fa300864faeb16abbbfd19a6880cba4805438
5
5
  SHA512:
6
- metadata.gz: 9173edfa6c0adf3a0fb37689d8458bbf0234013bf94985e107fea9b98b5c21fd16a3328de563ef95391e1951a82164eb300df6861352c542dded7ef2bf8022ed
7
- data.tar.gz: c004d1baab6e47328e7710ff98af474a62aebf76cb3e50a163b90963e7ca120f98f7a9c5814a4eb7fb9d109fc72087c116494a7819c1a0923edcbe5d7ae021fe
6
+ metadata.gz: d040de032ff45c90b79c9128d76b346efb19aaaf4f498940bf57acc0ed8f034055a01eee67bcc505427e9853177a881fdbf44f2b05af7ce6fcf07426b5dafa3c
7
+ data.tar.gz: 404f9398f716a131959af5369bea764cf8aeea47468690578d8ba1c0810d863454217abbe882eb68b0b899d91734fa92ebb76af82a5d82f759cd849858c98e77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.0] - 2024-12-08
3
+ ## [0.1.6]
4
+
5
+ * Add banner configuration option:
6
+
7
+ ``` ruby
8
+ JsRoutes.setup do |c|
9
+ c.banner = <<~TXT
10
+ @file My file
11
+ @version 1.2.3
12
+ TXT
13
+ end
14
+ ```
15
+
16
+ ## [0.1.0]
4
17
 
5
18
  - Initial release
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.4"
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.4
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