Skip to content

Commit 932e099

Browse files
authored
Ensure each component has an accurate VERSION constant (#166)
1 parent bd570da commit 932e099

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

src/components/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Common library for configuring Athena components.
1313
dependencies:
1414
athena-config:
1515
github: athena-framework/config
16-
version: ~> 0.2.0
16+
version: ~> 0.3.0
1717
```
1818
1919
2. Run `shards install`

src/components/config/src/athena-config.cr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module Athena
2525
#
2626
# See the [external documentation](https://athenaframework.org/components/config/) for more information.
2727
module Config
28+
VERSION = "0.3.0"
29+
2830
# :nodoc:
2931
CUSTOM_ANNOTATIONS = [] of Nil
3032

src/components/event_dispatcher/src/athena-event_dispatcher.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ alias AED = Athena::EventDispatcher
8181
# dispatcher.has_listeners? ExceptionEvent # => true
8282
# ```
8383
module Athena::EventDispatcher
84-
VERSION = "0.1.0"
84+
VERSION = "0.1.3"
8585

8686
# The possible types an event listener can be. `AED::EventListenerInterface` instances use `#call`
8787
# in order to keep a common interface with the `Proc` based listeners.

src/components/negotiation/src/athena-negotiation.cr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ alias ANG = Athena::Negotiation
8686
#
8787
# The `ANG::LanguageNegotiator` type returns an `ANG::AcceptLanguage`, or `nil` if negotiating the best language has failed.
8888
module Athena::Negotiation
89+
VERSION = "0.1.1"
90+
8991
# Returns a lazily initialized `ANG::Negotiator` singleton instance.
9092
class_getter(negotiator) { ANG::Negotiator.new }
9193

src/components/spec/src/athena-spec.cr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ require "./test_case"
66

77
# A set of common [Spec](https://crystal-lang.org/api/Spec.html) compliant testing utilities/types.
88
module Athena::Spec
9+
VERSION = "0.2.6"
10+
911
# Runs all `ASPEC::TestCase`s.
1012
#
1113
# Is equivalent to manually calling `.run` on each test case.

0 commit comments

Comments
 (0)