Skip to content

Commit

Permalink
Moved ConfigSL::VERSION to configsl/version for easier reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Sep 15, 2024
1 parent 6a2557e commit 8f2e52f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ to [Semantic Versioning][versioning].

### Added

- Moved `ConfigSL::VERSION` to `configsl/version` for easier reference.
- Exposed the shared example for file formats. Include it in your specs with:

```ruby
Expand Down
4 changes: 3 additions & 1 deletion configsql.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# frozen_string_literal: true

require_relative 'lib/configsl/version'

Gem::Specification.new do |s|
s.name = 'configsl'
s.version = '1.0.1'
s.version = ConfigSL::VERSION
s.licenses = ['MIT']
s.summary = 'A simple DSL for declarative configuration in ruby.'
s.description = 'A simple, modular, extensible DSL for configuration.'
Expand Down
5 changes: 1 addition & 4 deletions lib/configsl.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# frozen_string_literal: true

require_relative 'configsl/config'

module ConfigSL
VERSION = '1.0.1'
end
require_relative 'configsl/version'
5 changes: 5 additions & 0 deletions lib/configsl/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

module ConfigSL
VERSION = '1.0.1'
end

0 comments on commit 8f2e52f

Please sign in to comment.