ae_easy-core 0.1.9 → 0.2.0
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/README.md +1 -1
- data/ae_easy-core.gemspec +1 -1
- data/doc/AeEasy.html +116 -116
- data/doc/AeEasy/Core.html +1217 -1217
- data/doc/AeEasy/Core/Config.html +284 -284
- data/doc/AeEasy/Core/Exception.html +116 -116
- data/doc/AeEasy/Core/Exception/OutdatedError.html +132 -132
- data/doc/AeEasy/Core/Helper.html +116 -116
- data/doc/AeEasy/Core/Helper/Cookie.html +797 -797
- data/doc/AeEasy/Core/Mock.html +231 -231
- data/doc/AeEasy/Core/Mock/FakeDb.html +3133 -2729
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +2852 -2259
- data/doc/AeEasy/Core/Mock/FakeFinisher.html +160 -0
- data/doc/AeEasy/Core/Mock/FakeParser.html +157 -157
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +157 -157
- data/doc/AeEasy/Core/Plugin.html +116 -116
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +262 -262
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +471 -471
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +365 -365
- data/doc/AeEasy/Core/Plugin/Executor.html +243 -243
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +299 -299
- data/doc/AeEasy/Core/Plugin/Finisher.html +265 -0
- data/doc/AeEasy/Core/Plugin/FinisherBehavior.html +142 -0
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +198 -198
- data/doc/AeEasy/Core/Plugin/Parser.html +254 -254
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +216 -216
- data/doc/AeEasy/Core/Plugin/Seeder.html +594 -594
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +141 -141
- data/doc/AeEasy/Core/SmartCollection.html +804 -804
- data/doc/_index.html +363 -342
- data/doc/class_list.html +51 -51
- data/doc/css/full_list.css +58 -58
- data/doc/css/style.css +496 -496
- data/doc/file.README.html +70 -70
- data/doc/file_list.html +56 -56
- data/doc/frames.html +17 -17
- data/doc/index.html +70 -70
- data/doc/js/app.js +303 -292
- data/doc/js/full_list.js +216 -216
- data/doc/js/jquery.js +3 -3
- data/doc/method_list.html +939 -851
- data/doc/top-level-namespace.html +109 -109
- data/lib/ae_easy/core/mock.rb +1 -0
- data/lib/ae_easy/core/mock/fake_db.rb +67 -1
- data/lib/ae_easy/core/mock/fake_executor.rb +61 -0
- data/lib/ae_easy/core/mock/fake_finisher.rb +28 -0
- data/lib/ae_easy/core/mock/fake_parser.rb +3 -1
- data/lib/ae_easy/core/plugin.rb +2 -0
- data/lib/ae_easy/core/plugin/finisher.rb +19 -0
- data/lib/ae_easy/core/plugin/finisher_behavior.rb +9 -0
- data/lib/ae_easy/core/version.rb +1 -1
- metadata +10 -4
data/lib/ae_easy/core/plugin.rb
CHANGED
@@ -8,6 +8,8 @@ require 'ae_easy/core/plugin/parser_behavior'
|
|
8
8
|
require 'ae_easy/core/plugin/parser'
|
9
9
|
require 'ae_easy/core/plugin/seeder_behavior'
|
10
10
|
require 'ae_easy/core/plugin/seeder'
|
11
|
+
require 'ae_easy/core/plugin/finisher_behavior'
|
12
|
+
require 'ae_easy/core/plugin/finisher'
|
11
13
|
|
12
14
|
module AeEasy
|
13
15
|
module Core
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module AeEasy
|
2
|
+
module Core
|
3
|
+
module Plugin
|
4
|
+
module Finisher
|
5
|
+
include AeEasy::Core::Plugin::InitializeHook
|
6
|
+
include AeEasy::Core::Plugin::FinisherBehavior
|
7
|
+
|
8
|
+
# Initialize finisher and hooks.
|
9
|
+
#
|
10
|
+
# @param [Hash] opts ({}) Configuration options.
|
11
|
+
#
|
12
|
+
# @see AeEasy::Core::Plugin::ContextIntegrator#initialize_hook_core_context_integrator
|
13
|
+
def initialize opts = {}
|
14
|
+
initialize_hooks opts
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/ae_easy/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_easy-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Rosales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: answersengine
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- doc/AeEasy/Core/Mock.html
|
163
163
|
- doc/AeEasy/Core/Mock/FakeDb.html
|
164
164
|
- doc/AeEasy/Core/Mock/FakeExecutor.html
|
165
|
+
- doc/AeEasy/Core/Mock/FakeFinisher.html
|
165
166
|
- doc/AeEasy/Core/Mock/FakeParser.html
|
166
167
|
- doc/AeEasy/Core/Mock/FakeSeeder.html
|
167
168
|
- doc/AeEasy/Core/Plugin.html
|
@@ -170,6 +171,8 @@ files:
|
|
170
171
|
- doc/AeEasy/Core/Plugin/ContextIntegrator.html
|
171
172
|
- doc/AeEasy/Core/Plugin/Executor.html
|
172
173
|
- doc/AeEasy/Core/Plugin/ExecutorBehavior.html
|
174
|
+
- doc/AeEasy/Core/Plugin/Finisher.html
|
175
|
+
- doc/AeEasy/Core/Plugin/FinisherBehavior.html
|
173
176
|
- doc/AeEasy/Core/Plugin/InitializeHook.html
|
174
177
|
- doc/AeEasy/Core/Plugin/Parser.html
|
175
178
|
- doc/AeEasy/Core/Plugin/ParserBehavior.html
|
@@ -199,6 +202,7 @@ files:
|
|
199
202
|
- lib/ae_easy/core/mock.rb
|
200
203
|
- lib/ae_easy/core/mock/fake_db.rb
|
201
204
|
- lib/ae_easy/core/mock/fake_executor.rb
|
205
|
+
- lib/ae_easy/core/mock/fake_finisher.rb
|
202
206
|
- lib/ae_easy/core/mock/fake_parser.rb
|
203
207
|
- lib/ae_easy/core/mock/fake_seeder.rb
|
204
208
|
- lib/ae_easy/core/plugin.rb
|
@@ -207,6 +211,8 @@ files:
|
|
207
211
|
- lib/ae_easy/core/plugin/context_integrator.rb
|
208
212
|
- lib/ae_easy/core/plugin/executor.rb
|
209
213
|
- lib/ae_easy/core/plugin/executor_behavior.rb
|
214
|
+
- lib/ae_easy/core/plugin/finisher.rb
|
215
|
+
- lib/ae_easy/core/plugin/finisher_behavior.rb
|
210
216
|
- lib/ae_easy/core/plugin/initialize_hook.rb
|
211
217
|
- lib/ae_easy/core/plugin/parser.rb
|
212
218
|
- lib/ae_easy/core/plugin/parser_behavior.rb
|