mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
DRY version number.
This commit is contained in:
parent
f7826df6f5
commit
a815717668
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
version = YAML.load_file 'VERSION.yml'
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "database_cleaner"
|
s.name = "database_cleaner"
|
||||||
s.version = "1.4.0"
|
s.version = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
|
|
Loading…
Reference in a new issue