vertica_history 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/application.js +0 -3
- data/app/assets/javascripts/vertica_history/select_all.js +6 -0
- data/app/assets/stylesheets/vertica_history/application.css.scss +4 -52
- data/app/assets/stylesheets/vertica_history/bootstrap-overrides.css.scss +0 -0
- data/app/assets/stylesheets/vertica_history/mixins.css.scss +8 -0
- data/app/assets/stylesheets/vertica_history/style.css.scss +69 -0
- data/app/views/layouts/vertica_history/application.html.erb +12 -10
- data/app/views/vertica_history/vertica_history/_filters.html.erb +22 -0
- data/app/views/vertica_history/vertica_history/_select_attributes.html.erb +22 -0
- data/app/views/vertica_history/vertica_history/index.html.erb +1 -16
- data/app/views/vertica_history/vertica_history/view_history.html.erb +30 -68
- data/lib/vertica_history/version.rb +1 -1
- metadata +42 -45
- data/app/assets/stylesheets/application.css.scss +0 -69
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -4
- data/test/dummy/log/test.log +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38886b386097ad164116c32dce9e3ca9594ff5ae
|
4
|
+
data.tar.gz: 6d93c6aafb71aa438e9b820e6cebce5a27410b2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706f67a0ee5789911814170c6517a84c3183055fe79a5234229165f0b61198cc507eb779554f7ff08ec2f1872dd34ee279f829ac68cfd671cc89f7a81934f746
|
7
|
+
data.tar.gz: 9d73ea9d01870eab41522fc27dd06d300d2cb871725729aefb7f9ada2942b60906d01c9858105dc10e3292d76271f578dad503521497789657a201d3875ef750
|
@@ -10,9 +10,6 @@
|
|
10
10
|
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
11
|
// about supported directives.
|
12
12
|
//
|
13
|
-
//= require jquery
|
14
13
|
//= require bootstrap-sprockets
|
15
|
-
//= require jquery_ujs
|
16
14
|
//= require turbolinks
|
17
15
|
//= require vertica_history/application
|
18
|
-
//= require_tree .
|
@@ -9,60 +9,12 @@
|
|
9
9
|
* compiled file, but it's generally better to create a new file per style scope.
|
10
10
|
*/
|
11
11
|
|
12
|
-
|
13
|
-
@import "compass/css3/border-radius";
|
14
|
-
@import "compass/typography/text/ellipsis";
|
15
|
-
@import "compass/css3/opacity";
|
16
|
-
|
17
|
-
|
18
|
-
@import "colors";
|
12
|
+
/* THIRD PARTY STYLES */
|
19
13
|
@import "bootstrap-overrides";
|
20
|
-
|
21
|
-
@import "compass/reset";
|
22
14
|
@import "bootstrap";
|
23
15
|
@import "bootstrap/mixins";
|
24
16
|
@import "bootstrap/popovers";
|
25
17
|
|
26
|
-
|
27
|
-
@import "
|
28
|
-
@import "
|
29
|
-
@import "helpers";
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
$popover-arrow-color: #e6e6e6;
|
34
|
-
$popover-arrow-outer-color: $button-border-gray;
|
35
|
-
|
36
|
-
.key-placeholders {
|
37
|
-
text-transform: uppercase;
|
38
|
-
|
39
|
-
&.placeholder {
|
40
|
-
text-transform: none;
|
41
|
-
}
|
42
|
-
|
43
|
-
&::-webkit-input-placeholder {
|
44
|
-
text-transform: none;
|
45
|
-
}
|
46
|
-
&:-moz-placeholder {
|
47
|
-
// old firefox versions 4-18
|
48
|
-
text-transform: none;
|
49
|
-
}
|
50
|
-
&::-moz-placeholder {
|
51
|
-
text-transform: none;
|
52
|
-
}
|
53
|
-
&:-ms-input-placeholder {
|
54
|
-
text-transform: none;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.clear {
|
59
|
-
clear: both;
|
60
|
-
}
|
61
|
-
|
62
|
-
.ellipsis {
|
63
|
-
@include ellipsis;
|
64
|
-
}
|
65
|
-
|
66
|
-
.errors {
|
67
|
-
color: $error-red;
|
68
|
-
}
|
18
|
+
/* CUSTOM STYLES */
|
19
|
+
@import "mixins";
|
20
|
+
@import "style";
|
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
$popover-arrow-color: #e6e6e6;
|
2
|
+
$popover-arrow-outer-color: $btn-default-color;
|
3
|
+
|
4
|
+
.key-placeholders {
|
5
|
+
text-transform: uppercase;
|
6
|
+
|
7
|
+
&.placeholder {
|
8
|
+
text-transform: none;
|
9
|
+
}
|
10
|
+
|
11
|
+
&::-webkit-input-placeholder {
|
12
|
+
text-transform: none;
|
13
|
+
}
|
14
|
+
&:-moz-placeholder {
|
15
|
+
// old firefox versions 4-18
|
16
|
+
text-transform: none;
|
17
|
+
}
|
18
|
+
&::-moz-placeholder {
|
19
|
+
text-transform: none;
|
20
|
+
}
|
21
|
+
&:-ms-input-placeholder {
|
22
|
+
text-transform: none;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.clear {
|
27
|
+
clear: both;
|
28
|
+
}
|
29
|
+
|
30
|
+
.ellipsis {
|
31
|
+
@include ellipsis;
|
32
|
+
}
|
33
|
+
|
34
|
+
.errors {
|
35
|
+
color: $brand-danger;
|
36
|
+
}
|
37
|
+
|
38
|
+
th {
|
39
|
+
width: 10px;
|
40
|
+
}
|
41
|
+
|
42
|
+
.flush {
|
43
|
+
padding: 0 !important;
|
44
|
+
}
|
45
|
+
|
46
|
+
.alert p {
|
47
|
+
padding-top: 10px;
|
48
|
+
}
|
49
|
+
|
50
|
+
.pagination {
|
51
|
+
.page {
|
52
|
+
text-align: center;
|
53
|
+
padding: 6px;
|
54
|
+
|
55
|
+
border-radius: 4px;
|
56
|
+
&.current {
|
57
|
+
background-color: $brand-primary;
|
58
|
+
color: #fff;
|
59
|
+
margin-right: 4px;
|
60
|
+
padding: 6px 8px 6px 10px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
.next, .last {
|
64
|
+
margin-left: 5px;
|
65
|
+
}
|
66
|
+
.prev {
|
67
|
+
margin-left: 5px;
|
68
|
+
}
|
69
|
+
}
|
@@ -1,14 +1,16 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
3
|
+
<head>
|
4
|
+
<title>VerticaHistory</title>
|
5
|
+
<%= csrf_meta_tags %>
|
6
|
+
<%= stylesheet_link_tag "vertica_history/application", media: "all" %>
|
7
|
+
</head>
|
10
8
|
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
<body>
|
10
|
+
<div class="container">
|
11
|
+
<%= yield %>
|
12
|
+
</div>
|
13
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
|
14
|
+
<%= javascript_include_tag "vertica_history/application" %>
|
15
|
+
</body>
|
14
16
|
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<%= form_for(@model.to_s.to_sym, url: { :controller => '/vertica_history/vertica_history', :action => 'view_history' }, method: 'get', html: { class: 'form-inline' }) do |f| %>
|
2
|
+
|
3
|
+
<h3>Filters</h3>
|
4
|
+
|
5
|
+
<div class="form-group">
|
6
|
+
<%= select_tag :filter_field, options_for_select(@columns), :include_blank => false, class: 'form-control' %>
|
7
|
+
<%= text_field_tag :filter_column, nil, placeholder: 'Enter filter value...', class: 'form-control' %>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<%= f.submit('Update/Filter Query', class: 'btn btn-primary') %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<% if @query_hash.present? %>
|
14
|
+
<h3>Current Filters:</h3>
|
15
|
+
<% @query_hash.each do |col, val| %>
|
16
|
+
<p><%= col %> = <%= val %></p>
|
17
|
+
<% end %>
|
18
|
+
|
19
|
+
<%= form_for(@model.to_s.to_sym, url: { :controller => '/vertica_history/vertica_history', :action => 'view_history' }, method: 'get', html: { class: 'form-horizontal' }) do |f| %>
|
20
|
+
<%= f.submit('Clear Filters', class: 'btn btn-primary') %>
|
21
|
+
<% end %>
|
22
|
+
<% end %>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<%= form_for(@model.to_s.to_sym, url: { :controller => '/vertica_history/vertica_history', :action => 'view_history' }, method: 'get', html: { class: 'form-inline attributes-select-form' }) do |f| %>
|
2
|
+
|
3
|
+
<div class="checkbox">
|
4
|
+
<label class="btn btn-default" style="padding: 0 10px">
|
5
|
+
<input class="select-all-btn" type="checkbox" <% 'checked' if @all_columns == @columns %> /> Select All
|
6
|
+
</label>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<% @all_columns.each do |key| %>
|
10
|
+
<div class="checkbox attribute-checkbox" id="<%= key %>">
|
11
|
+
<label>
|
12
|
+
<%= check_box_tag 'attribute-keys[]', key, checked = @columns.include?(key) %>
|
13
|
+
<%= h key %>
|
14
|
+
</label>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<br /><br />
|
19
|
+
<%= f.submit(action_button, class: 'btn btn-primary') %>
|
20
|
+
<br /><br />
|
21
|
+
<% end %>
|
22
|
+
|
@@ -1,22 +1,7 @@
|
|
1
1
|
<h1>Select Attributes for Vertica History for <%= @model %> <%= @id %></h1>
|
2
2
|
<div>Select Attributes you want to see in the table for the history of the records in vertica</div>
|
3
3
|
|
4
|
-
<%=
|
5
|
-
|
6
|
-
<% @columns.each do |key| %>
|
7
|
-
<div id=<%= key %>>
|
8
|
-
<li style="list-style-type: none;">
|
9
|
-
<%= check_box_tag 'attribute-keys[]', key -%>
|
10
|
-
<%= h key -%>
|
11
|
-
</li>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
14
|
-
<li style="list-style-type: none;">
|
15
|
-
<%= check_box_tag 'attribute-keys[]', "*" -%>
|
16
|
-
<%= h "All Attributes" -%>
|
17
|
-
</li>
|
18
|
-
<%= f.submit('View History', class: 'btn btn-primary') %>
|
19
|
-
<% end %>
|
4
|
+
<%= render partial: 'select_attributes', locals: { action_button: 'View History' } %>
|
20
5
|
|
21
6
|
<div class="pull-left"><%= link_to "Cancel", "/rails_admin/#{@model}/#{@id}" %></div>
|
22
7
|
</div>
|
@@ -1,83 +1,46 @@
|
|
1
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
|
2
|
-
<script>
|
3
|
-
$(document).ready(function() {
|
4
|
-
$('#backToRecord').click(function() {
|
5
|
-
window.location.href = '/rails_admin/' + '<%= @model %>' + '/' + '<%= @id %>';
|
6
|
-
})
|
7
|
-
})
|
8
|
-
</script>
|
9
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
|
10
|
-
<script>
|
11
|
-
$(document).ready(function() {
|
12
|
-
$('#backToModel').click(function() {
|
13
|
-
window.location.href = '/rails_admin/' + '<%= @model %>';
|
14
|
-
})
|
15
|
-
})
|
16
|
-
</script>
|
17
|
-
<style>
|
18
|
-
th {
|
19
|
-
width: 10px;
|
20
|
-
}
|
21
|
-
</style>
|
22
|
-
|
23
|
-
|
24
1
|
<div style="overflow: auto;">
|
25
|
-
<h1>Vertica History for <%= @model %> <%= @id %> - Total: <%= @total_records %> records found</h1>
|
26
|
-
|
27
|
-
<FORM style="padding-bottom: 20px">
|
28
|
-
<INPUT Type="button" VALUE="Back to Model View" id='backToModel'> <INPUT Type="button" VALUE="Back to Record View" id='backToRecord'></FORM>
|
29
|
-
|
30
|
-
<div>Select New Attributes you want to see in the table for the history of the records in vertica</div>
|
31
|
-
<%= form_for(@model.to_s.to_sym, url: { :controller => '/vertica_history/vertica_history', :action => 'view_history' }, method: 'get', html: { class: 'form-horizontal' }) do |f| %>
|
32
|
-
|
33
|
-
<% @all_columns.each do |key| %>
|
34
|
-
<div id=<%= key %>>
|
35
|
-
<li style="list-style-type: none;">
|
36
|
-
<%= check_box_tag 'attribute-keys[]', key -%>
|
37
|
-
<%= h key -%>
|
38
|
-
</li>
|
39
|
-
</div>
|
40
|
-
<% end %>
|
41
|
-
<li style="list-style-type: none;">
|
42
|
-
<%= check_box_tag 'attribute-keys[]', "*" -%>
|
43
|
-
<%= h "All Attributes" -%>
|
44
|
-
</li>
|
45
|
-
<%= f.submit('Change Attributes', class: 'btn btn-primary') %>
|
46
|
-
<% end %>
|
47
|
-
<p></p>
|
48
2
|
|
49
|
-
<%=
|
50
|
-
|
51
|
-
<h3>Filters</h3>
|
52
|
-
<%= text_field_tag :filter_column, nil, placeholder: 'Enter filter value...' %>
|
53
|
-
<%= select_tag :filter_field, options_for_select(@columns), :include_blank => true%>
|
3
|
+
<h1>Vertica History for <%= @model %> <%= @id %> - Total: <%= @total_records %> records found</h1>
|
54
4
|
|
55
|
-
|
56
|
-
|
5
|
+
<div class="col-xs-12 alert alert-info">
|
6
|
+
<div class="col-sm-7 col-xs-12">
|
7
|
+
<p class="padding-10">
|
8
|
+
Select New Attributes you want to see in the table for the history of the records in vertica
|
9
|
+
</p>
|
10
|
+
</div>
|
57
11
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
<% end %>
|
12
|
+
<div class="col-sm-5 col-xs-12">
|
13
|
+
<a href="/rails_admin/<%= @model %>" class="btn btn-default pull-right">
|
14
|
+
Back to Model View
|
15
|
+
</a>
|
63
16
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
17
|
+
<a href="/rails_admin/<%= "#{ @model }/#{ @id }" %>" class="btn btn-default pull-right">
|
18
|
+
Back to Record
|
19
|
+
</a>
|
20
|
+
</div>
|
21
|
+
</div>
|
68
22
|
|
69
23
|
|
24
|
+
<%= render partial: 'select_attributes', locals: { action_button: 'Change Attributes'} %>
|
25
|
+
<%= render partial: 'filters' %>
|
70
26
|
</div>
|
71
|
-
|
72
|
-
|
73
|
-
|
27
|
+
|
28
|
+
<br/>
|
29
|
+
<br/>
|
74
30
|
|
75
31
|
<div id="paginate">
|
76
32
|
<table class="table table-striped table-bordered table-condensed text-center">
|
77
33
|
<tr>
|
78
34
|
<% @columns.each do |col| %>
|
79
|
-
<th>
|
80
|
-
|
35
|
+
<th class="text-center">
|
36
|
+
<% if params[:order_by] == col+' desc' %>
|
37
|
+
<%= link_to col.camelize, vertica_history_view_history_path(order_by: (col + ' asc'), columns: @columns) %>
|
38
|
+
<%= '▲' %>
|
39
|
+
<% else %>
|
40
|
+
<%= link_to col.camelize, vertica_history_view_history_path(order_by: (col + ' desc'), columns: @columns) %>
|
41
|
+
<%= '▼' if params[:order_by] == col+' asc' %>
|
42
|
+
<% end %>
|
43
|
+
</th>
|
81
44
|
<% end %>
|
82
45
|
</tr>
|
83
46
|
<% @history.each do |data| %>
|
@@ -91,5 +54,4 @@
|
|
91
54
|
<% end %>
|
92
55
|
<%= paginate @history %>
|
93
56
|
</table>
|
94
|
-
</div>
|
95
57
|
</div>
|
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: 0.
|
4
|
+
version: 1.0.0
|
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-
|
11
|
+
date: 2016-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -165,7 +165,7 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: handlebars_assets
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: autoprefixer-rails
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: turbolinks
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
@@ -207,7 +207,7 @@ dependencies:
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: vertica
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
@@ -244,12 +244,17 @@ files:
|
|
244
244
|
- Rakefile
|
245
245
|
- app/assets/javascripts/application.js
|
246
246
|
- app/assets/javascripts/vertica_history/application.js
|
247
|
-
- app/assets/
|
247
|
+
- app/assets/javascripts/vertica_history/select_all.js
|
248
248
|
- app/assets/stylesheets/vertica_history/application.css.scss
|
249
|
+
- app/assets/stylesheets/vertica_history/bootstrap-overrides.css.scss
|
250
|
+
- app/assets/stylesheets/vertica_history/mixins.css.scss
|
251
|
+
- app/assets/stylesheets/vertica_history/style.css.scss
|
249
252
|
- app/controllers/vertica_history/application_controller.rb
|
250
253
|
- app/controllers/vertica_history/vertica_history_controller.rb
|
251
254
|
- app/helpers/vertica_history/application_helper.rb
|
252
255
|
- app/views/layouts/vertica_history/application.html.erb
|
256
|
+
- app/views/vertica_history/vertica_history/_filters.html.erb
|
257
|
+
- app/views/vertica_history/vertica_history/_select_attributes.html.erb
|
253
258
|
- app/views/vertica_history/vertica_history/index.html.erb
|
254
259
|
- app/views/vertica_history/vertica_history/view_history.html.erb
|
255
260
|
- config/routes.rb
|
@@ -288,11 +293,7 @@ files:
|
|
288
293
|
- test/dummy/config/locales/en.yml
|
289
294
|
- test/dummy/config/routes.rb
|
290
295
|
- test/dummy/config/secrets.yml
|
291
|
-
- test/dummy/db/development.sqlite3
|
292
296
|
- test/dummy/db/schema.rb
|
293
|
-
- test/dummy/db/test.sqlite3
|
294
|
-
- test/dummy/log/development.log
|
295
|
-
- test/dummy/log/test.log
|
296
297
|
- test/dummy/public/404.html
|
297
298
|
- test/dummy/public/422.html
|
298
299
|
- test/dummy/public/500.html
|
@@ -324,45 +325,41 @@ signing_key:
|
|
324
325
|
specification_version: 4
|
325
326
|
summary: Gem to connect rails admin to Vertica to see history of any record
|
326
327
|
test_files:
|
327
|
-
- test/
|
328
|
-
- test/dummy/
|
329
|
-
- test/dummy/
|
330
|
-
- test/dummy/
|
331
|
-
- test/dummy/
|
332
|
-
- test/dummy/config/
|
333
|
-
- test/dummy/config/
|
334
|
-
- test/dummy/config/
|
335
|
-
- test/dummy/config/environments/test.rb
|
336
|
-
- test/dummy/config/environments/production.rb
|
337
|
-
- test/dummy/config/environments/development.rb
|
338
|
-
- test/dummy/config/boot.rb
|
339
|
-
- test/dummy/config/database.yml
|
328
|
+
- test/test_helper.rb
|
329
|
+
- test/dummy/bin/bundle
|
330
|
+
- test/dummy/bin/rake
|
331
|
+
- test/dummy/bin/rails
|
332
|
+
- test/dummy/bin/setup
|
333
|
+
- test/dummy/config/initializers/session_store.rb
|
334
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
335
|
+
- test/dummy/config/initializers/mime_types.rb
|
340
336
|
- test/dummy/config/initializers/assets.rb
|
341
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
342
|
-
- test/dummy/config/initializers/inflections.rb
|
343
337
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
344
|
-
- test/dummy/config/initializers/mime_types.rb
|
345
|
-
- test/dummy/config/initializers/session_store.rb
|
346
338
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
347
|
-
- test/dummy/config/initializers/
|
348
|
-
- test/dummy/config/
|
339
|
+
- test/dummy/config/initializers/inflections.rb
|
340
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
349
341
|
- test/dummy/config/application.rb
|
350
|
-
- test/dummy/
|
351
|
-
- test/dummy/
|
352
|
-
- test/dummy/
|
353
|
-
- test/dummy/
|
354
|
-
- test/dummy/
|
355
|
-
- test/dummy/
|
356
|
-
- test/dummy/
|
357
|
-
- test/dummy/
|
358
|
-
- test/dummy/
|
359
|
-
- test/dummy/db/development.sqlite3
|
360
|
-
- test/dummy/db/test.sqlite3
|
361
|
-
- test/dummy/db/schema.rb
|
342
|
+
- test/dummy/config/environments/test.rb
|
343
|
+
- test/dummy/config/environments/production.rb
|
344
|
+
- test/dummy/config/environments/development.rb
|
345
|
+
- test/dummy/config/secrets.yml
|
346
|
+
- test/dummy/config/database.yml
|
347
|
+
- test/dummy/config/locales/en.yml
|
348
|
+
- test/dummy/config/environment.rb
|
349
|
+
- test/dummy/config/routes.rb
|
350
|
+
- test/dummy/config/boot.rb
|
362
351
|
- test/dummy/config.ru
|
352
|
+
- test/dummy/public/422.html
|
353
|
+
- test/dummy/public/favicon.ico
|
354
|
+
- test/dummy/public/500.html
|
355
|
+
- test/dummy/public/404.html
|
356
|
+
- test/dummy/db/schema.rb
|
363
357
|
- test/dummy/README.rdoc
|
364
358
|
- test/dummy/Rakefile
|
365
|
-
- test/dummy/
|
366
|
-
- test/dummy/
|
359
|
+
- test/dummy/app/assets/javascripts/application.js
|
360
|
+
- test/dummy/app/assets/stylesheets/application.css
|
361
|
+
- test/dummy/app/views/layouts/application.html.erb
|
362
|
+
- test/dummy/app/helpers/application_helper.rb
|
363
|
+
- test/dummy/app/controllers/application_controller.rb
|
364
|
+
- test/integration/navigation_test.rb
|
367
365
|
- test/vertica_history_test.rb
|
368
|
-
- test/test_helper.rb
|
@@ -1,69 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*/
|
11
|
-
|
12
|
-
@import "compass";
|
13
|
-
@import "compass/css3/border-radius";
|
14
|
-
@import "compass/typography/text/ellipsis";
|
15
|
-
@import "compass/css3/opacity";
|
16
|
-
|
17
|
-
|
18
|
-
@import "colors";
|
19
|
-
@import "bootstrap-overrides";
|
20
|
-
|
21
|
-
@import "compass/reset";
|
22
|
-
@import "bootstrap";
|
23
|
-
@import "bootstrap/mixins";
|
24
|
-
@import "bootstrap/popovers";
|
25
|
-
|
26
|
-
@import "scaffolds";
|
27
|
-
@import "compass/utilities/sprites";
|
28
|
-
@import "components";
|
29
|
-
@import "helpers";
|
30
|
-
@import "vertica_history/application";
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
$popover-arrow-color: #e6e6e6;
|
35
|
-
$popover-arrow-outer-color: $button-border-gray;
|
36
|
-
|
37
|
-
.key-placeholders {
|
38
|
-
text-transform: uppercase;
|
39
|
-
|
40
|
-
&.placeholder {
|
41
|
-
text-transform: none;
|
42
|
-
}
|
43
|
-
|
44
|
-
&::-webkit-input-placeholder {
|
45
|
-
text-transform: none;
|
46
|
-
}
|
47
|
-
&:-moz-placeholder {
|
48
|
-
// old firefox versions 4-18
|
49
|
-
text-transform: none;
|
50
|
-
}
|
51
|
-
&::-moz-placeholder {
|
52
|
-
text-transform: none;
|
53
|
-
}
|
54
|
-
&:-ms-input-placeholder {
|
55
|
-
text-transform: none;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
.clear {
|
60
|
-
clear: both;
|
61
|
-
}
|
62
|
-
|
63
|
-
.ellipsis {
|
64
|
-
@include ellipsis;
|
65
|
-
}
|
66
|
-
|
67
|
-
.errors {
|
68
|
-
color: $error-red;
|
69
|
-
}
|
Binary file
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,4 +0,0 @@
|
|
1
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
data/test/dummy/log/test.log
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
-
------------------------------
|
3
|
-
VerticaHistoryTest: test_truth
|
4
|
-
------------------------------
|
5
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
7
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
8
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
10
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
11
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
-
[1m[35m (0.1ms)[0m begin transaction
|
13
|
-
------------------------------
|
14
|
-
VerticaHistoryTest: test_truth
|
15
|
-
------------------------------
|
16
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|