fli_video 0.1.0 → 0.1.2
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 +4 -4
- data/{scripts/03-get-technical-design-and-features.rb → .builders/generators/back/scripts/01-get-technical-design-and-feature-list.rb} +5 -0
- data/{scripts/02-get-features-and-components.rb → .builders/generators/back/scripts/02-get-feature-list-and-components.rb} +4 -0
- data/{scripts/01-get-structure.rb → .builders/generators/back/scripts/03-get-structure.rb} +23 -3
- data/.builders/generators/back/scripts/generated/application-structure.json +231 -0
- data/.builders/generators/back/scripts/generated/features-and-components.md +988 -0
- data/.builders/generators/back/scripts/generated/technical-design-and-features.md +424 -0
- data/.builders/klues/add_episode.klue +1 -1
- data/.builders/klues/create_project.klue +1 -1
- data/.builders/klues/move_to_trash.klue +8 -2
- data/.rubocop.yml +5 -1
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/docs/feature-list.md +1 -0
- data/docs/generated/application-structure.json +2 -6
- data/docs/generated/features-and-components.md +36 -30
- data/docs/generated/technical-design-and-features.md +25 -8
- data/docs/project-new.md +184 -0
- data/docs/technical-specifications.md +14 -1
- data/lib/fli_video/version.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- data/scripts/01-get-technical-design-and-feature-list.md +5 -0
- data/scripts/01-get-technical-design-and-feature-list.rb +39 -0
- data/scripts/02-get-feature-list-and-components.md +26 -0
- data/scripts/02-get-feature-list-and-components.rb +56 -0
- data/scripts/03-get-code-structure.md +33 -0
- data/scripts/03-get-code-structure.rb +73 -0
- metadata +15 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58114f31b0fe385b629d7d595590e0ffce196f588eb1f8586071d93b8578c399
|
4
|
+
data.tar.gz: 3f7433953639ada1b97906b560259f3f6e5c46278cf847831bf0557a9d6ece43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d12f8547f8962a445d9b3e0bd0956e1b7e2d4ceed511db440b7f629f108f29a157ba236a7812b1d26aac086e5f7d49acfda688443551ad2b2da76b6baf778340
|
7
|
+
data.tar.gz: bc166905a0f6412d3a2c4e6c3ec61ce75973a23490137b2d137ea33ddd2d8df85895a523bfec2b38bf66cffa6723f85fb347214364c17492e922a2994cf110e3
|
@@ -1,3 +1,25 @@
|
|
1
|
+
# Prompt:
|
2
|
+
Create a Ruby script to scan a project's directory, ignoring specific folders and files. For the remaining files,
|
3
|
+
especially *.rb, generate a JSON file with their structure and content. and write to docs/generated/application-structure.json
|
4
|
+
Store a copy of the data in the clipboard
|
5
|
+
|
6
|
+
Sample Structure
|
7
|
+
```json
|
8
|
+
[
|
9
|
+
{
|
10
|
+
"name": "bin",
|
11
|
+
"type": "directory",
|
12
|
+
"children": [
|
13
|
+
{
|
14
|
+
"name": "fli.rb",
|
15
|
+
"type": "file",
|
16
|
+
"content": "require 'fli_video'\n\nFliVideo::CLI.start(ARGV)\n"
|
17
|
+
}
|
18
|
+
]
|
19
|
+
}
|
20
|
+
]
|
21
|
+
```
|
22
|
+
|
1
23
|
require 'json'
|
2
24
|
|
3
25
|
def include_file_content?(file_name, include_content_for)
|
@@ -78,7 +100,5 @@ include_content_for = [
|
|
78
100
|
|
79
101
|
structure = list_dir('.', ignore_folders, ignore_files, include_content_for)
|
80
102
|
write_structure_to_file('docs/generated/application-structure.json', structure)
|
81
|
-
|
82
103
|
gpt_content = build_gpt_content(structure)
|
83
|
-
|
84
|
-
IO.popen('pbcopy', 'w') { |io| io.puts gpt_content }
|
104
|
+
copy_to_clipboard(gpt_content)
|
@@ -0,0 +1,231 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"name": ".rspec_status",
|
4
|
+
"type": "file"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"name": "spec",
|
8
|
+
"type": "directory",
|
9
|
+
"children": [
|
10
|
+
{
|
11
|
+
"name": "spec_helper.rb",
|
12
|
+
"type": "file",
|
13
|
+
"content": "# frozen_string_literal: true\n\nrequire 'pry'\nrequire 'bundler/setup'\nrequire 'simplecov'\n\nSimpleCov.start\n\nrequire 'fli_video'\n\nRSpec.configure do |config|\n # Enable flags like --only-failures and --next-failure\n config.example_status_persistence_file_path = '.rspec_status'\n config.filter_run_when_matching :focus\n\n # Disable RSpec exposing methods globally on `Module` and `main`\n config.disable_monkey_patching!\n\n config.expect_with :rspec do |c|\n c.syntax = :expect\n end\nend\n"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"name": "fli_video_spec.rb",
|
17
|
+
"type": "file",
|
18
|
+
"content": "# frozen_string_literal: true\n\nRSpec.describe FliVideo do\n it 'has a version number' do\n expect(FliVideo::VERSION).not_to be_nil\n end\nend\n"
|
19
|
+
}
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "README.md",
|
24
|
+
"type": "file"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"name": "lib",
|
28
|
+
"type": "directory",
|
29
|
+
"children": [
|
30
|
+
{
|
31
|
+
"name": "fli_video",
|
32
|
+
"type": "directory",
|
33
|
+
"children": [
|
34
|
+
{
|
35
|
+
"name": "cli.rb",
|
36
|
+
"type": "file",
|
37
|
+
"content": "# frozen_string_literal: true\n\nrequire_relative '../fli_video'\n\nmodule FliVideo\n # FliVideo::CLI is the command line interface for the FliVideo gem.\n class CLI\n def self.start(args)\n new(args).execute\n end\n\n def initialize(args)\n @args = args\n end\n\n def execute\n if @args.empty?\n puts 'FliVideo CLI - No command provided'\n return\n end\n\n case @args.first\n when 'version'\n puts \"FliVideo version #{FliVideo::VERSION}\"\n else\n puts \"Unknown command: #{@args.first}\"\n end\n end\n end\nend\n"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "version.rb",
|
41
|
+
"type": "file",
|
42
|
+
"content": "# frozen_string_literal: true\n\nmodule FliVideo\n VERSION = '0.1.0'\nend\n"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"name": "fli_video.rb",
|
48
|
+
"type": "file",
|
49
|
+
"content": "# frozen_string_literal: true\n\nrequire_relative 'fli_video/version'\n\nmodule FliVideo\n class Error < StandardError; end\n # Your code goes here...\nend\n"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"name": "Gemfile",
|
55
|
+
"type": "file"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "coverage",
|
59
|
+
"type": "directory",
|
60
|
+
"children": [
|
61
|
+
{
|
62
|
+
"name": "index.html",
|
63
|
+
"type": "file"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": ".last_run.json",
|
67
|
+
"type": "file"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": ".resultset.json",
|
71
|
+
"type": "file"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"name": "assets",
|
75
|
+
"type": "directory",
|
76
|
+
"children": [
|
77
|
+
{
|
78
|
+
"name": "0.12.3",
|
79
|
+
"type": "directory",
|
80
|
+
"children": [
|
81
|
+
{
|
82
|
+
"name": "images",
|
83
|
+
"type": "directory",
|
84
|
+
"children": [
|
85
|
+
{
|
86
|
+
"name": "ui-icons_cd0a0a_256x240.png",
|
87
|
+
"type": "file"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"name": "ui-icons_888888_256x240.png",
|
91
|
+
"type": "file"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"name": "ui-bg_glass_75_dadada_1x400.png",
|
95
|
+
"type": "file"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"name": "ui-icons_2e83ff_256x240.png",
|
99
|
+
"type": "file"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"name": "ui-bg_flat_75_ffffff_40x100.png",
|
103
|
+
"type": "file"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"name": "ui-bg_glass_75_e6e6e6_1x400.png",
|
107
|
+
"type": "file"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"name": "ui-bg_glass_65_ffffff_1x400.png",
|
111
|
+
"type": "file"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"name": "ui-bg_glass_95_fef1ec_1x400.png",
|
115
|
+
"type": "file"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"name": "ui-icons_222222_256x240.png",
|
119
|
+
"type": "file"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"name": "ui-bg_highlight-soft_75_cccccc_1x100.png",
|
123
|
+
"type": "file"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"name": "ui-bg_glass_55_fbf9ee_1x400.png",
|
127
|
+
"type": "file"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"name": "ui-icons_454545_256x240.png",
|
131
|
+
"type": "file"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"name": "ui-bg_flat_0_aaaaaa_40x100.png",
|
135
|
+
"type": "file"
|
136
|
+
}
|
137
|
+
]
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"name": "application.css",
|
141
|
+
"type": "file"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"name": "loading.gif",
|
145
|
+
"type": "file"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"name": "colorbox",
|
149
|
+
"type": "directory",
|
150
|
+
"children": [
|
151
|
+
{
|
152
|
+
"name": "border.png",
|
153
|
+
"type": "file"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"name": "loading.gif",
|
157
|
+
"type": "file"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"name": "controls.png",
|
161
|
+
"type": "file"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"name": "loading_background.png",
|
165
|
+
"type": "file"
|
166
|
+
}
|
167
|
+
]
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"name": "favicon_red.png",
|
171
|
+
"type": "file"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"name": "favicon_green.png",
|
175
|
+
"type": "file"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"name": "favicon_yellow.png",
|
179
|
+
"type": "file"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"name": "DataTables-1.10.20",
|
183
|
+
"type": "directory",
|
184
|
+
"children": [
|
185
|
+
{
|
186
|
+
"name": "images",
|
187
|
+
"type": "directory",
|
188
|
+
"children": [
|
189
|
+
{
|
190
|
+
"name": "sort_asc_disabled.png",
|
191
|
+
"type": "file"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"name": "sort_both.png",
|
195
|
+
"type": "file"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "sort_desc_disabled.png",
|
199
|
+
"type": "file"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"name": "sort_desc.png",
|
203
|
+
"type": "file"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "sort_asc.png",
|
207
|
+
"type": "file"
|
208
|
+
}
|
209
|
+
]
|
210
|
+
}
|
211
|
+
]
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"name": "magnify.png",
|
215
|
+
"type": "file"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"name": "application.js",
|
219
|
+
"type": "file"
|
220
|
+
}
|
221
|
+
]
|
222
|
+
}
|
223
|
+
]
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"name": ".resultset.json.lock",
|
227
|
+
"type": "file"
|
228
|
+
}
|
229
|
+
]
|
230
|
+
}
|
231
|
+
]
|