Skip to content

Commit

Permalink
[CLEANUP] Automatically use the version number from VERSION file in g…
Browse files Browse the repository at this point in the history
…emspec

This allows use to have the current version number in exactly one place,
not two.
  • Loading branch information
oliverklee committed Jun 27, 2017
1 parent 0b43c49 commit ac071c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## x.y.z (unreleased)

### Added
- Add a code of conduct
- Automatically use the version number from the VERSION file in the gemspec
([#32](https://github.com/braingourmets/currency_select/pull/32))
- Add a code of conduct
([#25](https://github.com/braingourmets/currency_select/pull/25))


Expand Down
4 changes: 3 additions & 1 deletion currency_select.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version = File.read(File.expand_path('../VERSION', __FILE__)).strip

Gem::Specification.new do |s|
s.name = 'currency_select'
s.summary = 'Currency select plugin for Rails'
s.version = '0.1.5'
s.version = version
s.license = 'MIT'

s.homepage = 'https://github.com/braingourmets/currency_select'
Expand Down

0 comments on commit ac071c4

Please sign in to comment.