prick 0.29.2 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/TODO +2 -0
  3. data/exe/prick +290 -518
  4. data/lib/prick/builder/batch.rb +1 -4
  5. data/lib/prick/builder/builder.rb +15 -9
  6. data/lib/prick/builder/node.rb +3 -2
  7. data/lib/prick/builder/node_pool.rb +3 -1
  8. data/lib/prick/builder/parser.rb +2 -1
  9. data/lib/prick/constants.rb +12 -12
  10. data/lib/prick/diff.rb +2 -2
  11. data/lib/prick/environment.rb +23 -10
  12. data/lib/prick/local/command.rb +8 -2
  13. data/lib/prick/local/fmt.rb +56 -0
  14. data/lib/prick/prick_version.rb +1 -1
  15. data/lib/prick/share/init/{.gitignore → dot.gitignore} +1 -1
  16. data/lib/prick/share/init/prick.environment.yml +16 -0
  17. data/lib/prick/share/init/prick.yml +3 -3
  18. data/lib/prick/share/init/schema/prick/build.yml +11 -2
  19. data/lib/prick/share/init/schema/prick/tables.sql +30 -9
  20. data/lib/prick/share/init/schema/prick/views.sql +6 -0
  21. data/lib/prick/state.rb +297 -95
  22. data/lib/prick/subcommand/prick-build.rb +26 -20
  23. data/lib/prick/subcommand/prick-clean.rb +5 -5
  24. data/lib/prick/subcommand/prick-create.rb +41 -6
  25. data/lib/prick/subcommand/prick-drop.rb +57 -14
  26. data/lib/prick/subcommand/prick-fox.rb +1 -1
  27. data/lib/prick/subcommand/prick-init.rb +25 -18
  28. data/lib/prick/subcommand/prick-list.rb +99 -0
  29. data/lib/prick/subcommand/prick-make.rb +8 -8
  30. data/lib/prick/subcommand/prick-migrate.rb +8 -7
  31. data/lib/prick/subcommand/prick-release.rb +4 -2
  32. data/lib/prick/subcommand/prick-set.rb +52 -0
  33. data/lib/prick/subcommand/prick-setup.rb +3 -13
  34. data/lib/prick/subcommand/prick-teardown.rb +13 -9
  35. data/lib/prick/subcommand/subcommand.rb +12 -0
  36. data/lib/prick/version.rb +1 -1
  37. data/lib/prick.rb +54 -15
  38. metadata +9 -5
  39. data/lib/prick/share/init/schema/prick/data.sql +0 -6
  40. data/prick.environments.yml +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9adeed165a7d8ed45d92f1a77965b3a832253229fb6c9def477e1061b9dbf564
4
- data.tar.gz: 864f9b07abf66a22e9f40e3220211421474dfac3732f5669946004ab7b0e8cc1
3
+ metadata.gz: 7302ba57c3bed137c90862b29e2a2b14938395963a3521aa10a2b096d516696f
4
+ data.tar.gz: f7d7e31e0f24c4346bffff6d03d104c7f8e9e9f2605bde0a6f67f48a16736499
5
5
  SHA512:
6
- metadata.gz: 053e676f6d9afa514b69b1b9c16d357e48903e84ee04b9c1af8e3351d33a016f2fb10d32f939240dc184b85338f3cface09421311c29308f8b202b04a941f47a
7
- data.tar.gz: 4fc355dde8d3ef88b2d482cafd95cdc6206913e86ca4d1bdfe0df75a9b30ecc3afe4dd5ec58370ba47fd1150ca19cf27ecb177d53cce1057fd4a4211e294325a
6
+ metadata.gz: 3e1fb9a5b8a9befdd1367b6653dd46dc0df0ca17ce94a15153f4d590390b1341c5930ffbc2a5608cdf906b0d22e56aaf1782c96c01ea3ffdbbbf85dc5c097f98
7
+ data.tar.gz: c79a6ecd5bd77169517c6b70dca2363da933fc3f73550e390297c991a2aed4c8ac0d6887855b93112fcac2d32818f3ee5e93609d1dfedae913e53f8dc6d8d187
data/TODO CHANGED
@@ -1,3 +1,5 @@
1
+ o cleanup connection
2
+ o make environment optional
1
3
  o eval vs exit
2
4
  o Make it possible to define (nested) environments
3
5
  o Use standard directory layout