pretty_irb 0.1.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/00-MANIFEST.md +356 -0
- data/ADVANCED_FEATURES.md +440 -0
- data/AI_HELP.md +408 -0
- data/AI_QUICK_START.md +247 -0
- data/COMPLETE.md +421 -0
- data/EXAMPLES.md +206 -0
- data/FEATURE_SHOWCASE.md +441 -0
- data/FILE_STRUCTURE.md +231 -0
- data/Gemfile +3 -0
- data/IMPLEMENTATION_COMPLETE.md +309 -0
- data/INDEX.md +708 -0
- data/INSTALL.md +250 -0
- data/LICENSE.txt +21 -0
- data/PUBLISH_TO_RUBYGEMS.md +466 -0
- data/QUICKSTART.md +70 -0
- data/QUICK_REFERENCE.md +253 -0
- data/README.md +251 -0
- data/Rakefile +6 -0
- data/SETUP.md +209 -0
- data/START_HERE.md +462 -0
- data/SUMMARY.md +372 -0
- data/WELCOME.md +300 -0
- data/WHAT_IS_NEW.md +324 -0
- data/exe/irb1 +6 -0
- data/exe/pretty_irb +6 -0
- data/lib/pretty_irb/ai_helper.rb +842 -0
- data/lib/pretty_irb/auto_corrector.rb +76 -0
- data/lib/pretty_irb/benchmarker.rb +94 -0
- data/lib/pretty_irb/cheat_sheet.rb +476 -0
- data/lib/pretty_irb/formatter.rb +66 -0
- data/lib/pretty_irb/history_manager.rb +97 -0
- data/lib/pretty_irb/shell.rb +387 -0
- data/lib/pretty_irb/snippet_manager.rb +119 -0
- data/lib/pretty_irb/variable_inspector.rb +146 -0
- data/lib/pretty_irb/version.rb +3 -0
- data/lib/pretty_irb.rb +26 -0
- metadata +200 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a6b381b51850f3f2f4c1ceb2410983d9931006e08a6d700abd832ff43ad0635c
|
|
4
|
+
data.tar.gz: 733499a409ef08cfb0606278439b432e72ff7e1e8ec04392ea40ca63c019133d
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d8011d61e6df473ee02b9f1f5104663e397a4d64d7129bbd4af2c37b9a9c54a7f525c42740a278e16379b93aa4bafb89e909128d0f00b0115abe0cd7206d9207
|
|
7
|
+
data.tar.gz: 5132dd781c877e7e83fb114e39a1f1a853cc84764b2c482e1b8ab09e7c8ae808cfbb7f559a119f24f3e1902a2d53cd7967b791fa617ab7e240b8d48b42fa4633
|
data/00-MANIFEST.md
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
# Pretty IRB - Complete File Manifest
|
|
2
|
+
|
|
3
|
+
## Project Root: `c:\Users\Jayesh\Music\ROR\pretty_irb`
|
|
4
|
+
|
|
5
|
+
### 📋 File Manifest (26 files total)
|
|
6
|
+
|
|
7
|
+
#### Documentation (9 files)
|
|
8
|
+
- `START_HERE.md` - Main entry point with complete overview
|
|
9
|
+
- `INDEX.md` - Documentation navigation guide
|
|
10
|
+
- `README.md` - Main project documentation
|
|
11
|
+
- `QUICKSTART.md` - 3-step quick start
|
|
12
|
+
- `SETUP.md` - Detailed setup guide
|
|
13
|
+
- `INSTALL.md` - Installation & deployment
|
|
14
|
+
- `EXAMPLES.md` - 50+ code examples
|
|
15
|
+
- `SUMMARY.md` - Project summary
|
|
16
|
+
- `FILE_STRUCTURE.md` - File organization
|
|
17
|
+
|
|
18
|
+
#### Source Code (5 files)
|
|
19
|
+
- `lib/pretty_irb.rb` - Main gem module
|
|
20
|
+
- `lib/pretty_irb/version.rb` - Version constant
|
|
21
|
+
- `lib/pretty_irb/formatter.rb` - Syntax highlighting & formatting
|
|
22
|
+
- `lib/pretty_irb/auto_corrector.rb` - Auto-correct functionality
|
|
23
|
+
- `lib/pretty_irb/shell.rb` - Main REPL shell
|
|
24
|
+
|
|
25
|
+
#### Executables (2 files)
|
|
26
|
+
- `bin/console` - Development console
|
|
27
|
+
- `exe/pretty_irb` - Gem executable
|
|
28
|
+
|
|
29
|
+
#### Tests (4 files)
|
|
30
|
+
- `spec/spec_helper.rb` - RSpec configuration
|
|
31
|
+
- `spec/pretty_irb_spec.rb` - Main tests
|
|
32
|
+
- `spec/formatter_spec.rb` - Formatter tests
|
|
33
|
+
- `spec/auto_corrector_spec.rb` - Corrector tests
|
|
34
|
+
|
|
35
|
+
#### Configuration (5 files)
|
|
36
|
+
- `pretty_irb.gemspec` - Gem specification
|
|
37
|
+
- `Gemfile` - Dependencies
|
|
38
|
+
- `Rakefile` - Build tasks
|
|
39
|
+
- `LICENSE.txt` - MIT License
|
|
40
|
+
- `.gitignore` - Git ignore patterns
|
|
41
|
+
- `.ruby-version` - Ruby version
|
|
42
|
+
|
|
43
|
+
#### Bonus (1 file)
|
|
44
|
+
- `PROJECT_OVERVIEW.ps1` - PowerShell overview
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 📊 File Statistics
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Total Files: 26
|
|
52
|
+
Documentation: 9 files (35%)
|
|
53
|
+
Source Code: 5 files (19%)
|
|
54
|
+
Tests: 4 files (15%)
|
|
55
|
+
Executables: 2 files (8%)
|
|
56
|
+
Configuration: 5 files (19%)
|
|
57
|
+
Bonus/Meta: 1 file (4%)
|
|
58
|
+
|
|
59
|
+
Total Code: ~400 lines
|
|
60
|
+
Total Tests: ~100 lines
|
|
61
|
+
Total Documentation: ~8000+ words
|
|
62
|
+
Total Examples: 50+ code samples
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## 🎯 Navigation by Use Case
|
|
68
|
+
|
|
69
|
+
### I Want to...
|
|
70
|
+
|
|
71
|
+
#### ...Get Started Quickly
|
|
72
|
+
1. **START_HERE.md** (this answers everything!)
|
|
73
|
+
2. **QUICKSTART.md** (3 steps to run)
|
|
74
|
+
3. Run: `ruby bin/console`
|
|
75
|
+
|
|
76
|
+
#### ...Understand the Project
|
|
77
|
+
1. **README.md** (main documentation)
|
|
78
|
+
2. **SUMMARY.md** (project overview)
|
|
79
|
+
3. **FILE_STRUCTURE.md** (file layout)
|
|
80
|
+
|
|
81
|
+
#### ...Learn How to Use It
|
|
82
|
+
1. **EXAMPLES.md** (50+ examples)
|
|
83
|
+
2. **README.md** (feature docs)
|
|
84
|
+
3. Try it: `ruby bin/console`
|
|
85
|
+
|
|
86
|
+
#### ...Understand the Code
|
|
87
|
+
1. **FILE_STRUCTURE.md** (file layout)
|
|
88
|
+
2. **lib/pretty_irb/** (read source code)
|
|
89
|
+
3. **spec/** (read tests)
|
|
90
|
+
|
|
91
|
+
#### ...Set Up for Development
|
|
92
|
+
1. **SETUP.md** (development setup)
|
|
93
|
+
2. Follow installation steps
|
|
94
|
+
3. Run: `bundle exec rspec`
|
|
95
|
+
|
|
96
|
+
#### ...Build & Deploy
|
|
97
|
+
1. **INSTALL.md** (build steps)
|
|
98
|
+
2. Follow build instructions
|
|
99
|
+
3. Deploy or publish
|
|
100
|
+
|
|
101
|
+
#### ...Navigate Everything
|
|
102
|
+
1. **INDEX.md** (documentation map)
|
|
103
|
+
2. Choose your path
|
|
104
|
+
3. Read relevant docs
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 📂 Directory Structure
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
pretty_irb/
|
|
112
|
+
├── 📁 lib/
|
|
113
|
+
│ ├── pretty_irb.rb
|
|
114
|
+
│ └── 📁 pretty_irb/
|
|
115
|
+
│ ├── version.rb
|
|
116
|
+
│ ├── formatter.rb
|
|
117
|
+
│ ├── auto_corrector.rb
|
|
118
|
+
│ └── shell.rb
|
|
119
|
+
│
|
|
120
|
+
├── 📁 bin/
|
|
121
|
+
│ └── console
|
|
122
|
+
│
|
|
123
|
+
├── 📁 exe/
|
|
124
|
+
│ └── pretty_irb
|
|
125
|
+
│
|
|
126
|
+
├── 📁 spec/
|
|
127
|
+
│ ├── spec_helper.rb
|
|
128
|
+
│ ├── pretty_irb_spec.rb
|
|
129
|
+
│ ├── formatter_spec.rb
|
|
130
|
+
│ └── auto_corrector_spec.rb
|
|
131
|
+
│
|
|
132
|
+
├── 📁 docs/ (documentation files in root)
|
|
133
|
+
│ ├── START_HERE.md
|
|
134
|
+
│ ├── INDEX.md
|
|
135
|
+
│ ├── README.md
|
|
136
|
+
│ ├── QUICKSTART.md
|
|
137
|
+
│ ├── SETUP.md
|
|
138
|
+
│ ├── INSTALL.md
|
|
139
|
+
│ ├── EXAMPLES.md
|
|
140
|
+
│ ├── SUMMARY.md
|
|
141
|
+
│ ├── FILE_STRUCTURE.md
|
|
142
|
+
│ └── (manifest: this file)
|
|
143
|
+
│
|
|
144
|
+
├── 📁 config/
|
|
145
|
+
│ ├── pretty_irb.gemspec
|
|
146
|
+
│ ├── Gemfile
|
|
147
|
+
│ ├── Rakefile
|
|
148
|
+
│ ├── LICENSE.txt
|
|
149
|
+
│ ├── .gitignore
|
|
150
|
+
│ ├── .ruby-version
|
|
151
|
+
│ └── PROJECT_OVERVIEW.ps1
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 🚀 Quick Command Reference
|
|
157
|
+
|
|
158
|
+
```powershell
|
|
159
|
+
# Get started
|
|
160
|
+
cd c:\Users\Jayesh\Music\ROR\pretty_irb
|
|
161
|
+
bundle install
|
|
162
|
+
ruby bin/console
|
|
163
|
+
|
|
164
|
+
# Run tests
|
|
165
|
+
bundle exec rspec
|
|
166
|
+
|
|
167
|
+
# Build gem
|
|
168
|
+
gem build pretty_irb.gemspec
|
|
169
|
+
|
|
170
|
+
# Install gem
|
|
171
|
+
gem install pretty_irb-0.1.0.gem
|
|
172
|
+
|
|
173
|
+
# Use gem
|
|
174
|
+
pretty_irb
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## 📚 Read in This Order
|
|
180
|
+
|
|
181
|
+
### For New Users
|
|
182
|
+
1. **START_HERE.md** (complete overview)
|
|
183
|
+
2. **QUICKSTART.md** (3 steps)
|
|
184
|
+
3. **EXAMPLES.md** (see code)
|
|
185
|
+
4. Use it! `ruby bin/console`
|
|
186
|
+
|
|
187
|
+
### For Developers
|
|
188
|
+
1. **FILE_STRUCTURE.md** (file layout)
|
|
189
|
+
2. **SETUP.md** (development setup)
|
|
190
|
+
3. **lib/pretty_irb/** (read code)
|
|
191
|
+
4. **spec/** (read tests)
|
|
192
|
+
|
|
193
|
+
### For Deployment
|
|
194
|
+
1. **INSTALL.md** (build/deploy)
|
|
195
|
+
2. Follow the steps
|
|
196
|
+
3. Build/publish/distribute
|
|
197
|
+
|
|
198
|
+
### For Reference
|
|
199
|
+
1. **INDEX.md** (documentation map)
|
|
200
|
+
2. **SUMMARY.md** (full overview)
|
|
201
|
+
3. **README.md** (main docs)
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## ✨ Key Files Explained
|
|
206
|
+
|
|
207
|
+
### **START_HERE.md** (Read First!)
|
|
208
|
+
Complete overview with:
|
|
209
|
+
- What you've got
|
|
210
|
+
- Getting started (3 steps)
|
|
211
|
+
- Features explained
|
|
212
|
+
- Testing guide
|
|
213
|
+
- Documentation guide
|
|
214
|
+
- Next steps
|
|
215
|
+
- Troubleshooting
|
|
216
|
+
|
|
217
|
+
### **QUICKSTART.md**
|
|
218
|
+
Get running in 3 steps:
|
|
219
|
+
1. Install dependencies
|
|
220
|
+
2. Run the shell
|
|
221
|
+
3. Start using it
|
|
222
|
+
|
|
223
|
+
### **README.md**
|
|
224
|
+
Main documentation:
|
|
225
|
+
- Feature overview
|
|
226
|
+
- Installation
|
|
227
|
+
- Usage examples
|
|
228
|
+
- Commands reference
|
|
229
|
+
|
|
230
|
+
### **EXAMPLES.md**
|
|
231
|
+
50+ code examples:
|
|
232
|
+
- Basic operations
|
|
233
|
+
- Auto-correct examples
|
|
234
|
+
- Advanced examples
|
|
235
|
+
- Color reference
|
|
236
|
+
|
|
237
|
+
### **SETUP.md**
|
|
238
|
+
Detailed setup guide:
|
|
239
|
+
- Installation steps
|
|
240
|
+
- Project structure
|
|
241
|
+
- Dependencies info
|
|
242
|
+
- Development notes
|
|
243
|
+
- Troubleshooting
|
|
244
|
+
|
|
245
|
+
### **INSTALL.md**
|
|
246
|
+
Build & deployment:
|
|
247
|
+
- Development setup
|
|
248
|
+
- Building the gem
|
|
249
|
+
- Publishing to RubyGems
|
|
250
|
+
- Verification steps
|
|
251
|
+
|
|
252
|
+
### **SUMMARY.md**
|
|
253
|
+
Project overview:
|
|
254
|
+
- Components explained
|
|
255
|
+
- Features breakdown
|
|
256
|
+
- Statistics
|
|
257
|
+
- Future enhancements
|
|
258
|
+
|
|
259
|
+
### **FILE_STRUCTURE.md**
|
|
260
|
+
File organization:
|
|
261
|
+
- Directory tree
|
|
262
|
+
- File descriptions
|
|
263
|
+
- Module hierarchy
|
|
264
|
+
- Dependencies graph
|
|
265
|
+
|
|
266
|
+
### **INDEX.md**
|
|
267
|
+
Documentation navigation:
|
|
268
|
+
- Documentation index
|
|
269
|
+
- Choose your path
|
|
270
|
+
- Quick reference
|
|
271
|
+
- Navigation guide
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## 🎯 Where to Find Things
|
|
276
|
+
|
|
277
|
+
### Want to know...
|
|
278
|
+
|
|
279
|
+
**What is Pretty IRB?**
|
|
280
|
+
→ START_HERE.md or README.md
|
|
281
|
+
|
|
282
|
+
**How do I run it?**
|
|
283
|
+
→ QUICKSTART.md (3 steps!)
|
|
284
|
+
|
|
285
|
+
**How do I use it?**
|
|
286
|
+
→ EXAMPLES.md (50+ examples)
|
|
287
|
+
|
|
288
|
+
**How do I set it up?**
|
|
289
|
+
→ SETUP.md
|
|
290
|
+
|
|
291
|
+
**How do I build it?**
|
|
292
|
+
→ INSTALL.md
|
|
293
|
+
|
|
294
|
+
**What files are included?**
|
|
295
|
+
→ FILE_STRUCTURE.md
|
|
296
|
+
|
|
297
|
+
**How do I navigate docs?**
|
|
298
|
+
→ INDEX.md
|
|
299
|
+
|
|
300
|
+
**Full project overview?**
|
|
301
|
+
→ SUMMARY.md
|
|
302
|
+
|
|
303
|
+
**The source code?**
|
|
304
|
+
→ lib/pretty_irb/ (5 files)
|
|
305
|
+
|
|
306
|
+
**The tests?**
|
|
307
|
+
→ spec/ (4 test files)
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## ✅ Verification Checklist
|
|
312
|
+
|
|
313
|
+
Before you start, verify all files are present:
|
|
314
|
+
|
|
315
|
+
```powershell
|
|
316
|
+
# Check documentation
|
|
317
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\START_HERE.md"
|
|
318
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\README.md"
|
|
319
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\EXAMPLES.md"
|
|
320
|
+
|
|
321
|
+
# Check source code
|
|
322
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\lib\pretty_irb.rb"
|
|
323
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\lib\pretty_irb\shell.rb"
|
|
324
|
+
|
|
325
|
+
# Check executables
|
|
326
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\bin\console"
|
|
327
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\exe\pretty_irb"
|
|
328
|
+
|
|
329
|
+
# Check tests
|
|
330
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\spec\spec_helper.rb"
|
|
331
|
+
|
|
332
|
+
# Check configuration
|
|
333
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\pretty_irb.gemspec"
|
|
334
|
+
Test-Path "c:\Users\Jayesh\Music\ROR\pretty_irb\Gemfile"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
## 🎉 Ready to Go!
|
|
340
|
+
|
|
341
|
+
Everything is in place. Choose your starting point:
|
|
342
|
+
|
|
343
|
+
1. **New to Pretty IRB?** → Read **START_HERE.md**
|
|
344
|
+
2. **Want to run it?** → Follow **QUICKSTART.md**
|
|
345
|
+
3. **Want examples?** → Check **EXAMPLES.md**
|
|
346
|
+
4. **Want details?** → Read **README.md**
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
**Project Status**: ✅ Complete and Ready
|
|
351
|
+
**Version**: 0.1.0
|
|
352
|
+
**Date**: November 25, 2025
|
|
353
|
+
|
|
354
|
+
**Start with**: `START_HERE.md` or `QUICKSTART.md`
|
|
355
|
+
|
|
356
|
+
Enjoy Pretty IRB! 🎨
|