listen_sql 0.1.2 → 0.1.3
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/.gitignore +0 -1
- data/README.md +23 -6
- data/doc/listen_sql_demo.gif +0 -0
- data/lib/listen_sql.rb +1 -1
- data/lib/listen_sql/version.rb +1 -1
- data/listen_sql_demo.gif +0 -0
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c06475328216fa8b5b064aaa16d1298b868e4cbf
|
|
4
|
+
data.tar.gz: d3036cfe2711f33c62241233b84f9cf848badd5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58eb4c46390735aead4ce88ddda7a950164a9a463c8c0d124ac96eacaa5ea0d71207589908cece340728df0d3d93312ba61628b1063b227f16282812146a2b51
|
|
7
|
+
data.tar.gz: 8d9d54dcb4f09cafc116206dae7fed70ed03d4b6131da3a9aea5a1951df7d5c191a5b26e7619a9e84e2c34f1d29b2b019cf2776533117d52e397ff4471a6cc2b
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Listen SQL
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Helper scripts to monitor SQL file changes and execute them using psql.
|
|
4
|
+
|
|
5
|
+
<img src='doc/listen_sql_demo.gif' alt="listen SQL demo"/>
|
|
5
6
|
|
|
6
7
|
## Usage
|
|
7
8
|
|
|
@@ -37,18 +38,34 @@ Or install it yourself as:
|
|
|
37
38
|
|
|
38
39
|
$ gem install listen_sql
|
|
39
40
|
|
|
41
|
+
### rbenv Users
|
|
42
|
+
You'll need to link your bin files so gem executables are accessible in your
|
|
43
|
+
shell. [rbenv rehash](https://github.com/rbenv/rbenv#rbenv-rehash)
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
rbenv rehash
|
|
47
|
+
```
|
|
48
|
+
|
|
40
49
|
## Development
|
|
41
50
|
|
|
42
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
51
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
52
|
+
`rake spec` to run the tests. You can also run `bin/console` for an interactive
|
|
53
|
+
prompt that will allow you to experiment.
|
|
43
54
|
|
|
44
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
55
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
56
|
+
release a new version, update the version number in `version.rb`, and then run
|
|
57
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
|
58
|
+
git commits and tags, and push the `.gem` file to
|
|
59
|
+
[rubygems.org](https://rubygems.org).
|
|
45
60
|
|
|
46
61
|
## Contributing
|
|
47
62
|
|
|
48
|
-
Bug reports and pull requests are welcome on GitHub at
|
|
63
|
+
Bug reports and pull requests are welcome on GitHub at
|
|
64
|
+
https://github.com/ddrscott/listen_sql.
|
|
49
65
|
|
|
50
66
|
|
|
51
67
|
## License
|
|
52
68
|
|
|
53
|
-
The gem is available as open source under the terms of the
|
|
69
|
+
The gem is available as open source under the terms of the
|
|
70
|
+
[MIT License](http://opensource.org/licenses/MIT).
|
|
54
71
|
|
|
Binary file
|
data/lib/listen_sql.rb
CHANGED
data/lib/listen_sql/version.rb
CHANGED
data/listen_sql_demo.gif
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: listen_sql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Pierce
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -98,11 +98,13 @@ files:
|
|
|
98
98
|
- Rakefile
|
|
99
99
|
- bin/console
|
|
100
100
|
- bin/setup
|
|
101
|
+
- doc/listen_sql_demo.gif
|
|
101
102
|
- exe/exec_sql
|
|
102
103
|
- exe/listen_sql
|
|
103
104
|
- lib/listen_sql.rb
|
|
104
105
|
- lib/listen_sql/version.rb
|
|
105
106
|
- listen_sql.gemspec
|
|
107
|
+
- listen_sql_demo.gif
|
|
106
108
|
homepage: https://github.com/ddrscott/listen_sql
|
|
107
109
|
licenses:
|
|
108
110
|
- MIT
|
|
@@ -123,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
125
|
version: '0'
|
|
124
126
|
requirements: []
|
|
125
127
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
128
|
+
rubygems_version: 2.6.14
|
|
127
129
|
signing_key:
|
|
128
130
|
specification_version: 4
|
|
129
131
|
summary: Listen from SQL file changes then psql execute it.
|
|
130
132
|
test_files: []
|
|
131
|
-
has_rdoc:
|