evt-event_source-postgres 0.17.1.0 → 0.17.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fc06a30fc88faddbe37f7f48a9fdbafa5954385
4
- data.tar.gz: 942a22e3cd53807f33859e16a0cb36e07a26283e
3
+ metadata.gz: 756cde09c6f7c272b1c2e0c8ff15306e8f90e027
4
+ data.tar.gz: 816f85c45e16418986910ea3bb126e367b7453b1
5
5
  SHA512:
6
- metadata.gz: 4ebaa7e0fc07c10bec34746801f99099c3b0c00f47c83a2150725ec31d2c8b4d640c868d949021cdde85a881c2dc649fab4f02f241c6a8ab22d7b0a53e0beaf0
7
- data.tar.gz: 3bdbd991315f3d9a6800bf1482b05102a5a74834a39ead2f152b6ce2c20e63689313727b5a6a0c9b28e3847bdfb6bf708b7a58a156119b6ad3da3f24f9f950e2
6
+ metadata.gz: f573c88c9cd3a33caecb46060e25acc0999abfa6026279a8aaad00b612540e1f67433aacf9fef5d64017faf3fff508d15d7257d020dc483e9f70a74f676572f7
7
+ data.tar.gz: 5e5485a959db0064a4b33b0b647042ddb6a27aa92c3c59c5a41c0536a09d550d066ceef0997f684aeabdf91523b78637a42387693d7866bc5c6448363c910714
@@ -35,6 +35,18 @@ else
35
35
  fi
36
36
  echo "Table name is: $table"
37
37
 
38
+ if [ -z ${STREAM_NAME+x} ]; then
39
+ echo "(STREAM_NAME is not set)"
40
+ stream_name=''
41
+ else
42
+ stream_name=$STREAM_NAME
43
+ echo "Stream name is: $STREAM_NAME"
44
+ fi
45
+
38
46
  echo
39
47
 
40
- psql $database -c "SELECT * FROM $table"
48
+ if [ -z $stream_name ]; then
49
+ psql $database -c "SELECT * FROM $table"
50
+ else
51
+ psql $database -c "SELECT * FROM $table WHERE stream_name = '$stream_name'"
52
+ fi
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-event_source-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1.0
4
+ version: 0.17.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: scripts
10
10
  cert_chain: []
11
- date: 2017-04-03 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-event_source
@@ -97,9 +97,9 @@ dependencies:
97
97
  description: " "
98
98
  email: opensource@eventide-project.org
99
99
  executables:
100
- - evt-pg-create-db
101
100
  - evt-pg-delete-db
102
101
  - evt-pg-list-events
102
+ - evt-pg-create-db
103
103
  - evt-pg-recreate-db
104
104
  extensions: []
105
105
  extra_rdoc_files: []
@@ -120,7 +120,6 @@ files:
120
120
  - database/test/write-event-expected-version.sql
121
121
  - database/test/write-event.sql
122
122
  - database/uninstall.sh
123
- - lib/event_source/loader.rb
124
123
  - lib/event_source/postgres.rb
125
124
  - lib/event_source/postgres/controls.rb
126
125
  - lib/event_source/postgres/controls/category.rb
@@ -164,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
163
  version: '0'
165
164
  requirements: []
166
165
  rubyforge_project:
167
- rubygems_version: 2.6.11
166
+ rubygems_version: 2.6.8
168
167
  signing_key:
169
168
  specification_version: 4
170
169
  summary: Event source client for PostgreSQL
@@ -1 +0,0 @@
1
- lib/event_source/postgres.rb