arkaan 0.7.27 → 0.7.28
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/lib/arkaan/specs.rb +13 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dda739e1f8b590f58b405939abb425845687615a
|
|
4
|
+
data.tar.gz: 28e9ff7fba265f8e5f5b6f546ba5577e95b24ed6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce6aa2bf34d246a9402dbe2e335aaa96bb4cb1e8c077ce2d3fcd5df4f09c2561a17642fdfc622f6c5af89e37fb040036b61a6cc80246e31f870f1072c3aa9a05
|
|
7
|
+
data.tar.gz: 854725c6deea2fd61562ab0cf2534b12c60cf7e7b1448851c7c156357aba17852b658680cf95b8a74ffe1eff3e9be7fb3b00ade32019993d8dedda9ce887b18d
|
data/lib/arkaan/specs.rb
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module Arkaan
|
|
2
|
+
# This module holds all the logic for the specs tools for all micro services (shared examples and other things).
|
|
3
|
+
# @author Vincent Courtois <courtois.vincent@outlook.com>
|
|
4
|
+
module Specs
|
|
5
|
+
|
|
6
|
+
# Includes all the shared examples you could need, describing the basic behaviour of a route.
|
|
7
|
+
def self.include_shared_examples
|
|
8
|
+
RSpec.shared_examples 'route' do |verb, parameters|
|
|
9
|
+
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arkaan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vincent Courtois
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -207,6 +207,7 @@ files:
|
|
|
207
207
|
- lib/arkaan/permissions/category.rb
|
|
208
208
|
- lib/arkaan/permissions/group.rb
|
|
209
209
|
- lib/arkaan/permissions/right.rb
|
|
210
|
+
- lib/arkaan/specs.rb
|
|
210
211
|
- lib/arkaan/utils.rb
|
|
211
212
|
- lib/arkaan/utils/controller.rb
|
|
212
213
|
- lib/arkaan/utils/micro_service.rb
|