clean-architecture 5.0.1 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -3
- data/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/clean-architecture.gemspec +7 -0
- data/lib/clean_architecture/checks/authorization.rb +1 -0
- data/lib/clean_architecture/use_cases/abstract_use_case.rb +1 -0
- data/lib/clean_architecture/use_cases/errors.rb +1 -0
- data/lib/clean_architecture/use_cases/parameters.rb +1 -0
- data/lib/clean_architecture/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '048bebc1a315646deda9635ebf4f6d52a3b7c1350f7d26a542a600c8410fbc44'
|
4
|
+
data.tar.gz: 1afd42cfc46b98674be6165290806f3621c5921597c03d6cf5b7da9b4cd5a0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca7b6850934dcc47568cc5ce0143b8a5b3cff4c416e136e3450d0a9e10e4d9bd3a64cf41caf493f44157a2b9acfca0daa5184912e8d984c19c9110bfb487080c
|
7
|
+
data.tar.gz: c15b10110b7eb1ffd0ab96830f48f894c11d27088e8b6b099822b0f02d245052f262908d2b186476def0e8c4afa13edb7c44451a3ff8a20b1b166f900ef0ea1f
|
data/.github/workflows/ci.yml
CHANGED
@@ -16,9 +16,9 @@ jobs:
|
|
16
16
|
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
17
17
|
id: extract_branch
|
18
18
|
- name: Set up Ruby
|
19
|
-
uses: actions/setup-ruby@v1
|
19
|
+
uses: actions/setup-ruby@v1.1.1
|
20
20
|
with:
|
21
|
-
ruby-version: 2.6.
|
21
|
+
ruby-version: 2.6.6
|
22
22
|
- name: Cache gems
|
23
23
|
uses: actions/cache@v1
|
24
24
|
with:
|
@@ -27,7 +27,7 @@ jobs:
|
|
27
27
|
}}"
|
28
28
|
restore-keys: "${{ runner.OS }}-gem-cache-\n"
|
29
29
|
- name: Install bundler
|
30
|
-
run: (bundler -v | grep "2.
|
30
|
+
run: (bundler -v | grep "2.1.4") || gem install bundler:2.1.4
|
31
31
|
- name: Install gems
|
32
32
|
run: bundle install --jobs $(nproc) --retry 3 --without metrics --path vendor/bundle
|
33
33
|
- name: Create cache directory
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.6
|
data/CHANGELOG.md
CHANGED
data/clean-architecture.gemspec
CHANGED
@@ -14,6 +14,13 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'An attempt at building a reusable Clean Architecture framework for Ruby'
|
15
15
|
spec.homepage = 'https://bellroy.com'
|
16
16
|
|
17
|
+
if spec.respond_to?(:metadata)
|
18
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
19
|
+
else
|
20
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
21
|
+
'public gem pushes.'
|
22
|
+
end
|
23
|
+
|
17
24
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
25
|
f.match(%r{^(test|spec|features)/})
|
19
26
|
end
|
@@ -8,6 +8,7 @@ require 'clean_architecture/use_cases/errors'
|
|
8
8
|
require 'clean_architecture/use_cases/parameters'
|
9
9
|
require 'clean_architecture/use_cases/contract'
|
10
10
|
require 'clean_architecture/entities/failure_details'
|
11
|
+
require 'forwardable'
|
11
12
|
|
12
13
|
module CleanArchitecture
|
13
14
|
module UseCases
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clean-architecture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bellroy Tech Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -296,7 +296,8 @@ files:
|
|
296
296
|
- sorbet/rbi/todo.rbi
|
297
297
|
homepage: https://bellroy.com
|
298
298
|
licenses: []
|
299
|
-
metadata:
|
299
|
+
metadata:
|
300
|
+
allowed_push_host: https://rubygems.org
|
300
301
|
post_install_message:
|
301
302
|
rdoc_options: []
|
302
303
|
require_paths:
|
@@ -312,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
312
313
|
- !ruby/object:Gem::Version
|
313
314
|
version: '0'
|
314
315
|
requirements: []
|
315
|
-
rubygems_version: 3.
|
316
|
+
rubygems_version: 3.1.2
|
316
317
|
signing_key:
|
317
318
|
specification_version: 4
|
318
319
|
summary: Bellroy Clean Architecture Framework
|