Skip to content

Commit

Permalink
Update changelog, readme, and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
t27duck committed Mar 18, 2024
1 parent 06f551c commit 5f7cee0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.6.2 (2024-03-18)

### Features

* `Metric` can now take an optional `measure` argument to override the measure that would normally be used.

## 0.6.1 (2020-08-29)

### Misc
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ You may pass a hash instead of a symbol to customize the dimension options (exam

`metric_filter` - An additional HAVING clause to be tacked on to the end of the query. This allows for the further filtering of the end results based on the value of the aggregate. (Examples: `{gt: 3}`, `{eq: 5}`, `{lte: 7}`)

`measure` - Override the measure on the `ActiveReporting::Factmodel` used.

`order_by_dimension` - Allows you to set the ordering of the results based on a dimension label. (Examples: `{author: :desc}`, `{sales_ref: :asc}`)

For those using Postgres, you can take advantage of implicit hierarchies in `datetime` columns, as mentioned above:
Expand Down
2 changes: 1 addition & 1 deletion lib/active_reporting/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ActiveReporting
VERSION = '0.6.1'
VERSION = '0.6.2'
end

0 comments on commit 5f7cee0

Please sign in to comment.