simplecov-material 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/builds.yml +37 -0
- data/.github/workflows/lints.yml +38 -0
- data/.github/workflows/tests.yml +26 -0
- data/.rubocop.yml +2 -2
- data/CHANGELOG.md +10 -1
- data/Gemfile +0 -1
- data/README.md +33 -4
- data/bin/publish +1 -1
- data/dist/scripts/table.js +71 -0
- data/dist/styles/main.scss +80 -0
- data/dist/styles/table.scss +12 -78
- data/lib/simplecov-material/version.rb +1 -1
- data/package.json +3 -3
- data/public/application.css +430 -122
- data/public/application.js +160 -40
- data/test/simplecov-material/simplecov_material_test.rb +1 -1
- data/test/test_helper.rb +0 -1
- data/views/group_page.erb +60 -23
- data/yarn.lock +1405 -1299
- metadata +6 -6
- data/.circleci/config.yml +0 -197
- data/.circleci/setup-rubygems.sh +0 -3
- data/.codeclimate.json +0 -86
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-material
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Pezza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|
@@ -36,15 +36,15 @@ executables:
|
|
36
36
|
extensions: []
|
37
37
|
extra_rdoc_files: []
|
38
38
|
files:
|
39
|
-
- ".circleci/config.yml"
|
40
|
-
- ".circleci/setup-rubygems.sh"
|
41
|
-
- ".codeclimate.json"
|
42
39
|
- ".eslintignore"
|
43
40
|
- ".eslintrc.yml"
|
44
41
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
45
42
|
- ".github/ISSUE_TEMPLATE/feature-request.md"
|
46
43
|
- ".github/ISSUE_TEMPLATE/question.md"
|
47
44
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
45
|
+
- ".github/workflows/builds.yml"
|
46
|
+
- ".github/workflows/lints.yml"
|
47
|
+
- ".github/workflows/tests.yml"
|
48
48
|
- ".gitignore"
|
49
49
|
- ".rubocop.yml"
|
50
50
|
- ".stylelintignore"
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
rubygems_version: 3.0.
|
118
|
+
rubygems_version: 3.0.4
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: HTML Material Design View for Simplecov formatter
|
data/.circleci/config.yml
DELETED
@@ -1,197 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
|
3
|
-
node_version:
|
4
|
-
- &node_version
|
5
|
-
working_directory: ~/simplecov-material
|
6
|
-
docker:
|
7
|
-
- image: circleci/node:latest
|
8
|
-
|
9
|
-
ruby_versions:
|
10
|
-
- &ruby-2-6
|
11
|
-
working_directory: ~/simplecov-material
|
12
|
-
docker:
|
13
|
-
- image: circleci/ruby:2.6.3
|
14
|
-
environment:
|
15
|
-
BUNDLE_JOBS: 3
|
16
|
-
BUNDLE_RETRY: 3
|
17
|
-
RAILS_ENV: test
|
18
|
-
|
19
|
-
- &ruby-2-5
|
20
|
-
working_directory: ~/simplecov-material
|
21
|
-
docker:
|
22
|
-
- image: circleci/ruby:2.5.5
|
23
|
-
environment:
|
24
|
-
BUNDLE_JOBS: 3
|
25
|
-
BUNDLE_RETRY: 3
|
26
|
-
RAILS_ENV: test
|
27
|
-
|
28
|
-
- &ruby-2-4
|
29
|
-
working_directory: ~/simplecov-material
|
30
|
-
docker:
|
31
|
-
- image: circleci/ruby:2.4.6
|
32
|
-
environment:
|
33
|
-
BUNDLE_JOBS: 3
|
34
|
-
BUNDLE_RETRY: 3
|
35
|
-
RAILS_ENV: test
|
36
|
-
|
37
|
-
- &ruby-2-3
|
38
|
-
working_directory: ~/simplecov-material
|
39
|
-
docker:
|
40
|
-
- image: circleci/ruby:2.3.7
|
41
|
-
environment:
|
42
|
-
BUNDLE_JOBS: 3
|
43
|
-
BUNDLE_RETRY: 3
|
44
|
-
RAILS_ENV: test
|
45
|
-
|
46
|
-
build_steps:
|
47
|
-
- &install_yarn
|
48
|
-
run:
|
49
|
-
name: Update Yarn to Latest
|
50
|
-
command: sudo npm install -g yarn
|
51
|
-
|
52
|
-
- &yarn_restore_cache
|
53
|
-
restore_cache:
|
54
|
-
keys:
|
55
|
-
- chris-pezza-yarn{{ checksum "yarn.lock" }}
|
56
|
-
- chris-pezza-yarn
|
57
|
-
|
58
|
-
- &yarn_install
|
59
|
-
run:
|
60
|
-
name: Yarn Install
|
61
|
-
command: yarn install --frozen-lockfile
|
62
|
-
|
63
|
-
- &yarn_save_cache
|
64
|
-
save_cache:
|
65
|
-
key: chris-pezza-yarn{{ checksum "yarn.lock" }}
|
66
|
-
paths:
|
67
|
-
- ~/.cache/yarn
|
68
|
-
|
69
|
-
- &build_output
|
70
|
-
run:
|
71
|
-
name: Build Public files
|
72
|
-
command: yarn build
|
73
|
-
|
74
|
-
- &bundle_install
|
75
|
-
run:
|
76
|
-
name: Bundle Install
|
77
|
-
command: bundle check || bundle install
|
78
|
-
|
79
|
-
- &setup_code_climate
|
80
|
-
run:
|
81
|
-
name: Setup Code Climate test-reporter
|
82
|
-
command: |
|
83
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
84
|
-
chmod +x ./cc-test-reporter
|
85
|
-
|
86
|
-
- &run_test_cc
|
87
|
-
run:
|
88
|
-
name: Run Tests
|
89
|
-
command: |
|
90
|
-
./cc-test-reporter before-build
|
91
|
-
bundle exec rake test
|
92
|
-
./cc-test-reporter after-build
|
93
|
-
when: always
|
94
|
-
|
95
|
-
- &run_test
|
96
|
-
run:
|
97
|
-
name: Run Tests
|
98
|
-
command: bundle exec rake test
|
99
|
-
when: always
|
100
|
-
|
101
|
-
- &store_coverage
|
102
|
-
# collect reports
|
103
|
-
store_artifacts:
|
104
|
-
path: coverage
|
105
|
-
destination: coverage
|
106
|
-
|
107
|
-
- &store_public
|
108
|
-
# collect public
|
109
|
-
store_artifacts:
|
110
|
-
path: public
|
111
|
-
destination: public
|
112
|
-
|
113
|
-
- &store_test_results
|
114
|
-
store_test_results:
|
115
|
-
path: test/reports
|
116
|
-
|
117
|
-
jobs:
|
118
|
-
build:
|
119
|
-
<<: *node_version
|
120
|
-
steps:
|
121
|
-
- checkout
|
122
|
-
- *install_yarn
|
123
|
-
- *yarn_restore_cache
|
124
|
-
- *yarn_install
|
125
|
-
- *yarn_save_cache
|
126
|
-
- *build_output
|
127
|
-
- *store_public
|
128
|
-
|
129
|
-
test-ruby-2-6:
|
130
|
-
<<: *ruby-2-6
|
131
|
-
steps:
|
132
|
-
- checkout
|
133
|
-
- *bundle_install
|
134
|
-
- *run_test
|
135
|
-
- *store_coverage
|
136
|
-
- *store_test_results
|
137
|
-
|
138
|
-
test-ruby-2-5:
|
139
|
-
<<: *ruby-2-5
|
140
|
-
steps:
|
141
|
-
- checkout
|
142
|
-
- *bundle_install
|
143
|
-
- *run_test
|
144
|
-
- *store_coverage
|
145
|
-
- *store_test_results
|
146
|
-
|
147
|
-
test-ruby-2-4:
|
148
|
-
<<: *ruby-2-4
|
149
|
-
steps:
|
150
|
-
- checkout
|
151
|
-
- *bundle_install
|
152
|
-
- *run_test
|
153
|
-
- *store_coverage
|
154
|
-
- *store_test_results
|
155
|
-
|
156
|
-
test-ruby-2-3:
|
157
|
-
<<: *ruby-2-3
|
158
|
-
steps:
|
159
|
-
- checkout
|
160
|
-
- *bundle_install
|
161
|
-
- *run_test
|
162
|
-
- *store_coverage
|
163
|
-
- *store_test_results
|
164
|
-
|
165
|
-
test:
|
166
|
-
<<: *ruby-2-6
|
167
|
-
steps:
|
168
|
-
- checkout
|
169
|
-
- *bundle_install
|
170
|
-
- *setup_code_climate
|
171
|
-
- *run_test_cc
|
172
|
-
- *store_coverage
|
173
|
-
- *store_test_results
|
174
|
-
|
175
|
-
workflows:
|
176
|
-
version: 2
|
177
|
-
build-test:
|
178
|
-
jobs:
|
179
|
-
- build
|
180
|
-
- test-ruby-2-6:
|
181
|
-
requires:
|
182
|
-
- build
|
183
|
-
- test-ruby-2-5:
|
184
|
-
requires:
|
185
|
-
- build
|
186
|
-
- test-ruby-2-4:
|
187
|
-
requires:
|
188
|
-
- build
|
189
|
-
- test-ruby-2-3:
|
190
|
-
requires:
|
191
|
-
- build
|
192
|
-
- test:
|
193
|
-
requires:
|
194
|
-
- test-ruby-2-6
|
195
|
-
- test-ruby-2-5
|
196
|
-
- test-ruby-2-4
|
197
|
-
- test-ruby-2-3
|
data/.circleci/setup-rubygems.sh
DELETED
data/.codeclimate.json
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": "2",
|
3
|
-
"checks": {
|
4
|
-
"argument-count": {
|
5
|
-
"enabled": true,
|
6
|
-
"config": {
|
7
|
-
"threshold": 4
|
8
|
-
}
|
9
|
-
},
|
10
|
-
"complex-logic": {
|
11
|
-
"enabled": true,
|
12
|
-
"config": {
|
13
|
-
"threshold": 4
|
14
|
-
}
|
15
|
-
},
|
16
|
-
"file-lines": {
|
17
|
-
"enabled": true,
|
18
|
-
"config": {
|
19
|
-
"threshold": 250
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"method-complexity": {
|
23
|
-
"enabled": true,
|
24
|
-
"config": {
|
25
|
-
"threshold": 5
|
26
|
-
}
|
27
|
-
},
|
28
|
-
"method-count": {
|
29
|
-
"enabled": true,
|
30
|
-
"config": {
|
31
|
-
"threshold": 20
|
32
|
-
}
|
33
|
-
},
|
34
|
-
"method-lines": {
|
35
|
-
"enabled": true,
|
36
|
-
"config": {
|
37
|
-
"threshold": 25
|
38
|
-
}
|
39
|
-
},
|
40
|
-
"nested-control-flow": {
|
41
|
-
"enabled": true,
|
42
|
-
"config": {
|
43
|
-
"threshold": 4
|
44
|
-
}
|
45
|
-
},
|
46
|
-
"return-statements": {
|
47
|
-
"enabled": true,
|
48
|
-
"config": {
|
49
|
-
"threshold": 4
|
50
|
-
}
|
51
|
-
},
|
52
|
-
"similar-code": {
|
53
|
-
"enabled": true,
|
54
|
-
"config": {
|
55
|
-
"threshold": null
|
56
|
-
}
|
57
|
-
},
|
58
|
-
"identical-code": {
|
59
|
-
"enabled": true,
|
60
|
-
"config": {
|
61
|
-
"threshold": null
|
62
|
-
}
|
63
|
-
}
|
64
|
-
},
|
65
|
-
"plugins": {
|
66
|
-
"rubocop": {
|
67
|
-
"enabled": true,
|
68
|
-
"channel": "rubocop-0-71"
|
69
|
-
},
|
70
|
-
"eslint": {
|
71
|
-
"enabled": true,
|
72
|
-
"channel": "eslint-5",
|
73
|
-
"config": {
|
74
|
-
"config": "./.eslintrc"
|
75
|
-
}
|
76
|
-
},
|
77
|
-
"stylelint": {
|
78
|
-
"enabled": true
|
79
|
-
}
|
80
|
-
},
|
81
|
-
"exclude_patterns": [
|
82
|
-
"**/public/",
|
83
|
-
"**/node_modules/",
|
84
|
-
"**/*.d.ts"
|
85
|
-
]
|
86
|
-
}
|