vertica_history 2.1.0 → 2.1.1

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: 7f6271b8e0910b217edf4060a40baf456bee2a7f
4
- data.tar.gz: 2cb886d2bae11425fcdcc303627903c9ba4b77d4
3
+ metadata.gz: a5c250582600e7bf0683470afc9a219be149bde7
4
+ data.tar.gz: 4246459beabeb3b7106b34ad1d977dd7543804a9
5
5
  SHA512:
6
- metadata.gz: ce2aec3ec3f115211eed071d15689c906d6022923514623ff03ca316d75d3b0233edf9fe7c7c5eed670c56b77251ea9ee7ffc3ce189d16bb8f3e74262ceae34d
7
- data.tar.gz: 7af8068ad6a687b2471777aab31f3a8725e89795d2de4477b691735cb765fe1ffe8de52b7274cf61ae8e30011a905b6e1fa9bda92cffd0d47445adf90bbebc3f
6
+ metadata.gz: 41478c32181320ad34634f0d347873efdab52c1c079cbbd819f8f044220c9f66f416a398f4abf1372d15c2b63a5fc668a746562dcb17f936cf16d0d1806efcaf
7
+ data.tar.gz: de78f6f729dfa2562c0032af3842aed27aaae838dc74ba16063c57263c0374f690567d6d13c6f0177d8517fb95e3be16afe1319e351c0b8e3ef8b285020eeb4d
@@ -25,6 +25,9 @@ module VerticaHistory
25
25
  @rows = result.rows
26
26
  connection.close
27
27
  {columns: @columns, rows: @rows}
28
+ rescue => e
29
+ Rails.logger.info("Unable to submit query to Vertica: #{e}")
30
+ raise Vertica::Error
28
31
  end
29
32
  end
30
33
  end
@@ -1,3 +1,3 @@
1
1
  module VerticaHistory
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertica_history
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -146,41 +146,41 @@ signing_key:
146
146
  specification_version: 4
147
147
  summary: Gem to connect rails admin to Vertica to see history of any record
148
148
  test_files:
149
- - test/integration/navigation_test.rb
150
- - test/test_helper.rb
151
- - test/dummy/public/favicon.ico
152
- - test/dummy/public/500.html
153
- - test/dummy/public/404.html
154
- - test/dummy/public/422.html
155
- - test/dummy/app/helpers/application_helper.rb
156
- - test/dummy/app/assets/stylesheets/application.css
157
- - test/dummy/app/assets/javascripts/application.js
158
- - test/dummy/app/views/layouts/application.html.erb
159
- - test/dummy/app/controllers/application_controller.rb
160
- - test/dummy/config.ru
161
- - test/dummy/README.rdoc
162
- - test/dummy/db/schema.rb
163
- - test/dummy/bin/setup
164
- - test/dummy/bin/rails
165
149
  - test/dummy/bin/bundle
166
150
  - test/dummy/bin/rake
167
- - test/dummy/Rakefile
151
+ - test/dummy/bin/rails
152
+ - test/dummy/bin/setup
153
+ - test/dummy/README.rdoc
154
+ - test/dummy/config/application.rb
155
+ - test/dummy/config/initializers/cookies_serializer.rb
156
+ - test/dummy/config/initializers/wrap_parameters.rb
168
157
  - test/dummy/config/initializers/inflections.rb
169
158
  - test/dummy/config/initializers/mime_types.rb
170
- - test/dummy/config/initializers/filter_parameter_logging.rb
171
- - test/dummy/config/initializers/wrap_parameters.rb
172
- - test/dummy/config/initializers/backtrace_silencers.rb
173
159
  - test/dummy/config/initializers/session_store.rb
174
- - test/dummy/config/initializers/cookies_serializer.rb
175
160
  - test/dummy/config/initializers/assets.rb
176
- - test/dummy/config/secrets.yml
177
- - test/dummy/config/database.yml
178
- - test/dummy/config/application.rb
179
- - test/dummy/config/environments/development.rb
161
+ - test/dummy/config/initializers/filter_parameter_logging.rb
162
+ - test/dummy/config/initializers/backtrace_silencers.rb
163
+ - test/dummy/config/boot.rb
180
164
  - test/dummy/config/environments/test.rb
165
+ - test/dummy/config/environments/development.rb
181
166
  - test/dummy/config/environments/production.rb
182
- - test/dummy/config/environment.rb
183
167
  - test/dummy/config/routes.rb
168
+ - test/dummy/config/database.yml
184
169
  - test/dummy/config/locales/en.yml
185
- - test/dummy/config/boot.rb
170
+ - test/dummy/config/environment.rb
171
+ - test/dummy/config/secrets.yml
172
+ - test/dummy/db/schema.rb
173
+ - test/dummy/Rakefile
174
+ - test/dummy/config.ru
175
+ - test/dummy/app/assets/stylesheets/application.css
176
+ - test/dummy/app/assets/javascripts/application.js
177
+ - test/dummy/app/views/layouts/application.html.erb
178
+ - test/dummy/app/helpers/application_helper.rb
179
+ - test/dummy/app/controllers/application_controller.rb
180
+ - test/dummy/public/404.html
181
+ - test/dummy/public/422.html
182
+ - test/dummy/public/500.html
183
+ - test/dummy/public/favicon.ico
186
184
  - test/vertica_history_test.rb
185
+ - test/test_helper.rb
186
+ - test/integration/navigation_test.rb