bricolage 5.23.1 → 5.23.2

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: 8a460416e7ef2fb18814d325a89d9107916a2741
4
- data.tar.gz: b2f0be30fee48a26dc1b6064b47b4039829a9e95
3
+ metadata.gz: 9ff87430265aed2e808bdb4d3b9246e47bdd84a7
4
+ data.tar.gz: da318cd5fccbb09a0319b864a2da30c0f319eba8
5
5
  SHA512:
6
- metadata.gz: 15018c00f2be9725375fc7f97ac9f5ef42f3dd6af39a4afc3cdb740bb2ef287ce4541bad920d8a78b13d275b3cede650dab737c14c09f12d577ca937c157504d
7
- data.tar.gz: 80dae05f2fcfebab99363c2c42e533e732454e5585ce45b8944da403ab2e497a014e41bd6199aeb2207baf57bbb94b8e8924ad93b386947dfdf68b345e419429
6
+ metadata.gz: adf6d84f64a35f37731a20d90525bad46b99696a85099b536918bacebc084a5af597a50a5db9ce3f5f7eaea2a24e5ee8811f62b11744a972907e1c1392fac867
7
+ data.tar.gz: 0f10319aa6f622ce885f6b27de40fcbd10f30cae4f1abab3f20e0245b05940b1a34918d0c6da0837ab2ec7431b3e544d7c4029527a84cb58e1d2bbb87ae820ba
data/jobclass/adhoc.rb ADDED
@@ -0,0 +1,20 @@
1
+ JobClass.define('adhoc') {
2
+ parameters {|params|
3
+ params.add SQLFileParam.new
4
+ params.add DataSourceParam.new('sql')
5
+ }
6
+
7
+ parameters_filter {|job|
8
+ job.provide_sql_file_by_job_id
9
+ }
10
+
11
+ declarations {|params|
12
+ params['sql-file'].declarations
13
+ }
14
+
15
+ script {|params, script|
16
+ script.task(params['data-source']) {|task|
17
+ task.exec params['sql-file']
18
+ }
19
+ }
20
+ }
@@ -1,4 +1,4 @@
1
1
  module Bricolage
2
2
  APPLICATION_NAME = 'Bricolage'
3
- VERSION = '5.23.1'
3
+ VERSION = '5.23.2'
4
4
  end
@@ -2,3 +2,6 @@ data_dir: /tmp/bricolagedev
2
2
  test_schema: aamine
3
3
  test_group: aamine
4
4
  activity_schema: aamine
5
+
6
+ defaults:
7
+ analyze: true
@@ -1,5 +1,5 @@
1
1
  /*
2
- class: sql
2
+ class: adhoc
3
3
  */
4
4
 
5
5
  <%= psql_serialize_vacuum_begin %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bricolage
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.23.1
4
+ version: 5.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minero Aoki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -133,6 +133,7 @@ files:
133
133
  - README.md
134
134
  - bin/bricolage
135
135
  - bin/bricolage-jobnet
136
+ - jobclass/adhoc.rb
136
137
  - jobclass/create.rb
137
138
  - jobclass/createview.rb
138
139
  - jobclass/exec.rb
@@ -196,7 +197,6 @@ files:
196
197
  - libexec/sqldump.Linux
197
198
  - test/all.rb
198
199
  - test/home/Gemfile
199
- - test/home/Gemfile.lock
200
200
  - test/home/config/development/database.yml
201
201
  - test/home/config/development/password.yml
202
202
  - test/home/config/development/variable.yml
@@ -1,41 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- bricolage (5.23.1)
5
- aws-sdk (~> 2)
6
- mysql2
7
- pg (~> 0.18.0)
8
- redis (>= 3.0.0)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- aws-sdk (2.7.5)
14
- aws-sdk-resources (= 2.7.5)
15
- aws-sdk-core (2.7.5)
16
- aws-sigv4 (~> 1.0)
17
- jmespath (~> 1.0)
18
- aws-sdk-resources (2.7.5)
19
- aws-sdk-core (= 2.7.5)
20
- aws-sigv4 (1.0.0)
21
- coderay (1.1.1)
22
- jmespath (1.3.1)
23
- method_source (0.8.2)
24
- mysql2 (0.4.5)
25
- pg (0.18.4)
26
- pry (0.10.4)
27
- coderay (~> 1.1.0)
28
- method_source (~> 0.8.1)
29
- slop (~> 3.4)
30
- redis (3.3.3)
31
- slop (3.6.0)
32
-
33
- PLATFORMS
34
- ruby
35
-
36
- DEPENDENCIES
37
- bricolage!
38
- pry
39
-
40
- BUNDLED WITH
41
- 1.14.3