bankai 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +31 -0
- data/lib/bankai/version.rb +1 -1
- data/templates/gitlab-ci.yml.erb +17 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f6ada50b0a4556acf3c46275c0a4eff1eac18880eb9337a3609902ca06720dd
|
4
|
+
data.tar.gz: f9631b5c20daf0b83a0d448bb6eb7ba22f0342c0b2105598456bbaf2f7005b8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f56abde22ce0627cdc53a8b12ba3596b455556faaeeacd5d42b8433407496e8535f7ae7d45c110fbd46bf9e50b54f37fe98069b08574fb0086bda7ad581aa1e1
|
7
|
+
data.tar.gz: 64cbfab439a5d1e579e87756f95c6aef09e961e2d941db37ad3dcd09eaea0df94c9f6736f2ea68f21630b19161cf64ed68e36fb4a66c8235c6b380ace721420b
|
data/.gitlab-ci.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
image: ruby:2.5
|
2
|
+
|
3
|
+
stages:
|
4
|
+
- lint
|
5
|
+
- test
|
6
|
+
|
7
|
+
cache:
|
8
|
+
paths:
|
9
|
+
- vendor/ruby
|
10
|
+
|
11
|
+
rubocop:
|
12
|
+
stage: lint
|
13
|
+
before_script:
|
14
|
+
- gem install rubocop -v 0.60.0
|
15
|
+
script:
|
16
|
+
- rubocop
|
17
|
+
|
18
|
+
bundler-audit:
|
19
|
+
stage: lint
|
20
|
+
before_script:
|
21
|
+
- bundle install --path vendor
|
22
|
+
- gem install bundler-audit
|
23
|
+
script:
|
24
|
+
- bundle audit
|
25
|
+
|
26
|
+
rspec:
|
27
|
+
stage: test
|
28
|
+
before_script:
|
29
|
+
- bundle install --path vendor
|
30
|
+
script:
|
31
|
+
- bundle exec rspec
|
data/lib/bankai/version.rb
CHANGED
data/templates/gitlab-ci.yml.erb
CHANGED
@@ -23,6 +23,7 @@ stages:
|
|
23
23
|
cache:
|
24
24
|
paths:
|
25
25
|
- vendor/ruby
|
26
|
+
- node_modules
|
26
27
|
|
27
28
|
rubocop:
|
28
29
|
stage: lint
|
@@ -30,6 +31,8 @@ rubocop:
|
|
30
31
|
- gem install rubocop -v <%= Bankai::RUBOCOP_VERSION %>
|
31
32
|
script:
|
32
33
|
- rubocop
|
34
|
+
except:
|
35
|
+
- schedules
|
33
36
|
|
34
37
|
brakeman:
|
35
38
|
stage: lint
|
@@ -39,6 +42,16 @@ brakeman:
|
|
39
42
|
- gem install brakeman
|
40
43
|
script:
|
41
44
|
- brakeman
|
45
|
+
except:
|
46
|
+
- schedules
|
47
|
+
|
48
|
+
bundler-audit:
|
49
|
+
stage: lint
|
50
|
+
before_script:
|
51
|
+
- gem install bundler-audit
|
52
|
+
script:
|
53
|
+
- bundle audit
|
54
|
+
allow_failure: true
|
42
55
|
|
43
56
|
rspec:
|
44
57
|
stage: test
|
@@ -60,6 +73,8 @@ rspec:
|
|
60
73
|
script:
|
61
74
|
- bundle exec rake db:migrate
|
62
75
|
- bundle exec rspec
|
76
|
+
except:
|
77
|
+
- schedules
|
63
78
|
|
64
79
|
# staging:deploy:
|
65
80
|
# stage: deploy
|
@@ -72,3 +87,5 @@ rspec:
|
|
72
87
|
# - bundle exec cap staging deploy
|
73
88
|
# only:
|
74
89
|
# - master
|
90
|
+
# except:
|
91
|
+
# - schedules
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bankai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 5xRuby
|
@@ -133,6 +133,7 @@ extensions: []
|
|
133
133
|
extra_rdoc_files: []
|
134
134
|
files:
|
135
135
|
- ".gitignore"
|
136
|
+
- ".gitlab-ci.yml"
|
136
137
|
- ".overcommit.yml"
|
137
138
|
- ".rspec"
|
138
139
|
- ".travis.yml"
|