adhoq 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/adhoq/queries_controller.rb +1 -1
- data/app/models/adhoq/execution.rb +2 -2
- data/app/views/adhoq/queries/_form.html.erb +1 -1
- data/config/database.yml +25 -0
- data/lib/adhoq/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b8ab6cb531de6cad52c1ef81825f7f8ac9f8c0b8adcd09d260f87e1e104f8eb
|
4
|
+
data.tar.gz: 7865c607aa6dc3bc326facd0f256a99d7a650e3ce9c9e1ddc1d0d32ed284bcab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b91806bc676493a5eb105250906ca669cc4a6f6cfd99dd948c4fd96eb3f84e5d8ae5cf5a38f0388cb8141d301598f24b8d8f0adeb2e88a73e3135239722dd1b1
|
7
|
+
data.tar.gz: b8315a176029673aca6445f235d14f77d181f71f905aa8eb081837c3791af500516e74d99f6f0433d3c64636776e4d82a46aa4f8d432688273740ba71d770198
|
@@ -9,11 +9,11 @@ module Adhoq
|
|
9
9
|
|
10
10
|
def generate_report!
|
11
11
|
build_report.generate!
|
12
|
-
|
12
|
+
update(status: :success)
|
13
13
|
rescue => e
|
14
14
|
Rails.logger.error(e)
|
15
15
|
self.report = nil
|
16
|
-
|
16
|
+
update(status: :failure)
|
17
17
|
end
|
18
18
|
|
19
19
|
def name
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<div class="form-group">
|
37
37
|
<%= f.label :description, class: 'control-label col-sm-2' %>
|
38
38
|
<div class="col-sm-8">
|
39
|
-
<%= f.text_area :description, class: 'form-control'
|
39
|
+
<%= f.text_area :description, class: 'form-control' %>
|
40
40
|
</div>
|
41
41
|
</div>
|
42
42
|
</div>
|
data/config/database.yml
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
data/lib/adhoq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhoq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyosuke MOROHASHI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: caxlsx
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: fog-aws
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,16 +252,16 @@ dependencies:
|
|
252
252
|
name: sqlite3
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - "
|
255
|
+
- - ">="
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: 1.
|
257
|
+
version: '1.4'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - "
|
262
|
+
- - ">="
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: 1.
|
264
|
+
version: '1.4'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: tapp
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -410,6 +410,7 @@ files:
|
|
410
410
|
- app/views/adhoq/queries/new.html.erb
|
411
411
|
- app/views/adhoq/queries/show.html.erb
|
412
412
|
- app/views/layouts/adhoq/application.html.erb
|
413
|
+
- config/database.yml
|
413
414
|
- config/routes.rb
|
414
415
|
- db/migrate/20141003095645_create_adhoq_queries.rb
|
415
416
|
- db/migrate/20141006014750_create_adhoq_executions.rb
|
@@ -469,7 +470,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
470
|
- !ruby/object:Gem::Version
|
470
471
|
version: '0'
|
471
472
|
requirements: []
|
472
|
-
rubygems_version: 3.
|
473
|
+
rubygems_version: 3.1.4
|
473
474
|
signing_key:
|
474
475
|
specification_version: 4
|
475
476
|
summary: DB management console in the wild.
|