banner_jobsub 0.1.1 → 0.1.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: 23b8ca3b640888b4a2cb2fc16840bad1e9fa8e8a
4
- data.tar.gz: cd9d795a8295a091a5128095234f54a537caa4f2
3
+ metadata.gz: ae0980d3bee20dce27f2f86209bf817ef260330a
4
+ data.tar.gz: 4361e8a4bef678ee5724655076dc9363a510f4d6
5
5
  SHA512:
6
- metadata.gz: 07913929a2188fb000253747d58dc25b89698f7a667aa75a43deeec713f68326bcdae37e34d5f280db3ad140e95477fec4f2c8c806a599caf60772385ba4da49
7
- data.tar.gz: 7cd08129355065f0583fe86260402cd4bd1ca8ed7a3b3a46524168fe4173fdfa5f1bef7c524894ce0b760222d0b1a974f5d0f1d79b23d396c0f414c73c9045c1
6
+ metadata.gz: c3f3a90dfdc32fc4b7dd0c9fd523726bef1ef8ddf7f3b6685100d427f86ca85ae4417345a6af80c43b04666900a218eb43387526674de43a71bff9b93e31290a
7
+ data.tar.gz: 185f88383a307820dcb2112424fa48906b428207b7e406839cc1108c1b23cb5742ae7fcda1e9a455a69c6c21ec4fa81c63c9d409d3a1cca86d80734d9cc95c1a
@@ -1,3 +1,7 @@
1
+ ## 0.1.2 (2018-06-08)
2
+ Changes:
3
+ - adds compatibility with Banner Jobsub Proxy (banjsproxy)
4
+
1
5
  ## 0.1.1 (2017-03-29)
2
6
  Changes:
3
7
  - ensure page_length defaults to 55 if jobsub passes null for parameter #99
data/README.md CHANGED
@@ -18,11 +18,20 @@ gem install banner_jobsub
18
18
  - [formatr](https://rubygems.org/gems/formatr) >= 1.10.1
19
19
 
20
20
  ## Configuration
21
- BannerJobsub expects standard/global configuration values configuration values to be stored in `$BANNER_HOME/admin/banner_jobsub.yaml`. Basic, minimum required values are your SEED1 and SEED3 values:
21
+ BannerJobsub expects standard/global configuration values to be stored in `$BANNER_HOME/admin/banner_jobsub.yaml`. Basic, minimum required values are your SEED1 and SEED3 values:
22
22
  ```yaml
23
23
  seed_one: 111111111
24
24
  seed_three: 22222222
25
25
  ```
26
+
27
+ **Banner 9 / bannerjsproxy**
28
+ If you are using Banner Job Submission Proxy (bannerjsproxy) with either Banner 8 INB or Banner 9 Admin Pages, you can enable bannerjsproxy compatibility using the (optional) configuration setting. Defaults to disabled.
29
+ ```yaml
30
+ seed_one: 111111111
31
+ seed_three: 22222222
32
+ banjsproxy: enabled
33
+ ```
34
+
26
35
  More options and configuration values are covered below.
27
36
 
28
37
  ## Installing a Job
@@ -35,13 +35,20 @@ module BannerJobsub
35
35
  seed_three: nil,
36
36
  page_length: 55,
37
37
  footer: '\f',
38
- header: ''
38
+ header: '',
39
+ banjsproxy: 'disabled'
39
40
  }
40
41
 
41
42
  configure_from_files
42
43
  configure_from_hash(opts)
43
44
  @config.each { |k, v| fail "Required configuration parameter \"#{k}\" is null." if v.nil? }
44
45
 
46
+ # If banner jobsub proxy is marked as enabled, shuffle ENV vars to match Ellucian shenanigans
47
+ if @config[:banjsproxy].downcase == 'enabled'
48
+ @config[:password] = ''
49
+ @config[:instance] = ENV['PSWD']
50
+ end
51
+
45
52
  set_db_connection
46
53
  set_role_security
47
54
 
@@ -1,3 +1,3 @@
1
1
  module BannerJobsub
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: banner_jobsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Dillon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2018-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-oci8
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.5.1
130
+ rubygems_version: 2.6.12
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: '"Write Ellucian Banner Jobsub jobs in Ruby."'