Skip to content

Commit e509356

Browse files
yahondaclaude
andcommitted
Read version from VERSION file in gemspec
Make ruby-plsql.gemspec read s.version from the VERSION file instead of hardcoding it. This way only the VERSION file needs to be updated when releasing a new version of ruby-plsql. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 464c728 commit e509356

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

ruby-plsql.gemspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
# Generated by juwelier
2-
# DO NOT EDIT THIS FILE DIRECTLY
3-
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
41
# -*- encoding: utf-8 -*-
52

6-
# stub: ruby-plsql 0.8.0 ruby lib
7-
83
Gem::Specification.new do |s|
94
s.name = "ruby-plsql".freeze
10-
s.version = "0.8.0"
5+
s.version = File.read(File.expand_path("VERSION", __dir__)).chomp
116

127
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
138
s.require_paths = ["lib".freeze]

0 commit comments

Comments
 (0)