Skip to content

Commit

Permalink
docs: add note about 0.3.0.beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Mar 30, 2019
1 parent 98a0600 commit 924c15c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Add this line to your application's `Gemfile`:

```ruby
gem "action_policy"
# or start from the new version,
# which is coming soon (it contains much more useful features)
gem "action_policy", "0.3.0.beta1"
```

And then execute:
Expand Down
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

> Action Policy is an authorization framework for Ruby and Rails applications.
**NOTE:** this documentation covers the _coming-soon_ version "0.3.0" ([first beta](https://rubygems.org/gems/action_policy) is out!).

## What is it?

_Authorization_ is an act of giving **someone** official
Expand Down
7 changes: 0 additions & 7 deletions docs/reasons.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ p ex.result.reasons.details #=> { stage: [:show?] }

## Detailed Reasons

**NOTE:** this feature hasn't been released yet and planned for 0.3.0 release.
You can use it now by installing the gem from GitHub master:

```ruby
gem "action_policy", github: "palkan/action_policy"
```

You can provide additional details to your failure reasons by using a `details: { ... }` option:

```ruby
Expand Down
7 changes: 0 additions & 7 deletions docs/scoping.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Scoping

**NOTE:** this feature hasn't been released yet and planned for 0.3.0 release.
You can use it now by installing the gem from GitHub master:

```ruby
gem "action_policy", github: "palkan/action_policy"
```

By _scoping_ we mean an ability to use policies to _scope data_ (or _filter/modify/transform/choose-your-verb_).

The most common situation is when you want to _scope_ ActiveRecord relations depending
Expand Down

0 comments on commit 924c15c

Please sign in to comment.