bankai 0.1.0 → 0.2.0

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: e905c9f83697a55d0db35a69fe1437e420b4d9f6a27095b157f72885768c0483
4
- data.tar.gz: 2cbedd82cd3a99958eb6e15f2388cafed89ee8682c6144140bb1e956ac9ed487
3
+ metadata.gz: 9f6ada50b0a4556acf3c46275c0a4eff1eac18880eb9337a3609902ca06720dd
4
+ data.tar.gz: f9631b5c20daf0b83a0d448bb6eb7ba22f0342c0b2105598456bbaf2f7005b8f
5
5
  SHA512:
6
- metadata.gz: edbcb5487f470a20e1fa77cf09f5020333e24e3c7366de4280ad08f06c01e36009aed7fa984858e1a3d8fbeb4d22cdb161d99d79a002cfed54fe2e104d69395c
7
- data.tar.gz: a13a69b17f57e57dba179202218835efe837704102ff8739dbb39d4c6194b26a4418b7b7fd76de3f9a9a1f2bda01d4da2c1d104675fbff2637a308805da1f01a
6
+ metadata.gz: f56abde22ce0627cdc53a8b12ba3596b455556faaeeacd5d42b8433407496e8535f7ae7d45c110fbd46bf9e50b54f37fe98069b08574fb0086bda7ad581aa1e1
7
+ data.tar.gz: 64cbfab439a5d1e579e87756f95c6aef09e961e2d941db37ad3dcd09eaea0df94c9f6736f2ea68f21630b19161cf64ed68e36fb4a66c8235c6b380ace721420b
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Bankai
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  RUBY_VERSION = '2.5.0'.freeze
4
4
  RAILS_VERSION = '5.2.2'.freeze
5
5
  RUBOCOP_VERSION = '0.60.0'.freeze
@@ -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.1.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"