delorean_lang 0.5.2 → 0.5.3
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/.gitlab-ci.yml +8 -0
- data/.rubocop_todo.yml +23 -27
- data/lib/delorean/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abf633643467cfaea17671df87afddee204b361c86df7cd6a83f2a9d5dfec262
|
|
4
|
+
data.tar.gz: b6d5544061eb9cd4e1cbe604dbcd2c0f72c746a3ab4aa81837777eece9e87a58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4e00b359a7af226c2006958cbae162377c76ad6edddb575ea36ee3fa1a4db3506814dfdbb1f65d55b7fcc9a84fcf30e3ca6f34ed0f76feff0d3e039b26fe936
|
|
7
|
+
data.tar.gz: 2dc5a21daa092f7c50c3a0fa25986f0b6cd49a39eab56ce0483486a9ca0f42726f464727693c908bcb3dd7d406f86141676cb2bb09772299c9636c6bce3389c1
|
data/.gitlab-ci.yml
CHANGED
|
@@ -3,12 +3,20 @@ image: thepry/docker-ruby-ci:2.4.2-latest
|
|
|
3
3
|
before_script:
|
|
4
4
|
- bundle install --jobs $(nproc) --path vendor "${FLAGS[@]}"
|
|
5
5
|
|
|
6
|
+
.base-test:
|
|
7
|
+
stage: test
|
|
8
|
+
# Use only the following CI runners
|
|
9
|
+
tags:
|
|
10
|
+
- gitlabci-runner-eks-shared-dev
|
|
11
|
+
|
|
6
12
|
rubocop:
|
|
13
|
+
extends: .base-test
|
|
7
14
|
stage: test
|
|
8
15
|
script:
|
|
9
16
|
- bundle exec rubocop
|
|
10
17
|
|
|
11
18
|
rspec:
|
|
19
|
+
extends: .base-test
|
|
12
20
|
stage: test
|
|
13
21
|
script:
|
|
14
22
|
- bundle exec rspec
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2019-
|
|
3
|
+
# on 2019-04-16 19:29:23 +0300 using RuboCop version 0.67.2.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -16,6 +16,7 @@ Lint/InterpolationCheck:
|
|
|
16
16
|
Exclude:
|
|
17
17
|
- 'spec/parse_spec.rb'
|
|
18
18
|
|
|
19
|
+
# Offense count: 1
|
|
19
20
|
Lint/ShadowedException:
|
|
20
21
|
Exclude:
|
|
21
22
|
- 'lib/delorean/engine.rb'
|
|
@@ -25,7 +26,7 @@ Lint/UnderscorePrefixedVariableName:
|
|
|
25
26
|
Exclude:
|
|
26
27
|
- 'lib/delorean/base.rb'
|
|
27
28
|
|
|
28
|
-
# Offense count:
|
|
29
|
+
# Offense count: 66
|
|
29
30
|
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
|
30
31
|
Lint/Void:
|
|
31
32
|
Exclude:
|
|
@@ -34,44 +35,42 @@ Lint/Void:
|
|
|
34
35
|
- 'spec/func_spec.rb'
|
|
35
36
|
- 'spec/parse_spec.rb'
|
|
36
37
|
|
|
37
|
-
# Offense count:
|
|
38
|
+
# Offense count: 19
|
|
38
39
|
Metrics/AbcSize:
|
|
39
|
-
Max:
|
|
40
|
-
|
|
41
|
-
# Offense count: 11
|
|
42
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
|
43
|
-
# ExcludedMethods: refine
|
|
44
|
-
Metrics/BlockLength:
|
|
45
|
-
Max: 903
|
|
46
|
-
|
|
47
|
-
# Offense count: 69
|
|
48
|
-
# Configuration parameters: CountBlocks.
|
|
49
|
-
Metrics/BlockNesting:
|
|
50
|
-
Max: 21
|
|
40
|
+
Max: 150
|
|
51
41
|
|
|
52
42
|
# Offense count: 2
|
|
53
43
|
# Configuration parameters: CountComments.
|
|
54
44
|
Metrics/ClassLength:
|
|
55
|
-
Max:
|
|
45
|
+
Max: 266
|
|
56
46
|
|
|
57
|
-
# Offense count:
|
|
47
|
+
# Offense count: 6
|
|
58
48
|
Metrics/CyclomaticComplexity:
|
|
59
|
-
Max:
|
|
49
|
+
Max: 11
|
|
60
50
|
|
|
61
|
-
# Offense count:
|
|
51
|
+
# Offense count: 16
|
|
62
52
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
63
53
|
Metrics/MethodLength:
|
|
64
|
-
Max:
|
|
54
|
+
Max: 219
|
|
65
55
|
|
|
66
|
-
# Offense count:
|
|
56
|
+
# Offense count: 4
|
|
67
57
|
Metrics/PerceivedComplexity:
|
|
68
|
-
Max:
|
|
58
|
+
Max: 13
|
|
69
59
|
|
|
70
60
|
# Offense count: 1
|
|
71
61
|
Naming/AccessorMethodName:
|
|
72
62
|
Exclude:
|
|
73
63
|
- 'lib/delorean/debug.rb'
|
|
74
64
|
|
|
65
|
+
# Offense count: 4
|
|
66
|
+
# Configuration parameters: PreferredName.
|
|
67
|
+
Naming/RescuedExceptionsVariableName:
|
|
68
|
+
Exclude:
|
|
69
|
+
- 'lib/delorean/base.rb'
|
|
70
|
+
- 'lib/delorean/engine.rb'
|
|
71
|
+
- 'spec/eval_spec.rb'
|
|
72
|
+
- 'spec/parse_spec.rb'
|
|
73
|
+
|
|
75
74
|
# Offense count: 12
|
|
76
75
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
77
76
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
|
@@ -83,7 +82,6 @@ Naming/UncommunicativeMethodParamName:
|
|
|
83
82
|
- 'lib/delorean/nodes.rb'
|
|
84
83
|
- 'spec/spec_helper.rb'
|
|
85
84
|
|
|
86
|
-
|
|
87
85
|
# Offense count: 5
|
|
88
86
|
Style/ClassVars:
|
|
89
87
|
Exclude:
|
|
@@ -91,11 +89,10 @@ Style/ClassVars:
|
|
|
91
89
|
- 'lib/delorean/nodes.rb'
|
|
92
90
|
- 'spec/spec_helper.rb'
|
|
93
91
|
|
|
94
|
-
# Offense count:
|
|
92
|
+
# Offense count: 3
|
|
95
93
|
# Configuration parameters: MinBodyLength.
|
|
96
94
|
Style/GuardClause:
|
|
97
95
|
Exclude:
|
|
98
|
-
- 'lib/delorean/delorean.rb'
|
|
99
96
|
- 'lib/delorean/engine.rb'
|
|
100
97
|
- 'lib/delorean/model.rb'
|
|
101
98
|
|
|
@@ -104,14 +101,13 @@ Style/MultilineBlockChain:
|
|
|
104
101
|
Exclude:
|
|
105
102
|
- 'lib/delorean/engine.rb'
|
|
106
103
|
|
|
107
|
-
# Offense count:
|
|
104
|
+
# Offense count: 7
|
|
108
105
|
Style/MultilineTernaryOperator:
|
|
109
106
|
Exclude:
|
|
110
107
|
- 'lib/delorean/base.rb'
|
|
111
108
|
- 'lib/delorean/engine.rb'
|
|
112
109
|
- 'lib/delorean/nodes.rb'
|
|
113
110
|
|
|
114
|
-
|
|
115
111
|
# Offense count: 1
|
|
116
112
|
Style/StructInheritance:
|
|
117
113
|
Exclude:
|
data/lib/delorean/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: delorean_lang
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arman Bostani
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|