prick 0.29.2 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/TODO +2 -0
  3. data/exe/prick +294 -519
  4. data/idea.txt +38 -0
  5. data/lib/prick/builder/batch.rb +1 -4
  6. data/lib/prick/builder/builder.rb +15 -9
  7. data/lib/prick/builder/node.rb +3 -2
  8. data/lib/prick/builder/node_pool.rb +3 -1
  9. data/lib/prick/builder/parser.rb +2 -1
  10. data/lib/prick/constants.rb +12 -12
  11. data/lib/prick/diff.rb +2 -2
  12. data/lib/prick/environment.rb +30 -12
  13. data/lib/prick/local/command.rb +8 -2
  14. data/lib/prick/local/fmt.rb +56 -0
  15. data/lib/prick/prick_version.rb +1 -1
  16. data/lib/prick/share/init/{.gitignore → dot.gitignore} +1 -1
  17. data/lib/prick/share/init/prick.environment.yml +16 -0
  18. data/lib/prick/share/init/prick.yml +3 -3
  19. data/lib/prick/share/init/schema/prick/build.yml +11 -2
  20. data/lib/prick/share/init/schema/prick/tables.sql +30 -9
  21. data/lib/prick/share/init/schema/prick/views.sql +6 -0
  22. data/lib/prick/state.rb +304 -95
  23. data/lib/prick/subcommand/prick-build.rb +26 -20
  24. data/lib/prick/subcommand/prick-clean.rb +5 -5
  25. data/lib/prick/subcommand/prick-create.rb +42 -7
  26. data/lib/prick/subcommand/prick-drop.rb +41 -14
  27. data/lib/prick/subcommand/prick-fox.rb +1 -1
  28. data/lib/prick/subcommand/prick-init.rb +25 -18
  29. data/lib/prick/subcommand/prick-list.rb +99 -0
  30. data/lib/prick/subcommand/prick-make.rb +8 -8
  31. data/lib/prick/subcommand/prick-migrate.rb +8 -7
  32. data/lib/prick/subcommand/prick-release.rb +4 -2
  33. data/lib/prick/subcommand/prick-set.rb +52 -0
  34. data/lib/prick/subcommand/prick-setup.rb +3 -13
  35. data/lib/prick/subcommand/prick-teardown.rb +13 -9
  36. data/lib/prick/subcommand/subcommand.rb +12 -0
  37. data/lib/prick/version.rb +1 -1
  38. data/lib/prick.rb +54 -15
  39. metadata +14 -9
  40. data/lib/prick/share/init/schema/prick/data.sql +0 -6
  41. 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: 71425ed90edd4de504fc95a6d270a5659c0ff206710db81c4994b03af76931e9
4
+ data.tar.gz: 3c5454cc8052d994257dba637285088352196f7bb522dd16fb19e4d43cafe3b8
5
5
  SHA512:
6
- metadata.gz: 053e676f6d9afa514b69b1b9c16d357e48903e84ee04b9c1af8e3351d33a016f2fb10d32f939240dc184b85338f3cface09421311c29308f8b202b04a941f47a
7
- data.tar.gz: 4fc355dde8d3ef88b2d482cafd95cdc6206913e86ca4d1bdfe0df75a9b30ecc3afe4dd5ec58370ba47fd1150ca19cf27ecb177d53cce1057fd4a4211e294325a
6
+ metadata.gz: f59c9a5ac1284eeb006327370308630ec24b3dc30dfa9af10f0695f6b0501bcfe207750b78893315f2478364eee576f780a65662d6827aa77fe2b654f5b38a8a
7
+ data.tar.gz: 7958f8d49c73c5c1b2de604fb671367c2704ef3d373c0847ae9861378f719b2e6e9d02661c8b3c36ce91541e8adb71875f3d233f7151277c64d51439087203ad
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