delorean_lang 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89298e290f313ade46bf260e446224804149a46f
4
- data.tar.gz: d31f413b2c391b0d98b157967693be82b86bf101
3
+ metadata.gz: dccec41d942326a7ff9ffa4591b0ab36ce305974
4
+ data.tar.gz: 1fe60929e61d040e7ca33a3672476efc62852b3d
5
5
  SHA512:
6
- metadata.gz: 0c19fce0e9ab539d9b95c9491c3b04e6711c1617a79fb1a4c1ae3aa6895d831809d018cc1aa52385403c5c7c7ebd2d8474ba004fa9595d6f55d2c895f0e01644
7
- data.tar.gz: 24056448d59d6ed59dfed9f8a28c89c8c9aba471f0e9d5097263f1e33eefaf7d73a8e699f853b1a7bcd54d3a49b80ba02ff1a9c3c2b61305a2994ab0a0b38f88
6
+ metadata.gz: b7f9d418f8f625dc408c164dd4a0f2447559a392194d8c1a2264e0fa110fd33d616b353074d3e08d4715a96efd0d7eace5c2cedfd0e345ab3adb178658b5f2a2
7
+ data.tar.gz: 96d147e01620fbb668f3ae4cf8b088628a981862e894c63008fb2dcb8d65b64326991e7d5e1fb5ea88a5959e41cceb1575b8595b36eb7c88ac46ae81e8c743ab
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,29 @@
1
+ image: ruby:2.4.2
2
+
3
+ before_script:
4
+ - gem install bundler
5
+ - bundle install --jobs $(nproc) --path vendor "${FLAGS[@]}"
6
+
7
+ rubocop:
8
+ stage: test
9
+ script:
10
+ - bundle exec rubocop
11
+
12
+ rspec:
13
+ stage: test
14
+ script:
15
+ - bundle exec rspec
16
+
17
+ cache:
18
+ key: 'delorean_bundler_cache'
19
+ paths:
20
+ - vendor/ruby
21
+
22
+ variables:
23
+ GIT_SSL_NO_VERIFY: "true"
24
+ BUNDLER_VERSION: "2.0.1"
25
+ POSTGRES_USER: "runner"
26
+ POSTGRES_PASSWORD: ""
27
+ RAILS_ENV: "test"
28
+ RAILS_DUMP_SCHEMA: "false"
29
+
data/.rubocop.yml CHANGED
@@ -1,8 +1,37 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ Exclude:
5
+ - 'db/**/*'
6
+ - 'spec/dummy/**/*'
7
+ - 'bin/{rails,rake}'
8
+ - 'vendor/**/*'
9
+ - !ruby/regexp /old_and_unused\.rb$/
10
+ - lib/delorean/delorean.rb
11
+
1
12
  Style/StringLiterals:
2
13
  Enabled: false
3
14
 
4
15
  Metrics/LineLength:
5
16
  Max: 80
17
+ Exclude:
18
+ - 'lib/delorean/delorean.rb'
19
+ - 'spec/func_spec.rb'
20
+ - 'spec/parse_spec.rb'
21
+
22
+ Metrics/ModuleLength:
23
+ Exclude:
24
+ - 'spec/eval_spec.rb'
25
+
26
+ Metrics/BlockLength:
27
+ Exclude:
28
+ - 'spec/eval_spec.rb'
29
+
30
+ Style/TrailingCommaInArguments:
31
+ Enabled: false
32
+
33
+ Style/TrailingCommaInArrayLiteral:
34
+ Enabled: false
6
35
 
7
- Style/TrailingComma:
36
+ Style/TrailingCommaInHashLiteral:
8
37
  Enabled: false