diff --git a/.ruby-gemset b/.ruby-gemset index b0a8c92..e01bab8 100644 --- a/.ruby-gemset +++ b/.ruby-gemset @@ -1 +1 @@ -db-lock +db_lock diff --git a/.ruby-version b/.ruby-version index cb2b00e..ef538c2 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.1 +3.1.2 diff --git a/db_lock.gemspec b/db_lock.gemspec index 971e895..b177c1f 100644 --- a/db_lock.gemspec +++ b/db_lock.gemspec @@ -6,7 +6,7 @@ require 'db_lock/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'db_lock' - s.version = DBLock::VERSION + s.version = ENV.fetch('VERSION', '0.8.3') s.licenses = ['MIT'] s.authors = ['mkon'] s.email = ['konstantin@munteanu.de'] diff --git a/lib/db_lock/version.rb b/lib/db_lock/version.rb deleted file mode 100644 index fdb5e69..0000000 --- a/lib/db_lock/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module DBLock - VERSION = '0.8.2'.freeze -end