sequelizer 0.1.4 ā 0.1.6
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/.claude/settings.local.json +64 -0
- data/.devcontainer/.p10k.zsh +1713 -0
- data/.devcontainer/.zshrc +29 -0
- data/.devcontainer/Dockerfile +137 -0
- data/.devcontainer/copy-claude-credentials.sh +32 -0
- data/.devcontainer/devcontainer.json +102 -0
- data/.devcontainer/init-firewall.sh +123 -0
- data/.devcontainer/setup-credentials.sh +95 -0
- data/.github/workflows/test.yml +1 -1
- data/.gitignore +6 -1
- data/.overcommit.yml +73 -0
- data/.rubocop.yml +167 -0
- data/CHANGELOG.md +24 -0
- data/CLAUDE.md +219 -0
- data/Gemfile +6 -2
- data/Gemfile.lock +158 -0
- data/Guardfile +1 -1
- data/Rakefile +28 -3
- data/lib/sequel/extensions/cold_col.rb +436 -0
- data/lib/sequel/extensions/db_opts.rb +65 -4
- data/lib/sequel/extensions/make_readyable.rb +148 -30
- data/lib/sequel/extensions/more_sql.rb +76 -0
- data/lib/sequel/extensions/settable.rb +64 -0
- data/lib/sequel/extensions/sql_recorder.rb +85 -0
- data/lib/sequel/extensions/unionize.rb +169 -0
- data/lib/sequel/extensions/usable.rb +30 -1
- data/lib/sequelizer/cli.rb +61 -18
- data/lib/sequelizer/connection_maker.rb +54 -72
- data/lib/sequelizer/env_config.rb +6 -6
- data/lib/sequelizer/gemfile_modifier.rb +23 -21
- data/lib/sequelizer/monkey_patches/database_in_after_connect.rb +7 -5
- data/lib/sequelizer/options.rb +97 -18
- data/lib/sequelizer/options_hash.rb +2 -0
- data/lib/sequelizer/version.rb +3 -1
- data/lib/sequelizer/yaml_config.rb +9 -3
- data/lib/sequelizer.rb +65 -9
- data/sequelizer.gemspec +12 -7
- data/test/lib/sequel/extensions/test_cold_col.rb +251 -0
- data/test/lib/sequel/extensions/test_db_opts.rb +10 -8
- data/test/lib/sequel/extensions/test_make_readyable.rb +199 -28
- data/test/lib/sequel/extensions/test_more_sql.rb +132 -0
- data/test/lib/sequel/extensions/test_settable.rb +109 -0
- data/test/lib/sequel/extensions/test_sql_recorder.rb +231 -0
- data/test/lib/sequel/extensions/test_unionize.rb +76 -0
- data/test/lib/sequel/extensions/test_usable.rb +5 -2
- data/test/lib/sequelizer/test_connection_maker.rb +21 -17
- data/test/lib/sequelizer/test_env_config.rb +5 -2
- data/test/lib/sequelizer/test_gemfile_modifier.rb +7 -6
- data/test/lib/sequelizer/test_options.rb +14 -9
- data/test/lib/sequelizer/test_yaml_config.rb +13 -12
- data/test/test_helper.rb +36 -8
- metadata +107 -28
- data/lib/sequel/extensions/sqls.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4b9fbda8a56b5f1f9f83787e9fd0abbd76850d30447624ee513669fab9a5ed
|
4
|
+
data.tar.gz: 51905a6233ab05fb60560b0542f2078de9f26cee1e6a1cb6d7e9cfdd6599b71f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a589e19ca1c6a7bc8b3d5ff125becf56f2b19336560286d937210efbbd075785f065ae8cd90cd248d0721bcae2af7cf99449a2ca78c5dc19fc338364db32c23b
|
7
|
+
data.tar.gz: c697540e63315616982acfaed7a3488dea5abd6482bec1de8402cb6ac208144b0932511fbf39535a65498499e83bcf91bfbab4c530b5ed1a70541889769baa03
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"permissions": {
|
3
|
+
"allow": [
|
4
|
+
"Bash(bundle install:*)",
|
5
|
+
"Bash(bundle exec rubocop:*)",
|
6
|
+
"Bash(rake lint)",
|
7
|
+
"Bash(rake test)",
|
8
|
+
"Bash(bundle list:*)",
|
9
|
+
"Bash(gem list)",
|
10
|
+
"Bash(bundle exec gem dependency:*)",
|
11
|
+
"Bash(bundle exec rake:*)",
|
12
|
+
"Bash(grep:*)",
|
13
|
+
"Bash(gh repo edit:*)",
|
14
|
+
"Bash(gh repo view:*)",
|
15
|
+
"Bash(git branch:*)",
|
16
|
+
"Bash(git remote set-head:*)",
|
17
|
+
"Bash(mkdir:*)",
|
18
|
+
"Bash(chmod:*)",
|
19
|
+
"Bash(git worktree:*)",
|
20
|
+
"Bash(docker build:*)",
|
21
|
+
"Bash(find:*)",
|
22
|
+
"Bash(bundle exec sequelizer:*)",
|
23
|
+
"Bash(docker run:*)",
|
24
|
+
"Bash(ls:*)",
|
25
|
+
"Bash(git checkout:*)",
|
26
|
+
"Bash(echo $DEVCONTAINER)",
|
27
|
+
"Bash(ruby --version)",
|
28
|
+
"Bash(git config:*)",
|
29
|
+
"Bash(echo:*)",
|
30
|
+
"Bash(docker compose:*)",
|
31
|
+
"Bash(mv:*)",
|
32
|
+
"Bash(rmdir:*)",
|
33
|
+
"Bash(./.claude/claude:*)",
|
34
|
+
"Bash(find:*)",
|
35
|
+
"WebFetch(domain:docs.anthropic.com)",
|
36
|
+
"Bash(env)",
|
37
|
+
"Bash(git add:*)",
|
38
|
+
"Bash(git commit:*)",
|
39
|
+
"Bash(./test_claude_auth.sh:*)",
|
40
|
+
"Bash(npm install:*)",
|
41
|
+
"Bash(devcontainer build:*)",
|
42
|
+
"Bash(devcontainer exec:*)",
|
43
|
+
"Bash(devcontainer up:*)",
|
44
|
+
"Bash(rm:*)",
|
45
|
+
"WebFetch(domain:github.com)",
|
46
|
+
"Bash(gem list:*)",
|
47
|
+
"Bash(bundle check:*)",
|
48
|
+
"Bash(timeout 600 bundle install)",
|
49
|
+
"Bash(bundle exec overcommit:*)",
|
50
|
+
"Bash(zsh:*)",
|
51
|
+
"Read(//home/ryan/.local/share/mise/installs/ruby/3.4.4/lib/ruby/gems/3.4.0/gems/sequel-5.93.0/lib/sequel/extensions/**)",
|
52
|
+
"Bash(zsh -l -c 'git status')",
|
53
|
+
"Bash(zsh -l -c 'git reset HEAD')",
|
54
|
+
"Bash(zsh -l -c 'git add test/lib/sequel/extensions/test_more_sql.rb')",
|
55
|
+
"Bash(zsh -l -c 'git commit -m \"\"$(cat <<'\"''\"'EOF'\"''\"'\ntest: add comprehensive tests for more_sql extension\n\nAdd 13 test cases covering create_schema method functionality including\nbasic usage, option handling, edge cases, and extension registration.\n\nš¤ Generated with [Claude Code](https://claude.ai/code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\"\"')",
|
56
|
+
"Bash(zsh -l -c 'bundle exec rake test')",
|
57
|
+
"Bash(zsh -l -c 'bundle exec rake lint')"
|
58
|
+
],
|
59
|
+
"deny": []
|
60
|
+
},
|
61
|
+
"allowedDirectories": [
|
62
|
+
"../"
|
63
|
+
]
|
64
|
+
}
|