devise_materialize 1.1.1 → 1.2.0

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
- SHA1:
3
- metadata.gz: 82eab7b4b87f903ca6f56b8758621e21bcb46907
4
- data.tar.gz: 661abbcfe88a80ad3ff70956754f9885318718d5
2
+ SHA256:
3
+ metadata.gz: 670dd47831326fb7a5c16aca280f8bed055dc2befeab6242d5122d5b0db94a63
4
+ data.tar.gz: 3982e0d90cf0a266d0f398ca95894d09ccb433406b7e4dabacb2f3d43a275d61
5
5
  SHA512:
6
- metadata.gz: 10465e0bc4b3172081fde51307a09d32da1b28a89cb468c96cf062e8be6cf968d21f5ceaa26ca89f7aeb5e7fd54bfcc8c63eb1cc2b146c07f478472c7eec869d
7
- data.tar.gz: 794f75ba93a5fb565429cb7da9a630b6c053a53ac4e47eabd94bd2800df0ec296a54e69d0458561baa5ef6b951b71a40394117fb692ce29535aa700d2aadb996
6
+ metadata.gz: bf3d14fa932d261c45b9dcf70acfd40d67a98051b8061c37166d7f072c87b642d9b97db2d26c5edb67c1423f209fb56cd7be827014985209bfe37d00ae69d5ee
7
+ data.tar.gz: 68c3ea81cf24ba5e2f65c0d00751c0501bbb070aef84eac77062fafcc2b97cafb9817082931513c489cdf65818105f210a9513290b66d93a2cb5a267b1c0a954
data/.circleci/config.yml CHANGED
@@ -1,241 +1,138 @@
1
1
  version: 2
2
2
 
3
- jobs:
4
- ruby_2_5_0:
3
+ ruby_versions:
4
+ - &ruby-2-6
5
+ working_directory: ~/devise_materialize
5
6
  docker:
6
- - image: circleci/ruby:2.5.0
7
+ - image: circleci/ruby:2.6.3
7
8
  environment:
8
9
  BUNDLE_JOBS: 3
9
10
  BUNDLE_RETRY: 3
10
- BUNDLE_PATH: vendor/bundle
11
11
  RAILS_ENV: test
12
12
 
13
+ - &ruby-2-5
13
14
  working_directory: ~/devise_materialize
14
-
15
- steps:
16
- - checkout
17
-
18
- # Download and cache dependencies
19
- - restore_cache:
20
- keys:
21
- - rails-bundle-v1-{{ checksum "Gemfile" }}
22
- - rails-bundle-v1-
23
-
24
- - run:
25
- name: Bundle Install
26
- command: bundle check || bundle install
27
-
28
- - save_cache:
29
- key: rails-bundle-v1-{{ checksum "Gemfile" }}
30
- paths:
31
- - vendor/bundle
32
-
33
- # run tests!
34
- - run:
35
- name: Run Tests
36
- command: bundle exec rake test
37
- when: always
38
-
39
- # collect reports
40
- - store_artifacts:
41
- path: coverage
42
- destination: coverage
43
-
44
- - store_test_results:
45
- path: test/reports
46
-
47
- ruby_2_4_3:
48
15
  docker:
49
- - image: circleci/ruby:2.4.3
16
+ - image: circleci/ruby:2.5.5
50
17
  environment:
51
18
  BUNDLE_JOBS: 3
52
19
  BUNDLE_RETRY: 3
53
- BUNDLE_PATH: vendor/bundle
54
20
  RAILS_ENV: test
55
21
 
22
+ - &ruby-2-4
56
23
  working_directory: ~/devise_materialize
57
-
58
- steps:
59
- - checkout
60
-
61
- # Download and cache dependencies
62
- - restore_cache:
63
- keys:
64
- - rails-bundle-v1-{{ checksum "Gemfile" }}
65
- - rails-bundle-v1-
66
-
67
- - run:
68
- name: Bundle Install
69
- command: bundle check || bundle install
70
-
71
- - save_cache:
72
- key: rails-bundle-v1-{{ checksum "Gemfile" }}
73
- paths:
74
- - vendor/bundle
75
-
76
- # run tests!
77
- - run:
78
- name: Run Tests
79
- command: bundle exec rake test
80
- when: always
81
-
82
- # collect reports
83
- - store_artifacts:
84
- path: coverage
85
- destination: coverage
86
-
87
- - store_test_results:
88
- path: test/reports
89
-
90
- ruby_2_3_6:
91
24
  docker:
92
- - image: circleci/ruby:2.3.6
25
+ - image: circleci/ruby:2.4.6
93
26
  environment:
94
27
  BUNDLE_JOBS: 3
95
28
  BUNDLE_RETRY: 3
96
- BUNDLE_PATH: vendor/bundle
97
29
  RAILS_ENV: test
98
30
 
31
+ - &ruby-2-3
99
32
  working_directory: ~/devise_materialize
100
-
101
- steps:
102
- - checkout
103
-
104
- # Download and cache dependencies
105
- - restore_cache:
106
- keys:
107
- - rails-bundle-v1-{{ checksum "Gemfile" }}
108
- - rails-bundle-v1-
109
-
110
- - run:
111
- name: Bundle Install
112
- command: bundle check || bundle install
113
-
114
- - save_cache:
115
- key: rails-bundle-v1-{{ checksum "Gemfile" }}
116
- paths:
117
- - vendor/bundle
118
-
119
- # run tests!
120
- - run:
121
- name: Run Tests
122
- command: bundle exec rake test
123
- when: always
124
-
125
- # collect reports
126
- - store_artifacts:
127
- path: coverage
128
- destination: coverage
129
-
130
- - store_test_results:
131
- path: test/reports
132
-
133
- ruby_2_2_9:
134
33
  docker:
135
- - image: circleci/ruby:2.2.9
34
+ - image: circleci/ruby:2.3.7
136
35
  environment:
137
36
  BUNDLE_JOBS: 3
138
37
  BUNDLE_RETRY: 3
139
- BUNDLE_PATH: vendor/bundle
140
38
  RAILS_ENV: test
141
39
 
142
- working_directory: ~/devise_materialize
40
+ build_steps:
41
+ - &bundle_install
42
+ run:
43
+ name: Bundle Install
44
+ command: bundle check || bundle install
45
+
46
+ - &setup_code_climate
47
+ run:
48
+ name: Setup Code Climate test-reporter
49
+ command: |
50
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
51
+ chmod +x ./cc-test-reporter
52
+
53
+ - &run_test_cc
54
+ run:
55
+ name: Run Tests
56
+ command: |
57
+ ./cc-test-reporter before-build
58
+ bundle exec rake test
59
+ ./cc-test-reporter after-build
60
+ when: always
61
+
62
+ - &run_test
63
+ run:
64
+ name: Run Tests
65
+ command: bundle exec rake test
66
+ when: always
67
+
68
+ - &store_coverage
69
+ # collect reports
70
+ store_artifacts:
71
+ path: coverage
72
+ destination: coverage
73
+
74
+ - &store_test_results
75
+ store_test_results:
76
+ path: test/reports
143
77
 
78
+ jobs:
79
+ test_ruby_2_6:
80
+ <<: *ruby-2-6
144
81
  steps:
145
82
  - checkout
83
+ - *bundle_install
84
+ - *run_test
85
+ - *store_coverage
86
+ - *store_test_results
146
87
 
147
- # Download and cache dependencies
148
- - restore_cache:
149
- keys:
150
- - rails-bundle-v1-{{ checksum "Gemfile" }}
151
- - rails-bundle-v1-
152
-
153
- - run:
154
- name: Bundle Install
155
- command: bundle check || bundle install
156
-
157
- - save_cache:
158
- key: rails-bundle-v1-{{ checksum "Gemfile" }}
159
- paths:
160
- - vendor/bundle
161
-
162
- # run tests!
163
- - run:
164
- name: Run Tests
165
- command: bundle exec rake test
166
- when: always
88
+ test_ruby_2_5:
89
+ <<: *ruby-2-5
90
+ steps:
91
+ - checkout
92
+ - *bundle_install
93
+ - *run_test
94
+ - *store_coverage
95
+ - *store_test_results
167
96
 
168
- # collect reports
169
- - store_artifacts:
170
- path: coverage
171
- destination: coverage
97
+ test_ruby_2_4:
98
+ <<: *ruby-2-4
99
+ steps:
100
+ - checkout
101
+ - *bundle_install
102
+ - *run_test
103
+ - *store_coverage
104
+ - *store_test_results
172
105
 
173
- - store_test_results:
174
- path: test/reports
106
+ test_ruby_2_3:
107
+ <<: *ruby-2-3
108
+ steps:
109
+ - checkout
110
+ - *bundle_install
111
+ - *run_test
112
+ - *store_coverage
113
+ - *store_test_results
175
114
 
176
115
  test:
177
- docker:
178
- - image: circleci/ruby:2.5.0
179
- environment:
180
- BUNDLE_JOBS: 3
181
- BUNDLE_RETRY: 3
182
- BUNDLE_PATH: vendor/bundle
183
- RAILS_ENV: test
184
-
185
- working_directory: ~/devise_materialize
186
-
116
+ <<: *ruby-2-6
187
117
  steps:
188
118
  - checkout
189
-
190
- # Download and cache dependencies
191
- - restore_cache:
192
- keys:
193
- - rails-bundle-v1-{{ checksum "Gemfile" }}
194
- - rails-bundle-v1-
195
-
196
- - run:
197
- name: Bundle Install
198
- command: bundle check || bundle install
199
-
200
- - save_cache:
201
- key: rails-bundle-v1-{{ checksum "Gemfile" }}
202
- paths:
203
- - vendor/bundle
204
-
205
- # run tests!
206
- - run:
207
- name: Setup Code Climate test-reporter
208
- command: |
209
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
210
- chmod +x ./cc-test-reporter
211
-
212
- - run:
213
- name: Run Tests
214
- command: |
215
- ./cc-test-reporter before-build
216
- bundle exec rake test
217
- ./cc-test-reporter after-build
218
- when: always
219
-
220
- # collect reports
221
- - store_artifacts:
222
- path: coverage
223
- destination: coverage
224
-
225
- - store_test_results:
226
- path: test/reports
119
+ - *bundle_install
120
+ - *setup_code_climate
121
+ - *run_test_cc
122
+ - *store_coverage
123
+ - *store_test_results
227
124
 
228
125
  workflows:
229
126
  version: 2
230
- ruby-versions-and-test:
127
+ build-and-test:
231
128
  jobs:
232
- - ruby_2_5_0
233
- - ruby_2_4_3
234
- - ruby_2_3_6
235
- - ruby_2_2_9
129
+ - test_ruby_2_6
130
+ - test_ruby_2_5
131
+ - test_ruby_2_4
132
+ - test_ruby_2_3
236
133
  - test:
237
134
  requires:
238
- - ruby_2_5_0
239
- - ruby_2_4_3
240
- - ruby_2_3_6
241
- - ruby_2_2_9
135
+ - test_ruby_2_6
136
+ - test_ruby_2_5
137
+ - test_ruby_2_4
138
+ - test_ruby_2_3
data/.codeclimate.json ADDED
@@ -0,0 +1,80 @@
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
+ "markdownlint": {
71
+ "enabled": true
72
+ }
73
+ },
74
+ "exclude_patterns": [
75
+ "**/public/",
76
+ "**/node_modules/",
77
+ "**/*.d.ts",
78
+ "**/test/rails_app"
79
+ ]
80
+ }
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug, new
6
+ assignees: chiefpansancolt
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+
16
+ 1. Go to '...'
17
+ 2. Click on '....'
18
+ 3. Scroll down to '....'
19
+ 4. See error
20
+
21
+ **Expected behavior**
22
+ A clear and concise description of what you expected to happen.
23
+
24
+ **Screenshots**
25
+ If applicable, add screenshots to help explain your problem.
26
+
27
+ **Desktop (please complete the following information):**
28
+
29
+ - OS: [e.g. iOS]
30
+ - Browser [e.g. chrome, safari]
31
+ - Version [e.g. 22]
32
+
33
+ **Additional context**
34
+ Add any other context about the problem here.