ostiary 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +42 -0
- data/README.md +1 -1
- data/lib/ostiary/version.rb +1 -1
- data/ostiary.gemspec +1 -0
- metadata +18 -5
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb578931e7699371535e5d759d387d36587e922d71e9f4c748cf115ec687af4
|
4
|
+
data.tar.gz: 6134612b7f338b2a2511ca501e8aa3d6cf0100e6df6f7716fbfccc5cdaf5ddb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52d562092fdd9555ddb5b8e52073c2c6a939aba1b664e9027f97829a45b3ef363d097811ffea88d7351f026f7ccd73c141a4a67c3ea39615083372b5ee9471e2
|
7
|
+
data.tar.gz: a5f3d43534641beaa6923129a71e8d05da2d707c42ef3ebe9ff7b58527ec681894adf3063f0320dfb7ea2a8e95cb718cbd339c64e1437c27db42ff2f7623c9f2
|
@@ -0,0 +1,42 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.6.5
|
6
|
+
|
7
|
+
working_directory: ~/repo
|
8
|
+
|
9
|
+
steps:
|
10
|
+
- checkout
|
11
|
+
|
12
|
+
- restore_cache:
|
13
|
+
keys:
|
14
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
15
|
+
- v1-dependencies-
|
16
|
+
|
17
|
+
- run:
|
18
|
+
name: install dependencies
|
19
|
+
command: |
|
20
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
21
|
+
|
22
|
+
- save_cache:
|
23
|
+
paths:
|
24
|
+
- ./vendor/bundle
|
25
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
26
|
+
|
27
|
+
- run:
|
28
|
+
name: run tests
|
29
|
+
command: |
|
30
|
+
mkdir /tmp/test-results
|
31
|
+
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | \
|
32
|
+
circleci tests split --split-by=timings)"
|
33
|
+
|
34
|
+
bundle exec rspec \
|
35
|
+
--format progress \
|
36
|
+
--format RspecJunitFormatter \
|
37
|
+
--out /tmp/test-results/rspec.xml \
|
38
|
+
--format progress \
|
39
|
+
$TEST_FILES
|
40
|
+
|
41
|
+
- store_test_results:
|
42
|
+
path: /tmp/test-results
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ An ostiarius, a Latin word sometimes anglicized as ostiary but often literally t
|
|
4
4
|
|
5
5
|
## Functionality
|
6
6
|
|
7
|
-
[](https://circleci.com/gh/nedap/ostiary)
|
8
8
|
|
9
9
|
This gem will help you enforce 'policies' when viewing controllers/actions.
|
10
10
|
This is done by requiring certain roles for controllers, where you can
|
data/lib/ostiary/version.rb
CHANGED
data/ostiary.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ostiary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacques Hakvoort
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: |2
|
56
70
|
Ostiary is a security gem for your (rails) controllers & actions.
|
57
71
|
It employs a before_filter-like call to set policies per controller/action.
|
@@ -67,11 +81,11 @@ executables: []
|
|
67
81
|
extensions: []
|
68
82
|
extra_rdoc_files: []
|
69
83
|
files:
|
84
|
+
- ".circleci/config.yml"
|
70
85
|
- ".gitignore"
|
71
86
|
- ".rspec"
|
72
87
|
- ".ruby-gemset"
|
73
88
|
- ".ruby-version"
|
74
|
-
- ".travis.yml"
|
75
89
|
- Gemfile
|
76
90
|
- LICENSE.txt
|
77
91
|
- README.md
|
@@ -103,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
117
|
- !ruby/object:Gem::Version
|
104
118
|
version: '0'
|
105
119
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.7.6
|
120
|
+
rubygems_version: 3.0.3
|
108
121
|
signing_key:
|
109
122
|
specification_version: 4
|
110
123
|
summary: Limit access to (rails) controllers/actions with policies
|