ddr-batch 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -45
- data/lib/ddr/batch/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0135544c50ffe9fb38c674a03ce017797b433e5f
|
4
|
+
data.tar.gz: 5304422637e1d1d9409609f62ede573060958ffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62f3e9719d31dc62ae99b3ba2541713f911cff1daf6ad5cf70179365709fb6eb1d18d3423e6299e083af6ae63d7bdebf332e9c27f9a688e1cfa813d09e3b237e
|
7
|
+
data.tar.gz: 55d41f724876581f4d6b4e11abad27ec19f8069e6fe95bba2e139dc722a829606f8f1840eff7adec1ebeca27712503b60dc5205651a5548992068e303b6cf2de
|
data/README.md
CHANGED
@@ -42,51 +42,6 @@ class Ability < Ddr::Auth::Ability
|
|
42
42
|
end
|
43
43
|
```
|
44
44
|
|
45
|
-
### Log4r
|
46
|
-
|
47
|
-
#### Application.rb
|
48
|
-
|
49
|
-
Add the following lines to `config\application.rb` if they are not already there:
|
50
|
-
|
51
|
-
```ruby
|
52
|
-
require 'log4r'
|
53
|
-
require 'log4r/yamlconfigurator'
|
54
|
-
require 'log4r/outputter/datefileoutputter'
|
55
|
-
include Log4r
|
56
|
-
```
|
57
|
-
|
58
|
-
#### Configuration
|
59
|
-
|
60
|
-
`Ddr::Batch::BatchProcessor` expects a Log4r configuration file at `config\log4r_batch_processor.yml`.
|
61
|
-
|
62
|
-
##### Example
|
63
|
-
|
64
|
-
```yaml
|
65
|
-
log4r_config:
|
66
|
-
loggers:
|
67
|
-
- name : batch_processor
|
68
|
-
level : DEBUG
|
69
|
-
trace : 'false'
|
70
|
-
outputters:
|
71
|
-
- logfile
|
72
|
-
outputters:
|
73
|
-
- type : StdoutOutputter
|
74
|
-
name : stdout
|
75
|
-
level : DEBUG
|
76
|
-
formatter :
|
77
|
-
date_pattern: '%F %T.%L'
|
78
|
-
pattern : '%d %l: %m'
|
79
|
-
type : PatternFormatter
|
80
|
-
- type : FileOutputter
|
81
|
-
name : logfile
|
82
|
-
trunc : 'false'
|
83
|
-
filename : "#{LOG_FILE}"
|
84
|
-
formatter :
|
85
|
-
date_pattern: '%F %T.%L'
|
86
|
-
pattern : '%d %l: %m'
|
87
|
-
type : PatternFormatter
|
88
|
-
```
|
89
|
-
|
90
45
|
### Migrations
|
91
46
|
|
92
47
|
Install the ddr-batch migrations:
|
data/lib/ddr/batch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -59,28 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '2.
|
62
|
+
version: '2.11'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '2.
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: log4r
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
69
|
+
version: '2.11'
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
71
|
name: sqlite3
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|