check_list 1.0.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 +7 -0
- data/CHANGELOG.md +4 -0
- data/README.md +48 -0
- data/bin/check-list +6 -0
- data/lib/build/asset-manifest.json +15 -0
- data/lib/build/cross.ico +0 -0
- data/lib/build/data.json +254 -0
- data/lib/build/favicon.ico +0 -0
- data/lib/build/index.html +1 -0
- data/lib/build/list.ico +0 -0
- data/lib/build/manifest.json +25 -0
- data/lib/build/robots.txt +3 -0
- data/lib/build/static/css/main.f784b531.css +9 -0
- data/lib/build/static/css/main.f784b531.css.map +1 -0
- data/lib/build/static/js/787.46b4d4fc.chunk.js +2 -0
- data/lib/build/static/js/787.46b4d4fc.chunk.js.map +1 -0
- data/lib/build/static/js/main.8c659df8.js +3 -0
- data/lib/build/static/js/main.8c659df8.js.LICENSE.txt +47 -0
- data/lib/build/static/js/main.8c659df8.js.map +1 -0
- data/lib/build/static/js/main.8f3bcf6c.js +3 -0
- data/lib/build/static/js/main.8f3bcf6c.js.LICENSE.txt +47 -0
- data/lib/build/static/js/main.8f3bcf6c.js.map +1 -0
- data/lib/build/static/js/main.ba318bd4.js +3 -0
- data/lib/build/static/js/main.ba318bd4.js.LICENSE.txt +47 -0
- data/lib/build/static/js/main.ba318bd4.js.map +1 -0
- data/lib/build/static/js/main.cc14af32.js +3 -0
- data/lib/build/static/js/main.cc14af32.js.LICENSE.txt +45 -0
- data/lib/build/static/js/main.cc14af32.js.map +1 -0
- data/lib/build/tick.ico +0 -0
- data/lib/check_list.rb +87 -0
- data/lib/checklist.json +137 -0
- data/lib/config.rb +43 -0
- data/lib/display_results.rb +50 -0
- data/lib/exceptions.rb +27 -0
- data/lib/handle_file.rb +35 -0
- data/lib/helpers.rb +79 -0
- data/lib/list.rb +21 -0
- data/lib/menu.rb +107 -0
- data/lib/results.rb +126 -0
- data/lib/results_publisher.rb +53 -0
- data/lib/symbolize.rb +39 -0
- data/lib/update.rb +156 -0
- data/lib/validations.rb +31 -0
- data/lib/view.rb +19 -0
- metadata +86 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 19348ae1ce7d1713339f7bbc8da6d607d44bbd648717ecdb1d3b2b84e4a5e35f
|
4
|
+
data.tar.gz: 8aef51bf18d017923c88b6f0a6fe20cd051a0ad0ddd5ac706016689ae63afe90
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2ce80c3722c9409a6390d7eebde32d767e6d9af757363c54ae2b468581c182eee9a6a8f3722a05c3c16941b3157cd1eca1af0709b4ae568862d4545e64da77f3
|
7
|
+
data.tar.gz: 35b0c72ec9f51d26633aab327298f50c82647ed05bde73b02ee6d4ae33ea39181e2d407aa0c9dec0e235e4c5b482d837a6bfb96268dfb7e7801ad817f1433a97
|
data/CHANGELOG.md
ADDED
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# check-list
|
2
|
+
|
3
|
+
Command line library for rspec
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
`gem install check_list`
|
7
|
+
|
8
|
+
## Usage
|
9
|
+
|
10
|
+
### Commands
|
11
|
+
`spec-ref-lib`
|
12
|
+
Displays a menu and asks for an input.
|
13
|
+
1. matchers
|
14
|
+
2. doubles
|
15
|
+
3. subject
|
16
|
+
4. other
|
17
|
+
|
18
|
+
`spec-ref-lib -m <keyword>``` or ```spec-ref-lib --method <keyword>`
|
19
|
+
If a keyword is matched the example is shown
|
20
|
+
|
21
|
+
After an example is displayed pressing return will restart the menu.
|
22
|
+
At any time typing 'q' will exit the tool.
|
23
|
+
|
24
|
+
### Custom Setup
|
25
|
+
The tool will use the default json config from the github repo.
|
26
|
+
|
27
|
+
To force the tool to use a custom json file create an environment variable (SPEC_REF_LIB) with the absolute path to the loaction of your custom json file.
|
28
|
+
`export SPEC_REF_LIB=/Users/mycompname/somefile/myCustomJsonSpecLibFile.json`
|
29
|
+
|
30
|
+
### Json Structure
|
31
|
+
|
32
|
+
```
|
33
|
+
{
|
34
|
+
"categories": [
|
35
|
+
{
|
36
|
+
"name": "GROUP NAME",
|
37
|
+
"categories": [
|
38
|
+
{
|
39
|
+
"name":"METHOD NAME",
|
40
|
+
"example": "STRING VERSION OF EXAMPLE TO BE SHOWN"
|
41
|
+
"keywords": ["KEYWORD STRING","KEYWORD STRING"]
|
42
|
+
}
|
43
|
+
]
|
44
|
+
}
|
45
|
+
]
|
46
|
+
}
|
47
|
+
```
|
48
|
+
|
data/bin/check-list
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"files": {
|
3
|
+
"main.css": "./static/css/main.f784b531.css",
|
4
|
+
"main.js": "./static/js/main.8f3bcf6c.js",
|
5
|
+
"static/js/787.46b4d4fc.chunk.js": "./static/js/787.46b4d4fc.chunk.js",
|
6
|
+
"index.html": "./index.html",
|
7
|
+
"main.f784b531.css.map": "./static/css/main.f784b531.css.map",
|
8
|
+
"main.8f3bcf6c.js.map": "./static/js/main.8f3bcf6c.js.map",
|
9
|
+
"787.46b4d4fc.chunk.js.map": "./static/js/787.46b4d4fc.chunk.js.map"
|
10
|
+
},
|
11
|
+
"entrypoints": [
|
12
|
+
"static/css/main.f784b531.css",
|
13
|
+
"static/js/main.8f3bcf6c.js"
|
14
|
+
]
|
15
|
+
}
|
data/lib/build/cross.ico
ADDED
Binary file
|
data/lib/build/data.json
ADDED
@@ -0,0 +1,254 @@
|
|
1
|
+
{
|
2
|
+
"results": [
|
3
|
+
{
|
4
|
+
"name": "Development",
|
5
|
+
"ref": "main",
|
6
|
+
"tasks": [
|
7
|
+
{
|
8
|
+
"name": "read requirements",
|
9
|
+
"status": "na",
|
10
|
+
"time": "2022-11-29 00:12",
|
11
|
+
"subTasks": [
|
12
|
+
{
|
13
|
+
"name": "Are they reasonable?",
|
14
|
+
"status": "y",
|
15
|
+
"time": "2022-11-29 00:12"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Can they be met?",
|
19
|
+
"status": "na",
|
20
|
+
"time": "2022-11-29 00:12"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "Prep Environment",
|
26
|
+
"status": "n",
|
27
|
+
"time": "2022-11-29 00:12",
|
28
|
+
"subTasks": [
|
29
|
+
{
|
30
|
+
"name": "Do you have all the credentials?",
|
31
|
+
"status": "y",
|
32
|
+
"time": "2022-11-29 00:12"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "Can you run the current version end-to-end?",
|
36
|
+
"status": "n",
|
37
|
+
"time": "2022-11-29 00:12"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "Does the debugger work?",
|
41
|
+
"status": "y",
|
42
|
+
"time": "2022-11-29 00:12"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"name": "Start Development",
|
48
|
+
"status": "y",
|
49
|
+
"time": "2022-11-29 00:12",
|
50
|
+
"subTasks": [
|
51
|
+
{
|
52
|
+
"name": "Write Code",
|
53
|
+
"status": "y",
|
54
|
+
"time": "2022-11-29 00:12"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "Write Specs",
|
58
|
+
"status": "y",
|
59
|
+
"time": "2022-11-29 00:12"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"name": "Update documentation",
|
63
|
+
"status": "y",
|
64
|
+
"time": "2022-11-29 00:12"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"name": "Prepare code for testing",
|
68
|
+
"status": "y",
|
69
|
+
"time": "2022-11-29 00:12"
|
70
|
+
}
|
71
|
+
]
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"name": "Run Specs",
|
75
|
+
"status": "y",
|
76
|
+
"time": "2022-11-29 00:12",
|
77
|
+
"subTasks": [
|
78
|
+
{
|
79
|
+
"name": "Does linting pass?",
|
80
|
+
"status": "y",
|
81
|
+
"time": "2022-11-29 00:12"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "Do specs pass?",
|
85
|
+
"status": "y",
|
86
|
+
"time": "2022-11-29 00:12"
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
]
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"name": "Development",
|
94
|
+
"ref": "CA-123456",
|
95
|
+
"tasks": [
|
96
|
+
{
|
97
|
+
"name": "read requirements",
|
98
|
+
"status": "y",
|
99
|
+
"time": "2022-11-29 00:12",
|
100
|
+
"subTasks": [
|
101
|
+
{
|
102
|
+
"name": "Are they reasonable?",
|
103
|
+
"status": "y",
|
104
|
+
"time": "2022-11-29 00:12"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"name": "Can they be met?",
|
108
|
+
"status": "y",
|
109
|
+
"time": "2022-11-29 00:12"
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"name": "Prep Environment",
|
115
|
+
"status": "y",
|
116
|
+
"time": "2022-11-29 00:12",
|
117
|
+
"subTasks": [
|
118
|
+
{
|
119
|
+
"name": "Do you have all the credentials?",
|
120
|
+
"status": "y",
|
121
|
+
"time": "2022-11-29 00:12"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"name": "Can you run the current version end-to-end?",
|
125
|
+
"status": "y",
|
126
|
+
"time": "2022-11-29 00:12"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "Does the debugger work?",
|
130
|
+
"status": "y",
|
131
|
+
"time": "2022-11-29 00:12"
|
132
|
+
}
|
133
|
+
]
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"name": "Start Development",
|
137
|
+
"status": "y",
|
138
|
+
"time": "2022-11-29 00:12",
|
139
|
+
"subTasks": [
|
140
|
+
{
|
141
|
+
"name": "Write Code",
|
142
|
+
"status": "y",
|
143
|
+
"time": "2022-11-29 00:12"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"name": "Write Specs",
|
147
|
+
"status": "y",
|
148
|
+
"time": "2022-11-29 00:12"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"name": "Update documentation",
|
152
|
+
"status": "y",
|
153
|
+
"time": "2022-11-29 00:12"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"name": "Prepare code for testing",
|
157
|
+
"status": "y",
|
158
|
+
"time": "2022-11-29 00:12"
|
159
|
+
}
|
160
|
+
]
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"name": "Run Specs",
|
164
|
+
"status": "y",
|
165
|
+
"time": "2022-11-29 00:12",
|
166
|
+
"subTasks": [
|
167
|
+
{
|
168
|
+
"name": "Does linting pass?",
|
169
|
+
"status": "y",
|
170
|
+
"time": "2022-11-29 00:12"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"name": "Do specs pass?",
|
174
|
+
"status": "y",
|
175
|
+
"time": "2022-11-29 00:12"
|
176
|
+
}
|
177
|
+
]
|
178
|
+
}
|
179
|
+
]
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"name": "Code Review",
|
183
|
+
"ref": "CA-123456",
|
184
|
+
"tasks": [
|
185
|
+
{
|
186
|
+
"name": "read requirements",
|
187
|
+
"status": "y",
|
188
|
+
"time": "2022-11-29 00:12",
|
189
|
+
"subTasks": [
|
190
|
+
{
|
191
|
+
"name": "Are they reasonable?",
|
192
|
+
"status": "y",
|
193
|
+
"time": "2022-11-29 00:12"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"name": "Can they be met?",
|
197
|
+
"status": "y",
|
198
|
+
"time": "2022-11-29 00:12"
|
199
|
+
}
|
200
|
+
]
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"name": "Prep Environment",
|
204
|
+
"status": "y",
|
205
|
+
"time": "2022-11-29 00:12",
|
206
|
+
"subTasks": [
|
207
|
+
{
|
208
|
+
"name": "Do you have all the credentials?",
|
209
|
+
"status": "y",
|
210
|
+
"time": "2022-11-29 00:12"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"name": "Can you run the current version end-to-end?",
|
214
|
+
"status": "y",
|
215
|
+
"time": "2022-11-29 00:12"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"name": "Does the debugger work?",
|
219
|
+
"status": "y",
|
220
|
+
"time": "2022-11-29 00:12"
|
221
|
+
}
|
222
|
+
]
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"name": "Start Development",
|
226
|
+
"status": "y",
|
227
|
+
"time": "2022-11-29 00:12",
|
228
|
+
"subTasks": [
|
229
|
+
{
|
230
|
+
"name": "Write Code",
|
231
|
+
"status": "y",
|
232
|
+
"time": "2022-11-29 00:12"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"name": "Write Specs",
|
236
|
+
"status": "y",
|
237
|
+
"time": "2022-11-29 00:12"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"name": "Update documentation",
|
241
|
+
"status": "y",
|
242
|
+
"time": "2022-11-29 00:12"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"name": "Prepare code for testing",
|
246
|
+
"status": "y",
|
247
|
+
"time": "2022-11-29 00:12"
|
248
|
+
}
|
249
|
+
]
|
250
|
+
}
|
251
|
+
]
|
252
|
+
}
|
253
|
+
]
|
254
|
+
}
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="./manifest.json" crossorigin="use-credentials"/><link href="https://fonts.googleapis.com/css2?family=Comforter&family=Montserrat&family=Roboto:wght@300;400;500;700;900&family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><title>React App</title><script defer="defer" src="./static/js/main.8f3bcf6c.js"></script><link href="./static/css/main.f784b531.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
data/lib/build/list.ico
ADDED
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"short_name": "React App",
|
3
|
+
"name": "Create React App Sample",
|
4
|
+
"icons": [
|
5
|
+
{
|
6
|
+
"src": "favicon.ico",
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
8
|
+
"type": "image/x-icon"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "logo192.png",
|
12
|
+
"type": "image/png",
|
13
|
+
"sizes": "192x192"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"src": "logo512.png",
|
17
|
+
"type": "image/png",
|
18
|
+
"sizes": "512x512"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"start_url": ".",
|
22
|
+
"display": "standalone",
|
23
|
+
"theme_color": "#000000",
|
24
|
+
"background_color": "#ffffff"
|
25
|
+
}
|