Skip to content

Commit 924c15c

Browse files
committed
docs: add note about 0.3.0.beta1
1 parent 98a0600 commit 924c15c

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Add this line to your application's `Gemfile`:
2222

2323
```ruby
2424
gem "action_policy"
25+
# or start from the new version,
26+
# which is coming soon (it contains much more useful features)
27+
gem "action_policy", "0.3.0.beta1"
2528
```
2629

2730
And then execute:

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
> Action Policy is an authorization framework for Ruby and Rails applications.
77
8+
**NOTE:** this documentation covers the _coming-soon_ version "0.3.0" ([first beta](https://rubygems.org/gems/action_policy) is out!).
9+
810
## What is it?
911

1012
_Authorization_ is an act of giving **someone** official

docs/reasons.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ p ex.result.reasons.details #=> { stage: [:show?] }
5555

5656
## Detailed Reasons
5757

58-
**NOTE:** this feature hasn't been released yet and planned for 0.3.0 release.
59-
You can use it now by installing the gem from GitHub master:
60-
61-
```ruby
62-
gem "action_policy", github: "palkan/action_policy"
63-
```
64-
6558
You can provide additional details to your failure reasons by using a `details: { ... }` option:
6659

6760
```ruby

docs/scoping.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# Scoping
22

3-
**NOTE:** this feature hasn't been released yet and planned for 0.3.0 release.
4-
You can use it now by installing the gem from GitHub master:
5-
6-
```ruby
7-
gem "action_policy", github: "palkan/action_policy"
8-
```
9-
103
By _scoping_ we mean an ability to use policies to _scope data_ (or _filter/modify/transform/choose-your-verb_).
114

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

0 commit comments

Comments
 (0)