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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54dfe744cc178115d6846d1c01a2948bb2a55e55674bf2c52423766152134c7f
4
- data.tar.gz: e6c0eadc5918995c9f91d7503d5c673b3ac6669c41304b1dad974cc3484be37c
3
+ metadata.gz: 3b8ab6cb531de6cad52c1ef81825f7f8ac9f8c0b8adcd09d260f87e1e104f8eb
4
+ data.tar.gz: 7865c607aa6dc3bc326facd0f256a99d7a650e3ce9c9e1ddc1d0d32ed284bcab
5
5
  SHA512:
6
- metadata.gz: b42c3dc8d00aae8d02ed3bf9dbc718ea4d7ec85a42f92752f50a6e7ea5c65befee8630ad981c8a2c43b303505758f003caf4820e794d9d35eebe89f1ecb7a5ba
7
- data.tar.gz: 00bbd3f4200be29dc67ae6a905a267ca63a59821023eebfca11a51af82cc98d6408d33e6c6232cfd62a5519bae530d18485c926f87a8fff547f3b5b5bc6255ed
6
+ metadata.gz: b91806bc676493a5eb105250906ca669cc4a6f6cfd99dd948c4fd96eb3f84e5d8ae5cf5a38f0388cb8141d301598f24b8d8f0adeb2e88a73e3135239722dd1b1
7
+ data.tar.gz: b8315a176029673aca6445f235d14f77d181f71f905aa8eb081837c3791af500516e74d99f6f0433d3c64636776e4d82a46aa4f8d432688273740ba71d770198
@@ -24,7 +24,7 @@ module Adhoq
24
24
 
25
25
  def update
26
26
  @query = Adhoq::Query.find(params[:id])
27
- @query.update_attributes!(query_attributes)
27
+ @query.update!(query_attributes)
28
28
 
29
29
  redirect_to @query
30
30
  end
@@ -9,11 +9,11 @@ module Adhoq
9
9
 
10
10
  def generate_report!
11
11
  build_report.generate!
12
- update_attributes(status: :success)
12
+ update(status: :success)
13
13
  rescue => e
14
14
  Rails.logger.error(e)
15
15
  self.report = nil
16
- update_attributes(status: :failure)
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', required: true %>
39
+ <%= f.text_area :description, class: 'form-control' %>
40
40
  </div>
41
41
  </div>
42
42
  </div>
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Adhoq
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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: 2019-04-19 00:00:00.000000000 Z
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: axlsx
28
+ name: caxlsx
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
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: '2.0'
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.3.6
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.3.6
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.0.1
473
+ rubygems_version: 3.1.4
473
474
  signing_key:
474
475
  specification_version: 4
475
476
  summary: DB management console in the wild.