Skip to content

Commit

Permalink
Ensure each component has an accurate VERSION constant (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 committed Mar 19, 2022
1 parent bd570da commit 932e099
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Common library for configuring Athena components.
dependencies:
athena-config:
github: athena-framework/config
version: ~> 0.2.0
version: ~> 0.3.0
```
2. Run `shards install`
Expand Down
2 changes: 2 additions & 0 deletions src/components/config/src/athena-config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ module Athena
#
# See the [external documentation](https://athenaframework.org/components/config/) for more information.
module Config
VERSION = "0.3.0"

# :nodoc:
CUSTOM_ANNOTATIONS = [] of Nil

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ alias AED = Athena::EventDispatcher
# dispatcher.has_listeners? ExceptionEvent # => true
# ```
module Athena::EventDispatcher
VERSION = "0.1.0"
VERSION = "0.1.3"

# The possible types an event listener can be. `AED::EventListenerInterface` instances use `#call`
# in order to keep a common interface with the `Proc` based listeners.
Expand Down
2 changes: 2 additions & 0 deletions src/components/negotiation/src/athena-negotiation.cr
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ alias ANG = Athena::Negotiation
#
# The `ANG::LanguageNegotiator` type returns an `ANG::AcceptLanguage`, or `nil` if negotiating the best language has failed.
module Athena::Negotiation
VERSION = "0.1.1"

# Returns a lazily initialized `ANG::Negotiator` singleton instance.
class_getter(negotiator) { ANG::Negotiator.new }

Expand Down
2 changes: 2 additions & 0 deletions src/components/spec/src/athena-spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ require "./test_case"

# A set of common [Spec](https://crystal-lang.org/api/Spec.html) compliant testing utilities/types.
module Athena::Spec
VERSION = "0.2.6"

# Runs all `ASPEC::TestCase`s.
#
# Is equivalent to manually calling `.run` on each test case.
Expand Down

0 comments on commit 932e099

Please sign in to comment.