eitil 1.1.4 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/eitil_core/README.md +73 -1
- data/eitil_core/lib/eitil_core.rb +4 -1
- data/eitil_core/lib/eitil_core/active_record.rb +2 -0
- data/eitil_core/lib/eitil_core/active_record/hash_to_relation.rb +27 -0
- data/eitil_core/lib/eitil_core/application_controller.rb +1 -0
- data/eitil_core/lib/eitil_core/application_controller/permit_model_atts.rb +46 -0
- data/eitil_core/lib/eitil_core/application_record.rb +1 -0
- data/eitil_core/lib/eitil_core/application_record/model_atts.rb +19 -0
- data/eitil_core/lib/eitil_core/array.rb +2 -0
- data/eitil_core/lib/eitil_core/array/slice_hashes.rb +18 -0
- data/eitil_core/lib/eitil_core/files.rb +2 -0
- data/eitil_core/lib/eitil_core/files/create_file.rb +28 -0
- data/eitil_core/lib/eitil_core/railtie.rb +4 -0
- data/eitil_core/lib/eitil_core/safe_executions.rb +2 -1
- data/eitil_core/lib/eitil_core/safe_executions/safe_rescue.rb +37 -0
- data/eitil_core/lib/eitil_core/string.rb +4 -0
- data/eitil_core/lib/eitil_core/string/strip_base64_header.rb +12 -0
- data/eitil_integrate/lib/eitil_integrate/application_exporter/auto_sum/format_data.rb +1 -1
- data/eitil_store/lib/eitil_store/regex/regex.rb +3 -0
- data/eitil_wrapper/README.md +5 -5
- data/eitil_wrapper/lib/eitil_wrapper/jobs.rb +1 -1
- data/eitil_wrapper/lib/eitil_wrapper/jobs/{new_job_debugger.rb → new_job_now.rb} +4 -4
- data/eitil_wrapper/lib/eitil_wrapper/railtie.rb +14 -1
- data/lib/eitil/all.rb +1 -1
- data/lib/eitil/version.rb +1 -1
- metadata +14 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a233118971dbb65f4191fa093109a25178e90ba7b036d60d4a2af89641881e47
|
4
|
+
data.tar.gz: 400bd4e6843244dc54ee9f22b2713e0cf5372b94a226d7fe0f9b5215d5db1fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 685e95309951ecaa9d8b512aa571a84ae4f822360da6b8c44b651f993dce65ed64c2a90e1d45f5c5a05a704060b78d8f13ac19b41e7eeb2d74cea6c50a505bfe
|
7
|
+
data.tar.gz: e8fb9af5d30cd42340dcb745c6e802d50f79fed880658d20aea864aa14dcc15ce1d66ec96d46ff211d76e8bcbeb4aad65b67f02c1d917d214712ba2d7a959667
|
data/eitil_core/README.md
CHANGED
@@ -10,8 +10,24 @@ EitilCore extends the core classes of Ruby and Rails.
|
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
|
13
|
-
require "eitil_core/
|
13
|
+
require "eitil_core/active_record"
|
14
|
+
|
15
|
+
```
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
# require "eitil_core/active_record/hash_to_relation"
|
19
|
+
|
20
|
+
[].to_relation
|
21
|
+
# converts an array of ActiveRecord instances to an ActiveRecord_Relation instance
|
22
|
+
# call as: [#<instance1>,<instance2>].to_relation
|
23
|
+
```
|
24
|
+
|
25
|
+
## ApplicationController
|
14
26
|
|
27
|
+
```ruby
|
28
|
+
|
29
|
+
require "eitil_core/application_controller"
|
30
|
+
require "eitil_core/application_controller/permit_model_atts"
|
15
31
|
```
|
16
32
|
|
17
33
|
```ruby
|
@@ -21,6 +37,11 @@ slice_params(*args)
|
|
21
37
|
# slices request params, converts them to JSON and symbolizes the keys
|
22
38
|
# call as: slice_params :id, :user
|
23
39
|
# => { id: 1, user: 69 }
|
40
|
+
|
41
|
+
permit_model_atts(*models, include: nil, except: nil)
|
42
|
+
# calls params.permit and automatically permits the columns of all given models (one or more)
|
43
|
+
# also accepts additional permits (include: nil) or allows you to reject column values (except: nil)
|
44
|
+
# call as: params.permit_model_atts(BillingInfo, BillingIntegration, except: :credit_card)
|
24
45
|
```
|
25
46
|
|
26
47
|
|
@@ -140,6 +161,23 @@ args_to_ivars!(*local_vars)
|
|
140
161
|
```
|
141
162
|
|
142
163
|
|
164
|
+
## Concerns
|
165
|
+
|
166
|
+
```ruby
|
167
|
+
|
168
|
+
require "eitil_core/array"
|
169
|
+
|
170
|
+
```
|
171
|
+
|
172
|
+
```ruby
|
173
|
+
# require "eitil_core/array/slice_hashes"
|
174
|
+
|
175
|
+
slice_hashes(*keys)
|
176
|
+
# uses the given keys to slice each hash in the array of hashes
|
177
|
+
# call as: [{"a"=>1, "b"=>2, "c"=>3}, {"a"=>1, "b"=>2, "c"=>3}].slice_hashes("a", "b")
|
178
|
+
# => [{"a"=>1, "b"=>2}, {"a"=>1, "b"=>2}]
|
179
|
+
```
|
180
|
+
|
143
181
|
## Concerns
|
144
182
|
|
145
183
|
```ruby
|
@@ -196,6 +234,24 @@ raise_error(_class_name, message = nil)
|
|
196
234
|
```
|
197
235
|
|
198
236
|
|
237
|
+
## Files
|
238
|
+
|
239
|
+
```ruby
|
240
|
+
|
241
|
+
require "eitil_core/files"
|
242
|
+
|
243
|
+
```
|
244
|
+
|
245
|
+
```ruby
|
246
|
+
# require "eitil_core/files/create_file"
|
247
|
+
|
248
|
+
create_file(file_name, data, directory: nil, suffix: nil, file_type: nil, append: false)
|
249
|
+
# writes data to a file (new or existing), with "#{Dir.home}/data" as default directory and with a timestamp as default suffix
|
250
|
+
# call as: create_file('test_file', {a: 1, b: {c: 2}}, append: true)
|
251
|
+
# => /Users/jurriaanschrofer/data/test_file__2021-06-30.17:30:49.json
|
252
|
+
```
|
253
|
+
|
254
|
+
|
199
255
|
## Float
|
200
256
|
|
201
257
|
```ruby
|
@@ -377,6 +433,22 @@ set_ivars(*ivars)
|
|
377
433
|
```
|
378
434
|
|
379
435
|
|
436
|
+
## String
|
437
|
+
|
438
|
+
```ruby
|
439
|
+
|
440
|
+
require "eitil_core/string"
|
441
|
+
|
442
|
+
```
|
443
|
+
|
444
|
+
```ruby
|
445
|
+
# require "eitil_core/string/strip_base64_header"
|
446
|
+
|
447
|
+
strip_base64_header
|
448
|
+
# uses a regex to remove leading base64 header data if present, e.g. "data:image/jpeg;base64,"
|
449
|
+
```
|
450
|
+
|
451
|
+
|
380
452
|
## TypeCheckers
|
381
453
|
|
382
454
|
```ruby
|
@@ -2,6 +2,8 @@
|
|
2
2
|
# require "eitil_core"
|
3
3
|
|
4
4
|
# core class patches
|
5
|
+
require "eitil_core/string"
|
6
|
+
require "eitil_core/array"
|
5
7
|
require "eitil_core/hash"
|
6
8
|
require "eitil_core/float"
|
7
9
|
require "eitil_core/datetime"
|
@@ -12,6 +14,7 @@ require "eitil_core/formatters"
|
|
12
14
|
require "eitil_core/mocks"
|
13
15
|
|
14
16
|
# rails class patches
|
17
|
+
require "eitil_core/active_record"
|
15
18
|
require "eitil_core/application_record"
|
16
19
|
require "eitil_core/application_controller"
|
17
20
|
|
@@ -23,4 +26,4 @@ require "eitil_core/setters"
|
|
23
26
|
require "eitil_core/validations"
|
24
27
|
require "eitil_core/lookups"
|
25
28
|
require "eitil_core/concerns"
|
26
|
-
|
29
|
+
require "eitil_core/files"
|
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/active_record/hash_to_relation"
|
3
|
+
|
4
|
+
require "eitil_core/errors/raise_error"
|
5
|
+
|
6
|
+
class Array
|
7
|
+
|
8
|
+
def to_relation
|
9
|
+
|
10
|
+
return self unless self.present?
|
11
|
+
|
12
|
+
unless self.all? { |item| item.class.ancestors.include? ApplicationRecord }
|
13
|
+
raise_error "InvalidArrayError", ".to_relation requires that all array items are model instances"
|
14
|
+
end
|
15
|
+
|
16
|
+
unless self.each_cons(2).all? { |el1, el2| el1.class == el2.class }
|
17
|
+
raise_error "InvalidArrayError", ".to_relation requires that all array items are instances of the same model"
|
18
|
+
end
|
19
|
+
|
20
|
+
_class = self.first.class
|
21
|
+
ids = self.map(&:id)
|
22
|
+
|
23
|
+
return _class.where(id: ids)
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/application_controller/permit_model_atts"
|
3
|
+
|
4
|
+
require "pry"
|
5
|
+
|
6
|
+
module ActionController
|
7
|
+
class Parameters
|
8
|
+
|
9
|
+
def permit_model_atts(*models, include: nil, except: nil, arrays: nil, hashes: nil)
|
10
|
+
|
11
|
+
models = models.is_a?(Array) ? models : [models]
|
12
|
+
except = except.is_a?(Array) ? except : [except]
|
13
|
+
include = include.is_a?(Array) ? include : [include]
|
14
|
+
arrays = arrays.is_a?(Array) ? arrays : [arrays]
|
15
|
+
hashes = hashes.is_a?(Array) ? hashes : [hashes]
|
16
|
+
|
17
|
+
columns = models.map do |model|
|
18
|
+
model.columns_hash.keys.map &:to_sym
|
19
|
+
end.flatten.uniq
|
20
|
+
|
21
|
+
default_reject = %i( id updated_at created_at )
|
22
|
+
given_reject = except.map { |key| key&.to_sym }
|
23
|
+
accepted_values = columns + include - default_reject - given_reject
|
24
|
+
|
25
|
+
arrays = arrays.all?(&:present?) ? arrays.each_with_object({}) { |i,h| h[i] = [] } : nil
|
26
|
+
hashes = hashes.all?(&:present?) ? hashes.each_with_object({}) { |i,h| h[i] = {} } : nil
|
27
|
+
|
28
|
+
if arrays.blank? and hashes.blank?
|
29
|
+
return self.permit(*accepted_values)
|
30
|
+
|
31
|
+
elsif arrays.blank?
|
32
|
+
return self.permit(*accepted_values, **hashes)
|
33
|
+
|
34
|
+
elsif hashes.blank?
|
35
|
+
return self.permit(*accepted_values, **arrays)
|
36
|
+
|
37
|
+
else
|
38
|
+
return self.permit(*accepted_values, **arrays, **hashes)
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/application_record/model_atts"
|
3
|
+
|
4
|
+
# require "eitil_core/railtie" to run the dynamic dispatch as an init hook during boot
|
5
|
+
require "eitil_core/railtie"
|
6
|
+
|
7
|
+
module EitilCore
|
8
|
+
module ApplicationRecord
|
9
|
+
module ModelAtts
|
10
|
+
|
11
|
+
def model_atts
|
12
|
+
columns = self.columns_hash.keys.map(&:to_sym)
|
13
|
+
reject = %i( id updated_at created_at )
|
14
|
+
columns - reject
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/array/slice_hashes"
|
3
|
+
|
4
|
+
class Array
|
5
|
+
|
6
|
+
def slice_hashes(*keys)
|
7
|
+
|
8
|
+
return self if self.empty?
|
9
|
+
|
10
|
+
unless self.all? { |item| item.is_a? Hash }
|
11
|
+
raise ArgumentError, "Array#slice_hashes requires that all array items are Hash instances"
|
12
|
+
end
|
13
|
+
|
14
|
+
self.map { |item| item.slice(*keys) }
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/files/create_file"
|
3
|
+
|
4
|
+
Kernel.module_eval do
|
5
|
+
|
6
|
+
def create_file(file_name, data, directory: nil, suffix: nil, file_type: nil, append: false)
|
7
|
+
|
8
|
+
directory = directory || "#{Dir.home}/data"
|
9
|
+
suffix = suffix || DateTime.now.prettify
|
10
|
+
file_type = file_type || "json"
|
11
|
+
|
12
|
+
if file_type = "json"
|
13
|
+
data = JSON.pretty_generate(data)
|
14
|
+
end
|
15
|
+
|
16
|
+
path = "#{directory}/#{file_name}_#{suffix}.#{file_type}"
|
17
|
+
|
18
|
+
if append and Dir[path].present?
|
19
|
+
File.open(path, "a+") { |f| f << data }
|
20
|
+
return path
|
21
|
+
end
|
22
|
+
|
23
|
+
File.write(path, data)
|
24
|
+
return path
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
@@ -21,6 +21,10 @@ module EitilCore
|
|
21
21
|
::ApplicationRecord.send(:extend, EitilCore::ApplicationRecord::AllAssociations)
|
22
22
|
end
|
23
23
|
|
24
|
+
if Object.const_defined?('EitilCore::ApplicationRecord::ModelAtts')
|
25
|
+
::ApplicationRecord.send(:extend, EitilCore::ApplicationRecord::ModelAtts)
|
26
|
+
end
|
27
|
+
|
24
28
|
# ApplicationController
|
25
29
|
|
26
30
|
if Object.const_defined?('EitilCore::ApplicationController::SliceParams')
|
@@ -0,0 +1,37 @@
|
|
1
|
+
|
2
|
+
# require "eitil_core/safe_executions/safe_rescue"
|
3
|
+
|
4
|
+
Kernel.module_eval do
|
5
|
+
|
6
|
+
# WORK IN PROCESS
|
7
|
+
# => accept a second block, prefarabbly not as proc, with code to be exceuted in case of rescue
|
8
|
+
# => or would it be possible to patch the 'rescue' keyword itself, so that we don't have to accept
|
9
|
+
# blocks as arguments?
|
10
|
+
|
11
|
+
def safe_rescue(error, &blk)
|
12
|
+
|
13
|
+
unless blk
|
14
|
+
raise ArgumentError, "a block should be passed"
|
15
|
+
end
|
16
|
+
|
17
|
+
unless error.is_a?(Class) or error.is_a?(String)
|
18
|
+
raise ArgumentError, "the given 'error' should either be a constant or string"
|
19
|
+
end
|
20
|
+
|
21
|
+
if error.is_a?(Class)
|
22
|
+
error_const = error
|
23
|
+
|
24
|
+
elsif error.is_a?(String) and Object.const_defined?(error)
|
25
|
+
error_const = error.constantize
|
26
|
+
|
27
|
+
elsif error.is_a?(String)
|
28
|
+
error_const = Object.const_set(error, Class.new(StandardError))
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
blk.call
|
33
|
+
|
34
|
+
rescue error_const
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
data/eitil_wrapper/README.md
CHANGED
@@ -59,7 +59,7 @@ The Eitil jobs wrapper enables you to create perform_now and perform_later jobs
|
|
59
59
|
|
60
60
|
The macro new_job accepts a :method as argument and defines a new method :method_job. The newly defined :method_job, when called, performs the orginal :method in the background. The new_job macro accepts both instance methods and singleton methods, which are defined within there own method scope.
|
61
61
|
|
62
|
-
In contrast, the
|
62
|
+
In contrast, the new_job_now macro defines a new :method_job_now method, which performs in the foreground.
|
63
63
|
|
64
64
|
```ruby
|
65
65
|
# require "eitil_wrapper/jobs/new_job"
|
@@ -70,11 +70,11 @@ new_job(_method, *args, **kwargs)
|
|
70
70
|
```
|
71
71
|
|
72
72
|
```ruby
|
73
|
-
# require "eitil_wrapper/jobs/
|
73
|
+
# require "eitil_wrapper/jobs/new_job_now"
|
74
74
|
|
75
|
-
|
76
|
-
# assuming a method :hello_world, call as:
|
77
|
-
# => defines :
|
75
|
+
new_job_now(_method, *args, **kwargs)
|
76
|
+
# assuming a method :hello_world, call as: new_job_now :hello_world
|
77
|
+
# => defines :hello_world_job_now
|
78
78
|
```
|
79
79
|
|
80
80
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
# require "eitil_wrapper/jobs/
|
2
|
+
# require "eitil_wrapper/jobs/new_job_now"
|
3
3
|
|
4
4
|
require "eitil_wrapper/jobs/single_method_job"
|
5
5
|
|
@@ -14,10 +14,10 @@ Kernel.module_eval do
|
|
14
14
|
# being that 'id' works for objects that have a database record, while '_self'
|
15
15
|
# works for non database supported instanes, such as an Exporter instance.
|
16
16
|
|
17
|
-
def
|
17
|
+
def new_job_now(_method, *args, **kwargs)
|
18
18
|
|
19
19
|
if instance_methods(false).include? _method
|
20
|
-
define_method "#{_method}
|
20
|
+
define_method "#{_method}_job_now" do |_self = nil, *args, **kwargs|
|
21
21
|
|
22
22
|
EitilWrapper::SingleMethodJob.perform_now(
|
23
23
|
*args, _class: self.class.to_s, _method: _method.to_s, id: safe_send(:id), _self: self.to_json, **kwargs
|
@@ -25,7 +25,7 @@ Kernel.module_eval do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
elsif singleton_methods(false).include? _method
|
28
|
-
define_singleton_method "#{_method}
|
28
|
+
define_singleton_method "#{_method}_job_now" do |*args, **kwargs|
|
29
29
|
|
30
30
|
EitilWrapper::SingleMethodJob.perform_now(
|
31
31
|
*args, _class: to_s, _method: _method.to_s, **kwargs
|
@@ -36,7 +36,20 @@ module EitilWrapper
|
|
36
36
|
else
|
37
37
|
_class.constantize
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
|
+
if args.present? and kwargs.present?
|
41
|
+
object.send _method, *args, **kwargs
|
42
|
+
|
43
|
+
elsif args.present?
|
44
|
+
object.send _method, *args
|
45
|
+
|
46
|
+
elsif kwargs.present?
|
47
|
+
object.send _method, **kwargs
|
48
|
+
|
49
|
+
else
|
50
|
+
object.send _method
|
51
|
+
end
|
52
|
+
|
40
53
|
end; end; end; end
|
41
54
|
|
42
55
|
|
data/lib/eitil/all.rb
CHANGED
@@ -7,7 +7,7 @@ Eitil::Layers.each do |layer|
|
|
7
7
|
begin
|
8
8
|
require "#{layer}/railtie"
|
9
9
|
require "#{layer}"
|
10
|
-
puts "succesfully required #{layer} and #{layer}/railtie" if Rails.env.development?
|
10
|
+
# puts "succesfully required #{layer} and #{layer}/railtie" if Rails.env.development?
|
11
11
|
|
12
12
|
rescue LoadError => e
|
13
13
|
puts "failed to require #{layer} and #{layer}/railtie"
|
data/lib/eitil/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eitil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jurriaan Schrofer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06
|
11
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -82,11 +82,15 @@ files:
|
|
82
82
|
- Rakefile
|
83
83
|
- eitil_core/README.md
|
84
84
|
- eitil_core/lib/eitil_core.rb
|
85
|
+
- eitil_core/lib/eitil_core/active_record.rb
|
86
|
+
- eitil_core/lib/eitil_core/active_record/hash_to_relation.rb
|
85
87
|
- eitil_core/lib/eitil_core/application_controller.rb
|
88
|
+
- eitil_core/lib/eitil_core/application_controller/permit_model_atts.rb
|
86
89
|
- eitil_core/lib/eitil_core/application_controller/slice_params.rb
|
87
90
|
- eitil_core/lib/eitil_core/application_record.rb
|
88
91
|
- eitil_core/lib/eitil_core/application_record/all_associations.rb
|
89
92
|
- eitil_core/lib/eitil_core/application_record/find_by_like.rb
|
93
|
+
- eitil_core/lib/eitil_core/application_record/model_atts.rb
|
90
94
|
- eitil_core/lib/eitil_core/application_record/where_like.rb
|
91
95
|
- eitil_core/lib/eitil_core/argument_helpers.rb
|
92
96
|
- eitil_core/lib/eitil_core/argument_helpers/all_args_to_ivars.rb
|
@@ -97,12 +101,16 @@ files:
|
|
97
101
|
- eitil_core/lib/eitil_core/argument_helpers/args_to_h_bang.rb
|
98
102
|
- eitil_core/lib/eitil_core/argument_helpers/args_to_ivars.rb
|
99
103
|
- eitil_core/lib/eitil_core/argument_helpers/args_to_ivars_bang.rb
|
104
|
+
- eitil_core/lib/eitil_core/array.rb
|
105
|
+
- eitil_core/lib/eitil_core/array/slice_hashes.rb
|
100
106
|
- eitil_core/lib/eitil_core/concerns.rb
|
101
107
|
- eitil_core/lib/eitil_core/concerns/include_concerns_of.rb
|
102
108
|
- eitil_core/lib/eitil_core/datetime.rb
|
103
109
|
- eitil_core/lib/eitil_core/datetime/prettify.rb
|
104
110
|
- eitil_core/lib/eitil_core/errors.rb
|
105
111
|
- eitil_core/lib/eitil_core/errors/raise_error.rb
|
112
|
+
- eitil_core/lib/eitil_core/files.rb
|
113
|
+
- eitil_core/lib/eitil_core/files/create_file.rb
|
106
114
|
- eitil_core/lib/eitil_core/float.rb
|
107
115
|
- eitil_core/lib/eitil_core/float/safe_to_i.rb
|
108
116
|
- eitil_core/lib/eitil_core/formatters.rb
|
@@ -119,9 +127,12 @@ files:
|
|
119
127
|
- eitil_core/lib/eitil_core/railtie.rb
|
120
128
|
- eitil_core/lib/eitil_core/safe_executions.rb
|
121
129
|
- eitil_core/lib/eitil_core/safe_executions/safe_call.rb
|
130
|
+
- eitil_core/lib/eitil_core/safe_executions/safe_rescue.rb
|
122
131
|
- eitil_core/lib/eitil_core/safe_executions/safe_send.rb
|
123
132
|
- eitil_core/lib/eitil_core/setters.rb
|
124
133
|
- eitil_core/lib/eitil_core/setters/set_ivars.rb
|
134
|
+
- eitil_core/lib/eitil_core/string.rb
|
135
|
+
- eitil_core/lib/eitil_core/string/strip_base64_header.rb
|
125
136
|
- eitil_core/lib/eitil_core/type_checkers.rb
|
126
137
|
- eitil_core/lib/eitil_core/type_checkers/is_num_or_nan.rb
|
127
138
|
- eitil_core/lib/eitil_core/validations.rb
|
@@ -171,7 +182,7 @@ files:
|
|
171
182
|
- eitil_wrapper/lib/eitil_wrapper/decorators/controller_decorator.rb
|
172
183
|
- eitil_wrapper/lib/eitil_wrapper/jobs.rb
|
173
184
|
- eitil_wrapper/lib/eitil_wrapper/jobs/new_job.rb
|
174
|
-
- eitil_wrapper/lib/eitil_wrapper/jobs/
|
185
|
+
- eitil_wrapper/lib/eitil_wrapper/jobs/new_job_now.rb
|
175
186
|
- eitil_wrapper/lib/eitil_wrapper/jobs/single_method_job.rb
|
176
187
|
- eitil_wrapper/lib/eitil_wrapper/railtie.rb
|
177
188
|
- eitil_wrapper/lib/eitil_wrapper/request_logger.rb
|