ecoportal-api 0.8.5 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +20 -20
- data/.rspec +3 -3
- data/.rubocop.yml +55 -55
- data/.travis.yml +5 -5
- data/.yardopts +10 -10
- data/CHANGELOG.md +257 -236
- data/Gemfile +6 -6
- data/LICENSE +21 -21
- data/README.md +34 -34
- data/Rakefile +27 -27
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/ecoportal-api.gemspec +36 -36
- data/lib/ecoportal/api/common/base_class.rb +33 -29
- data/lib/ecoportal/api/common/base_model.rb +195 -177
- data/lib/ecoportal/api/common/batch_operation.rb +119 -119
- data/lib/ecoportal/api/common/batch_response.rb +34 -34
- data/lib/ecoportal/api/common/client.rb +198 -196
- data/lib/ecoportal/api/common/doc_helpers.rb +29 -29
- data/lib/ecoportal/api/common/elastic_apm_integration.rb +112 -112
- data/lib/ecoportal/api/common/hash_diff.rb +41 -41
- data/lib/ecoportal/api/common/logging.rb +12 -12
- data/lib/ecoportal/api/common/response.rb +31 -31
- data/lib/ecoportal/api/common/wrapped_response.rb +54 -54
- data/lib/ecoportal/api/common.rb +18 -18
- data/lib/ecoportal/api/errors/base.rb +8 -8
- data/lib/ecoportal/api/errors/time_out.rb +8 -8
- data/lib/ecoportal/api/errors.rb +9 -9
- data/lib/ecoportal/api/internal/account.rb +99 -100
- data/lib/ecoportal/api/internal/login_provider.rb +9 -9
- data/lib/ecoportal/api/internal/login_providers.rb +33 -33
- data/lib/ecoportal/api/internal/people.rb +14 -14
- data/lib/ecoportal/api/internal/permissions.rb +14 -13
- data/lib/ecoportal/api/internal/person.rb +101 -53
- data/lib/ecoportal/api/internal/person_details.rb +9 -9
- data/lib/ecoportal/api/internal/person_schema.rb +10 -10
- data/lib/ecoportal/api/internal/person_schemas.rb +11 -11
- data/lib/ecoportal/api/internal/policy_group.rb +9 -9
- data/lib/ecoportal/api/internal/policy_groups.rb +32 -32
- data/lib/ecoportal/api/internal/preferences.rb +31 -31
- data/lib/ecoportal/api/internal/schema_field.rb +8 -8
- data/lib/ecoportal/api/internal/schema_field_value.rb +8 -8
- data/lib/ecoportal/api/internal.rb +31 -31
- data/lib/ecoportal/api/logger.rb +62 -62
- data/lib/ecoportal/api/v1/people.rb +218 -218
- data/lib/ecoportal/api/v1/person.rb +138 -135
- data/lib/ecoportal/api/v1/person_details.rb +94 -82
- data/lib/ecoportal/api/v1/person_schema.rb +53 -53
- data/lib/ecoportal/api/v1/person_schemas.rb +48 -48
- data/lib/ecoportal/api/v1/schema_field.rb +34 -34
- data/lib/ecoportal/api/v1/schema_field_value.rb +65 -65
- data/lib/ecoportal/api/v1.rb +49 -49
- data/lib/ecoportal/api/version.rb +5 -5
- data/lib/ecoportal/api.rb +16 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae15013d2a4c6eea267fd4226fe108fa1773943ceae84e5698a0df78e090e79a
|
4
|
+
data.tar.gz: c2b35a38213ad5555f47fbd5f60aeba2e2b4ebd1f7e9120960ed595ace2f204f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76355a8b8964857fc576e71d78ad03a833ef7f75833fc77d6fc4754d98e9f5ae64f58b57b9e6bdd9b18d852321b0a7a78953c83848b1a5f3d7eae2bea7076faa
|
7
|
+
data.tar.gz: 41a1bc687434dd61c03a85dd2cd5b7b1d7864523c0b5e59bd6522db2196a3daf2cfccbd96c89b2a38475c1e381162cae5d4433695b207759a6667bb33116949f
|
data/.gitignore
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
# it's a gem, ignore the lockfile
|
2
|
-
Gemfile.lock
|
3
|
-
|
4
|
-
# build artifacts
|
5
|
-
*.gem
|
6
|
-
/.bundle/
|
7
|
-
/vendor/bundle
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
/pkg/
|
11
|
-
|
12
|
-
# docs
|
13
|
-
/.yardoc
|
14
|
-
/_yardoc/
|
15
|
-
/coverage/
|
16
|
-
/doc/
|
17
|
-
|
18
|
-
# rspec failure tracking
|
19
|
-
.rspec_status
|
20
|
-
scratch.rb
|
1
|
+
# it's a gem, ignore the lockfile
|
2
|
+
Gemfile.lock
|
3
|
+
|
4
|
+
# build artifacts
|
5
|
+
*.gem
|
6
|
+
/.bundle/
|
7
|
+
/vendor/bundle
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
/pkg/
|
11
|
+
|
12
|
+
# docs
|
13
|
+
/.yardoc
|
14
|
+
/_yardoc/
|
15
|
+
/coverage/
|
16
|
+
/doc/
|
17
|
+
|
18
|
+
# rspec failure tracking
|
19
|
+
.rspec_status
|
20
|
+
scratch.rb
|
data/.rspec
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
--format documentation
|
2
|
-
--color
|
3
|
-
--require spec_helper
|
1
|
+
--format documentation
|
2
|
+
--color
|
3
|
+
--require spec_helper
|
data/.rubocop.yml
CHANGED
@@ -1,55 +1,55 @@
|
|
1
|
-
AllCops:
|
2
|
-
TargetRubyVersion: 2.5.1
|
3
|
-
Exclude:
|
4
|
-
- 'config/routes.rb'
|
5
|
-
|
6
|
-
Metrics/LineLength:
|
7
|
-
Enabled: false
|
8
|
-
Metrics/BlockLength:
|
9
|
-
ExcludedMethods: [context, describe]
|
10
|
-
Max: 50
|
11
|
-
Metrics/MethodLength:
|
12
|
-
Max: 50
|
13
|
-
Metrics/ClassLength:
|
14
|
-
Max: 200
|
15
|
-
Metrics/AbcSize:
|
16
|
-
Max: 30
|
17
|
-
|
18
|
-
ParameterLists:
|
19
|
-
Max: 5
|
20
|
-
CountKeywordArgs: false
|
21
|
-
|
22
|
-
Style/StringLiterals:
|
23
|
-
Enabled: false
|
24
|
-
Style/FrozenStringLiteralComment:
|
25
|
-
Enabled: false
|
26
|
-
Style/CommentedKeyword:
|
27
|
-
Enabled: false
|
28
|
-
Style/MultilineBlockChain:
|
29
|
-
Enabled: false
|
30
|
-
Style/Documentation:
|
31
|
-
Enabled: false
|
32
|
-
Style/StringLiteralsInInterpolation:
|
33
|
-
Enabled: false
|
34
|
-
Style/AndOr:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Layout/SpaceInsideHashLiteralBraces:
|
38
|
-
Enabled: false
|
39
|
-
Layout/SpaceInsideBlockBraces:
|
40
|
-
Enabled: false
|
41
|
-
Layout/SpaceAroundOperators:
|
42
|
-
Enabled: false
|
43
|
-
Layout/ExtraSpacing:
|
44
|
-
AllowForAlignment: true
|
45
|
-
Layout/AccessModifierIndentation:
|
46
|
-
EnforcedStyle: indent
|
47
|
-
Layout/DotPosition:
|
48
|
-
EnforcedStyle: trailing
|
49
|
-
Layout/MultilineMethodCallIndentation:
|
50
|
-
EnforcedStyle: indented
|
51
|
-
Layout/IndentHash:
|
52
|
-
Enabled: false
|
53
|
-
|
54
|
-
Naming/VariableNumber:
|
55
|
-
EnforcedStyle: snake_case
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.5.1
|
3
|
+
Exclude:
|
4
|
+
- 'config/routes.rb'
|
5
|
+
|
6
|
+
Metrics/LineLength:
|
7
|
+
Enabled: false
|
8
|
+
Metrics/BlockLength:
|
9
|
+
ExcludedMethods: [context, describe]
|
10
|
+
Max: 50
|
11
|
+
Metrics/MethodLength:
|
12
|
+
Max: 50
|
13
|
+
Metrics/ClassLength:
|
14
|
+
Max: 200
|
15
|
+
Metrics/AbcSize:
|
16
|
+
Max: 30
|
17
|
+
|
18
|
+
ParameterLists:
|
19
|
+
Max: 5
|
20
|
+
CountKeywordArgs: false
|
21
|
+
|
22
|
+
Style/StringLiterals:
|
23
|
+
Enabled: false
|
24
|
+
Style/FrozenStringLiteralComment:
|
25
|
+
Enabled: false
|
26
|
+
Style/CommentedKeyword:
|
27
|
+
Enabled: false
|
28
|
+
Style/MultilineBlockChain:
|
29
|
+
Enabled: false
|
30
|
+
Style/Documentation:
|
31
|
+
Enabled: false
|
32
|
+
Style/StringLiteralsInInterpolation:
|
33
|
+
Enabled: false
|
34
|
+
Style/AndOr:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Layout/SpaceInsideHashLiteralBraces:
|
38
|
+
Enabled: false
|
39
|
+
Layout/SpaceInsideBlockBraces:
|
40
|
+
Enabled: false
|
41
|
+
Layout/SpaceAroundOperators:
|
42
|
+
Enabled: false
|
43
|
+
Layout/ExtraSpacing:
|
44
|
+
AllowForAlignment: true
|
45
|
+
Layout/AccessModifierIndentation:
|
46
|
+
EnforcedStyle: indent
|
47
|
+
Layout/DotPosition:
|
48
|
+
EnforcedStyle: trailing
|
49
|
+
Layout/MultilineMethodCallIndentation:
|
50
|
+
EnforcedStyle: indented
|
51
|
+
Layout/IndentHash:
|
52
|
+
Enabled: false
|
53
|
+
|
54
|
+
Naming/VariableNumber:
|
55
|
+
EnforcedStyle: snake_case
|
data/.travis.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.5.1
|
5
|
-
before_install: gem install bundler -v 1.16.1
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.5.1
|
5
|
+
before_install: gem install bundler -v 1.16.1
|
data/.yardopts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
--readme README.md
|
2
|
-
--charset utf-8
|
3
|
-
--markup-provider=redcarpet
|
4
|
-
--markup=markdown
|
5
|
-
--no-private
|
6
|
-
--output-dir ./doc
|
7
|
-
'lib/**/*.rb'
|
8
|
-
-
|
9
|
-
CHANGELOG.md
|
10
|
-
LICENSE
|
1
|
+
--readme README.md
|
2
|
+
--charset utf-8
|
3
|
+
--markup-provider=redcarpet
|
4
|
+
--markup=markdown
|
5
|
+
--no-private
|
6
|
+
--output-dir ./doc
|
7
|
+
'lib/**/*.rb'
|
8
|
+
-
|
9
|
+
CHANGELOG.md
|
10
|
+
LICENSE
|