big_query_log_viewer 0.0.4 → 0.0.5

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: 630d53dfd36e95d3a96822530d80f5cb00de1761
4
- data.tar.gz: bebe698a4d02b570204b425b7d6667d31d19780e
3
+ metadata.gz: e42bc422e7fba9dd2055eea53a7bb65cb8c9b2dd
4
+ data.tar.gz: 97d13ee5429bb65db9f9cc4710815721e363c239
5
5
  SHA512:
6
- metadata.gz: 11a067c1f173f439bb56d35240cea08522b37a184b08af16b6bf07ce2f13afac14b33f5fb846704a9004897705ceaece23547c49d00d4fcc5e6bbf3db0a6f0de
7
- data.tar.gz: bf5de5515ae6664f8c9f8770cf041309b8c9e9d736cebed026acd915b0bd2539c425ae470bcc04521012deef68e3df996782f67e95d1fc8f7fca2d14fc6622c8
6
+ metadata.gz: 77e42d25c0bdfc9bd27e9827e5345464e079ba599b574859dd56b9931c5a08e319c3cdd54d36e1c24390e601ee47c71394ccf00566cb942506f6808fb320b851
7
+ data.tar.gz: 240f17dd30d1f6a06ce4e1d314591da78dad7fc80f43e49a49c1df33b256545f9273e8d35d9bb77755078923e906b18cd2a747626b2c268e6420e2baad22286f
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/big_query_log_viewer.svg)](http://badge.fury.io/rb/big_query_log_viewer)
2
+
1
3
  # BigQueryLogViewer
2
4
 
3
5
  A simple Rails engine and React app to search logs stored in Google BigQuery.
@@ -143,8 +143,8 @@ BigQueryLogViewer.Tab = React.createClass
143
143
  {
144
144
  field: 'rid'
145
145
  method: 'between'
146
- firstValue: startRow
147
- secondValue: endRow
146
+ firstValue: endRow
147
+ secondValue: startRow
148
148
  }
149
149
  ]
150
150
  query = @props.query.buildQuery(@props.tab.source.startDate, @props.tab.source.endDate, conds, 'ts, rid desc')
@@ -183,7 +183,7 @@ BigQueryLogViewer.Tab = React.createClass
183
183
  if @expansionTab()
184
184
  window.requestAnimationFrame =>
185
185
  node = @getDOMNode()
186
- node.scrollTop = $(node).find('.highlight-row').offset().top
186
+ node.scrollTop = $(node).find('.highlight-row').offset().top - $(node).offset().top
187
187
 
188
188
  componentDidUpdate: ->
189
189
  node = $(@getDOMNode())
@@ -202,7 +202,7 @@ BigQueryLogViewer.Tab = React.createClass
202
202
  if @resultsTab()
203
203
  pagination = []
204
204
 
205
- if @state.activePageIndex > 0 || (@expansionTab() && @state.showPrevLink)
205
+ if @state.activePageIndex > 0
206
206
  pagination.push(
207
207
  title: @prevTitle()
208
208
  active: false
@@ -218,7 +218,7 @@ BigQueryLogViewer.Tab = React.createClass
218
218
  handler: @handleShowPage
219
219
  )
220
220
 
221
- if @state.activePageIndex + 1 < @state.pages.length || (@resultsTab() && @state.pageToken) || (@expansionTab() && @state.showNextLink)
221
+ if @state.activePageIndex + 1 < @state.pages.length || @state.pageToken
222
222
  pagination.push(
223
223
  title: @nextTitle()
224
224
  active: false
@@ -122,7 +122,7 @@ ul.nav {
122
122
  color: rgb(135, 135, 176);
123
123
  }
124
124
  &[data-severity=WARN] {
125
- color: yellow;
125
+ color: #FFCC11;
126
126
  }
127
127
  &[data-severity=ERROR] {
128
128
  color: orange;
@@ -133,7 +133,6 @@ ul.nav {
133
133
  }
134
134
  .column-msg {
135
135
  pre {
136
- white-space: normal;
137
136
  word-break: break-all;
138
137
  margin: 0;
139
138
  line-height: 16px;
@@ -1,3 +1,3 @@
1
1
  module BigQueryLogViewer
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: big_query_log_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Schneider