summaryrefslogtreecommitdiff
path: root/lib/declarative_policy
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'rs-more-public-send-whitelists' into 'master'Rémy Coutable2017-08-162-2/+2
|\ | | | | | | | | Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467
| * Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-142-2/+2
| | | | | | | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* | Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher2017-08-151-1/+1
|/
* more eagerly bail when the state is preventedhttp://jneen.net/2017-08-071-4/+3
|
* reduce iterations by keeping a count of remaining enablershttp://jneen.net/2017-08-071-1/+4
| | | | | rather than iterating the whole remaining step set with .all?(&:prevent?)
* cache the cache key...perf/policy-class-cachehttp://jneen.net/2017-07-171-7/+8
|
* avoid #respond_to? in Cache.id_forhttp://jneen.net/2017-07-171-5/+8
|
* add a new DeclarativePolicy frameworkhttp://jneen.net/2017-06-278-0/+1162