Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLEANUP] Automatically use version number from VERSION file in gemspec #32

Merged
merged 1 commit into from
Jun 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,9 +1,11 @@
# frozen_string_literal: true

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