Skip to content

Commit b2fc30f

Browse files
committed
remove ltis
1 parent ea2ef29 commit b2fc30f

4 files changed

Lines changed: 14 additions & 57 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ $ zs
7878
zs automatically detects:
7979

8080
- **Rails/Ruby**: Presence of `Gemfile`
81-
- **LTI Tools**: Rails projects with `lti` gem
8281
- **React**: `package.json` with react dependency
8382
- **Node.js**: Generic `package.json`
8483
- **Python**: `requirements.txt` or `pyproject.toml`

src/zs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LAST_RUN_FILE="$ZS_CONFIG_DIR/.last-run"
2424
# Smart detection functions
2525
detect_project_type() {
2626
if [[ -f "Gemfile" ]]; then
27-
grep -q "lti" Gemfile 2>/dev/null && echo "lti" || echo "rails"
27+
echo "rails"
2828
elif [[ -f "mix.exs" ]]; then
2929
echo "elixir"
3030
elif [[ -f "package.json" ]]; then
@@ -67,7 +67,7 @@ ensure_dependencies() {
6767
local project_type="$1"
6868

6969
case "$project_type" in
70-
*rails*|*lti*)
70+
rails)
7171
if ! gem list debug -i &>/dev/null; then
7272
info "Installing Ruby debug support..."
7373
gem install debug --no-document &>/dev/null && info "Ruby debug ready"
@@ -112,7 +112,7 @@ create_debug() {
112112
else
113113
# Generate appropriate debug config
114114
case "$project_type" in
115-
*rails*|*lti*)
115+
rails)
116116
cat > .zed/debug.json << 'EOF'
117117
[
118118
{
@@ -213,7 +213,7 @@ task_count=$(grep -c '"label"' .zed/tasks.json 2>/dev/null || echo 0)
213213

214214
# Single line output
215215
case "$project_type" in
216-
rails|lti) success "Rails project ready ($task_count tasks, debugging enabled)" ;;
216+
rails) success "Rails project ready ($task_count tasks, debugging enabled)" ;;
217217
react) success "React project ready ($task_count tasks, debugging enabled)" ;;
218218
elixir) success "Elixir project ready ($task_count tasks, debugging enabled)" ;;
219219
python) success "Python project ready ($task_count tasks, debugging enabled)" ;;

templates/commit-templates/work.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66

77
# Work Project Commit Guidelines:
88
# - Reference JIRA ticket numbers when applicable
9-
# - Include security considerations for LTI changes
10-
# - Mention Canvas compatibility testing
9+
# - Include security considerations when relevant
1110
# - Use professional, clear language
11+
# - Include testing details
1212

1313
# Types for work projects:
14-
# feat: New LTI feature or Canvas integration
15-
# fix: Bug fix affecting LTI functionality
14+
# feat: New features or capabilities
15+
# fix: Bug fixes
1616
# security: Security improvements or fixes
17-
# canvas: Canvas-specific changes or compatibility updates
1817
# api: API changes or improvements
19-
# test: Adding or updating LTI integration tests
18+
# test: Adding or updating tests
2019
# docs: Documentation updates for team/stakeholders
2120
# chore: Maintenance, dependencies, or build changes
21+
# refactor: Code refactoring without changing functionality
2222

2323
# Examples:
24-
# feat(lti): add grade passback functionality for assignments
25-
# fix(auth): resolve OAuth token refresh issue in Canvas
26-
# security(lti): implement additional CSRF protection
27-
# canvas(api): update to Canvas API v1.3 for better compatibility
24+
# feat(auth): add multi-factor authentication support
25+
# fix(api): resolve timeout issues in data processing
26+
# security(auth): implement rate limiting for login attempts
27+
# refactor(db): optimize query performance for user listings

templates/debug-configs/lti-debug.json

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)