ecoportal-api 0.9.7 → 0.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5696bb0c226299139a1c081ec5de3c041fdd252d76ca56ff45479c78e53c84c5
4
- data.tar.gz: 987ec0d24a1ee340b2b9cb8b68dd575eb1a5f0110d4a18c653d61c9145d320b9
3
+ metadata.gz: 84d530d29757e28159e985e70e8a0da65f16d831ea2658fcafbe94f42e98f882
4
+ data.tar.gz: a4778b377de727e3c648fa79d674b044b32d452c7cc4f024d5fbb383185a3097
5
5
  SHA512:
6
- metadata.gz: 85151476e47a2bfd61e0396e31d48dea0fb36053506c29dac394012d81986cd800476c06891eff5512166b26ca6a98513679a84d77227813807c65d80ab4ad2f
7
- data.tar.gz: d36fb967335bed2db35afec997bc842cd6b660e251e0a9fa34f7b35adb4649a2410c2d1a73572c32c388878baa84c62d3ada9237702e9ffab70cd7719cd964b6
6
+ metadata.gz: cb0dad40ddd3d5b0b621ff61b063bf2e92522b09156035009a15e782d946d43aa9db28c0066c3db1c805c78f29a2ee550fd7c358020b7216a776624c3d31f43e
7
+ data.tar.gz: c84332d17ddd19fbfbbd69f287c2110cad88064ebce801f232fcaeeccc5e6db5ec2c5ce359267d43df6bd8f4bf08238b0c242f30ef39789b92321030a914b09f
@@ -0,0 +1,4 @@
1
+ {
2
+ "MD013": false,
3
+ "MD024": false
4
+ }
data/.rubocop.yml CHANGED
@@ -1,39 +1,71 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5.1
2
+ TargetRubyVersion: 3.2.2
3
3
  Exclude:
4
4
  - 'config/routes.rb'
5
+ NewCops: enable
5
6
 
6
- Metrics/LineLength:
7
- Enabled: false
8
- Metrics/BlockLength:
9
- ExcludedMethods: [context, describe]
10
- Max: 50
7
+ Metrics/ClassLength:
8
+ Max: 500
9
+ Metrics/ModuleLength:
10
+ Max: 300
11
11
  Metrics/MethodLength:
12
12
  Max: 50
13
- Metrics/ClassLength:
14
- Max: 200
15
13
  Metrics/AbcSize:
16
14
  Max: 30
17
-
18
- ParameterLists:
15
+ Metrics/ParameterLists:
19
16
  Max: 5
20
17
  CountKeywordArgs: false
18
+ Metrics/BlockLength:
19
+ CountAsOne: ['array', 'heredoc', 'method_call']
20
+ Max: 50
21
+ Metrics/CyclomaticComplexity:
22
+ Max: 30
23
+ Metrics/PerceivedComplexity:
24
+ Max: 30
21
25
 
22
- Style/StringLiterals:
26
+ Style/AccessorGrouping:
27
+ Enabled: false
28
+ Style/ConditionalAssignment:
29
+ Enabled: false
30
+ Style/BlockDelimiters:
31
+ BracesRequiredMethods: ['log']
32
+ AllowedPatterns: ['proc', 'new']
33
+ Style/ClassAndModuleChildren:
23
34
  Enabled: false
24
35
  Style/FrozenStringLiteralComment:
25
36
  Enabled: false
26
- Style/CommentedKeyword:
37
+ Style/StringLiterals:
27
38
  Enabled: false
28
- Style/MultilineBlockChain:
39
+ Style/StringLiteralsInInterpolation:
29
40
  Enabled: false
30
41
  Style/Documentation:
31
42
  Enabled: false
32
- Style/StringLiteralsInInterpolation:
43
+ Style/CommentedKeyword:
44
+ Enabled: false
45
+ Style/MultilineBlockChain:
33
46
  Enabled: false
34
47
  Style/AndOr:
35
48
  Enabled: false
49
+ Style/Alias:
50
+ EnforcedStyle: prefer_alias_method
51
+ Style/FetchEnvVar:
52
+ Enabled: false
53
+ Style/RegexpLiteral:
54
+ EnforcedStyle: mixed
55
+ AllowInnerSlashes: true
36
56
 
57
+ Layout/HashAlignment:
58
+ EnforcedColonStyle: table
59
+ EnforcedHashRocketStyle: table
60
+ Layout/LeadingCommentSpace:
61
+ Enabled: false
62
+ AllowGemfileRubyComment: true
63
+ Layout/ParameterAlignment:
64
+ Enabled: false
65
+ Layout/MultilineMethodDefinitionBraceLayout:
66
+ EnforcedStyle: symmetrical
67
+ Layout/LineLength:
68
+ Enabled: true
37
69
  Layout/SpaceInsideHashLiteralBraces:
38
70
  Enabled: false
39
71
  Layout/SpaceInsideBlockBraces:
@@ -42,14 +74,22 @@ Layout/SpaceAroundOperators:
42
74
  Enabled: false
43
75
  Layout/ExtraSpacing:
44
76
  AllowForAlignment: true
77
+ AllowBeforeTrailingComments: true
45
78
  Layout/AccessModifierIndentation:
46
79
  EnforcedStyle: indent
47
80
  Layout/DotPosition:
48
81
  EnforcedStyle: trailing
49
82
  Layout/MultilineMethodCallIndentation:
50
83
  EnforcedStyle: indented
51
- Layout/IndentHash:
84
+ Layout/FirstHashElementIndentation:
85
+ Enabled: false
86
+ Layout/EmptyLineAfterGuardClause:
52
87
  Enabled: false
53
88
 
54
89
  Naming/VariableNumber:
55
90
  EnforcedStyle: snake_case
91
+ CheckSymbols: false
92
+ Naming/MethodParameterName:
93
+ AllowedNames: ['x', 'y', 'i', 'j', 'id', 'io', 'to']
94
+ Naming/RescuedExceptionsVariableName:
95
+ Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2