ae_easy-core 0.2.0 → 0.2.1
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/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +8 -4
- data/Rakefile +0 -10
- data/ae_easy-core.gemspec +6 -13
- data/lib/ae_easy/core.rb +4 -256
- metadata +18 -125
- data/doc/AeEasy.html +0 -117
- data/doc/AeEasy/Core.html +0 -1590
- data/doc/AeEasy/Core/Config.html +0 -311
- data/doc/AeEasy/Core/Exception.html +0 -117
- data/doc/AeEasy/Core/Exception/OutdatedError.html +0 -135
- data/doc/AeEasy/Core/Helper.html +0 -117
- data/doc/AeEasy/Core/Helper/Cookie.html +0 -1070
- data/doc/AeEasy/Core/Mock.html +0 -282
- data/doc/AeEasy/Core/Mock/FakeDb.html +0 -3779
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +0 -3289
- data/doc/AeEasy/Core/Mock/FakeFinisher.html +0 -160
- data/doc/AeEasy/Core/Mock/FakeParser.html +0 -160
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +0 -160
- data/doc/AeEasy/Core/Plugin.html +0 -117
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +0 -299
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +0 -541
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +0 -445
- data/doc/AeEasy/Core/Plugin/Executor.html +0 -259
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +0 -344
- data/doc/AeEasy/Core/Plugin/Finisher.html +0 -265
- data/doc/AeEasy/Core/Plugin/FinisherBehavior.html +0 -142
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +0 -220
- data/doc/AeEasy/Core/Plugin/Parser.html +0 -270
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +0 -235
- data/doc/AeEasy/Core/Plugin/Seeder.html +0 -674
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +0 -142
- data/doc/AeEasy/Core/SmartCollection.html +0 -1087
- data/doc/_index.html +0 -364
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -91
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -91
- data/doc/js/app.js +0 -303
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -939
- data/doc/top-level-namespace.html +0 -110
- data/lib/ae_easy/core/config.rb +0 -27
- data/lib/ae_easy/core/exception.rb +0 -8
- data/lib/ae_easy/core/exception/outdated_error.rb +0 -9
- data/lib/ae_easy/core/helper.rb +0 -8
- data/lib/ae_easy/core/helper/cookie.rb +0 -209
- data/lib/ae_easy/core/mock.rb +0 -45
- data/lib/ae_easy/core/mock/fake_db.rb +0 -561
- data/lib/ae_easy/core/mock/fake_executor.rb +0 -373
- data/lib/ae_easy/core/mock/fake_finisher.rb +0 -28
- data/lib/ae_easy/core/mock/fake_parser.rb +0 -33
- data/lib/ae_easy/core/mock/fake_seeder.rb +0 -28
- data/lib/ae_easy/core/plugin.rb +0 -19
- data/lib/ae_easy/core/plugin/collection_vault.rb +0 -23
- data/lib/ae_easy/core/plugin/config_behavior.rb +0 -43
- data/lib/ae_easy/core/plugin/context_integrator.rb +0 -60
- data/lib/ae_easy/core/plugin/executor.rb +0 -19
- data/lib/ae_easy/core/plugin/executor_behavior.rb +0 -32
- data/lib/ae_easy/core/plugin/finisher.rb +0 -19
- data/lib/ae_easy/core/plugin/finisher_behavior.rb +0 -9
- data/lib/ae_easy/core/plugin/initialize_hook.rb +0 -17
- data/lib/ae_easy/core/plugin/parser.rb +0 -19
- data/lib/ae_easy/core/plugin/parser_behavior.rb +0 -17
- data/lib/ae_easy/core/plugin/seeder.rb +0 -44
- data/lib/ae_easy/core/plugin/seeder_behavior.rb +0 -9
- data/lib/ae_easy/core/smart_collection.rb +0 -236
- data/lib/ae_easy/core/version.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d040d2c228ff020f2bbf17b8c0407ae8d156626b6a308577631fd629784dbd9
|
4
|
+
data.tar.gz: df1407150ca1f9e849b69dd22a5f849bdd1ab2203fa9894a9c8242e36a226a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a895391ceef24aa52edff2c25953ef96c2a5db3e68917b14433302d5ad8ac6091a6c3b0996d08fd9ec9fa5231fd023e6afa283146464d62caa5bfa60e2a3899
|
7
|
+
data.tar.gz: 2da2716b8c401fe27c98966d167d55d629ff1c67e31c81df3608321fb3e00bac5d393e9b3d3b6a4ec8fa20c41d1615a3dff3ce5cb34fdc7312f9ab5942ebaca2
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at perry@datahen.com. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/Gemfile
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,12 +5,16 @@
|
|
5
5
|
# AeEasy core module
|
6
6
|
## Description
|
7
7
|
|
8
|
-
AeEasy core is part of AeEasy gem collection and
|
8
|
+
AeEasy core is part of AeEasy gem collection and an alias to [dh_easy-core](https://github.com/DataHenOfficial/dh_easy-core/) gem. It provides a compatibility layer for advance DataHen features possible by function as a base for other gems.
|
9
9
|
|
10
10
|
Install gem:
|
11
|
-
```
|
11
|
+
```ruby
|
12
|
+
gem install 'ae_easy-core'
|
13
|
+
```
|
12
14
|
|
13
15
|
Require gem:
|
14
|
-
```
|
16
|
+
```ruby
|
17
|
+
require 'ae_easy/core'
|
18
|
+
```
|
15
19
|
|
16
|
-
|
20
|
+
See [dh_easy-core](https://github.com/DataHenOfficial/dh_easy-core/) gem for documentation.
|
data/Rakefile
CHANGED
@@ -9,14 +9,4 @@ Rake::TestTask.new do |t|
|
|
9
9
|
t.test_files = FileList['./test/**/*_test.rb']
|
10
10
|
end
|
11
11
|
|
12
|
-
desc 'Benchmark another task execution | usage example: benchmark[my_task, param1, param2]'
|
13
|
-
task :benchmark, [:task] do |task, args|
|
14
|
-
task_name = args[:task]
|
15
|
-
if task_name.nil?
|
16
|
-
puts "Should select a task."
|
17
|
-
exit 1
|
18
|
-
end
|
19
|
-
puts Benchmark.measure{ Rake::Task[task_name].invoke *args.extras }
|
20
|
-
end
|
21
|
-
|
22
12
|
task default: :test
|
data/ae_easy-core.gemspec
CHANGED
@@ -1,22 +1,18 @@
|
|
1
1
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "ae_easy/core/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "ae_easy-core"
|
8
|
-
spec.version =
|
7
|
+
spec.version = "0.2.1"
|
9
8
|
spec.authors = ["Eduardo Rosales"]
|
10
9
|
spec.email = ["eduardo@datahen.com"]
|
11
10
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
14
|
-
spec.homepage = "https://
|
11
|
+
spec.summary = %q{(Deprecated: Use dh_easy-core gem instead.) Compatibility alias for DataHen Easy toolkit core module}
|
12
|
+
spec.description = %q{(Deprecated: Use dh_easy-core gem instead.) Compatibility alias for DataHen Easy toolkit core module to support other complex modules.}
|
13
|
+
spec.homepage = "https://datahen.com"
|
15
14
|
spec.license = "MIT"
|
16
15
|
|
17
|
-
# spec.cert_chain = ['certs/ae_easy.pem']
|
18
|
-
# spec.signing_key = File.expand_path("~/.ssh/gems/gem-private_ae_easy.pem") if $0 =~ /gem\z/
|
19
|
-
|
20
16
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
21
17
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
22
18
|
if spec.respond_to?(:metadata)
|
@@ -38,13 +34,10 @@ Gem::Specification.new do |spec|
|
|
38
34
|
spec.require_paths = ["lib"]
|
39
35
|
spec.required_ruby_version = '>= 2.2.2'
|
40
36
|
|
41
|
-
spec.add_dependency '
|
42
|
-
spec.add_dependency '
|
37
|
+
spec.add_dependency 'dh_easy-core', '>= 0'
|
38
|
+
spec.add_dependency 'answersengine', '>= 0.10.2'
|
43
39
|
spec.add_development_dependency 'bundler', '>= 1'
|
44
40
|
spec.add_development_dependency 'rake', '~> 10'
|
45
41
|
spec.add_development_dependency 'minitest', '~> 5'
|
46
|
-
spec.add_development_dependency 'simplecov', '~> 0'
|
47
|
-
spec.add_development_dependency 'simplecov-console', '~> 0'
|
48
|
-
spec.add_development_dependency 'timecop', '~> 0'
|
49
42
|
spec.add_development_dependency 'byebug', '>= 0'
|
50
43
|
end
|
data/lib/ae_easy/core.rb
CHANGED
@@ -1,257 +1,5 @@
|
|
1
|
-
require '
|
2
|
-
require
|
3
|
-
require 'answersengine'
|
4
|
-
require 'ae_easy/core/smart_collection'
|
5
|
-
require 'ae_easy/core/exception'
|
6
|
-
require 'ae_easy/core/plugin'
|
7
|
-
require 'ae_easy/core/helper'
|
8
|
-
require 'ae_easy/core/config'
|
9
|
-
require 'ae_easy/core/mock'
|
10
|
-
require 'ae_easy/core/version'
|
1
|
+
require 'dh_easy/core'
|
2
|
+
require "answersengine"
|
11
3
|
|
12
|
-
module
|
13
|
-
|
14
|
-
class << self
|
15
|
-
# Get AeEasy-core gem root directory path.
|
16
|
-
# @private
|
17
|
-
#
|
18
|
-
# @return [String]
|
19
|
-
def gem_root
|
20
|
-
File.expand_path File.join(File.dirname(__FILE__), '../..')
|
21
|
-
end
|
22
|
-
|
23
|
-
# Execute an action for all scripts within a directory.
|
24
|
-
#
|
25
|
-
# @param [String] dir Directory containing `.rb` scripts.
|
26
|
-
# @param [Hash] opts ({}) Configuration options.
|
27
|
-
# @option opts [Array] :except (nil) Literal file collection excluded from process.
|
28
|
-
#
|
29
|
-
# @yieldparam [String] path Script file path.
|
30
|
-
def all_scripts dir, opts = {}, &block
|
31
|
-
excluded_files = (opts[:except] || []).map{|f|File.expand_path File.join(dir, f)}
|
32
|
-
files = Dir[File.join(File.expand_path(dir), '*.rb')] - excluded_files
|
33
|
-
block ||= proc{}
|
34
|
-
files.sort.each &block
|
35
|
-
end
|
36
|
-
|
37
|
-
# Require all scripts within a directory.
|
38
|
-
#
|
39
|
-
# @param [String] dir Directory containing `.rb` scripts.
|
40
|
-
# @param [Hash] opts ({}) Configuration options.
|
41
|
-
# @option opts [Array] :except (nil) Literal file collection excluded from process.
|
42
|
-
def require_all dir, opts = {}
|
43
|
-
dir_list = real_dir_list = options = nil
|
44
|
-
real_except = (opts[:except] || []).map{|f| "#{f}.rb"}
|
45
|
-
options = opts.merge except: real_except
|
46
|
-
$LOAD_PATH.each do |load_path|
|
47
|
-
dir_list = Dir.glob File.join(load_path, dir)
|
48
|
-
dir_list.each do |real_dir|
|
49
|
-
next unless File.directory? real_dir
|
50
|
-
all_scripts(real_dir, options) {|file| require file}
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
# Require all relative scripts paths within a directory.
|
56
|
-
#
|
57
|
-
# @param [String] dir Directory containing `.rb` scripts.
|
58
|
-
# @param [Hash] opts ({}) Configuration options.
|
59
|
-
# @option opts [Array] :except (nil) Literal file collection excluded from process.
|
60
|
-
def require_relative_all dir, opts = {}
|
61
|
-
real_except = (opts[:except] || []).map{|f| "#{f}.rb"}
|
62
|
-
options = opts.merge except: real_except
|
63
|
-
dir_list = Dir.glob dir
|
64
|
-
dir_list.each do |relative_dir|
|
65
|
-
real_dir = File.expand_path relative_dir
|
66
|
-
all_scripts(real_dir, options) {|file| require file}
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
# Expose an environment into an object instance as methods.
|
71
|
-
#
|
72
|
-
# @param object Object instance to expose env into.
|
73
|
-
# @param [Array] env Hash with methods name as keys and blocks as actions.
|
74
|
-
#
|
75
|
-
# @return `object`
|
76
|
-
#
|
77
|
-
# @example
|
78
|
-
# class Foo
|
79
|
-
# def hello_person
|
80
|
-
# 'Hello person!'
|
81
|
-
# end
|
82
|
-
# end
|
83
|
-
#
|
84
|
-
# env = {
|
85
|
-
# hello_world: lambda{return 'Hello world!'},
|
86
|
-
# hello_sky: proc{return 'Hello sky!'}
|
87
|
-
# }
|
88
|
-
# my_object = Foo.new
|
89
|
-
# AeEasy::Core.expose_to my_object, env
|
90
|
-
#
|
91
|
-
# puts my_object.hello_world
|
92
|
-
# # => 'Hello world!'
|
93
|
-
# puts my_object.hello_sky
|
94
|
-
# # => 'Hello sky!'
|
95
|
-
# puts my_object.hello_person
|
96
|
-
# # => 'Hello person!'
|
97
|
-
def expose_to object, env
|
98
|
-
metaclass = class << object; self; end
|
99
|
-
env.each do |key, block|
|
100
|
-
metaclass.send(:define_method, key, block)
|
101
|
-
end
|
102
|
-
object
|
103
|
-
end
|
104
|
-
|
105
|
-
# Retrieve instance methods from an object.
|
106
|
-
#
|
107
|
-
# @param object Object with instance methods.
|
108
|
-
# @param class_only (false) Will get class only methods when `true`.
|
109
|
-
#
|
110
|
-
# @return [Array]
|
111
|
-
#
|
112
|
-
# @example
|
113
|
-
# class Foo
|
114
|
-
# def hello_world
|
115
|
-
# 'Hello world!'
|
116
|
-
# end
|
117
|
-
#
|
118
|
-
# def hello_person
|
119
|
-
# 'Hello person!'
|
120
|
-
# end
|
121
|
-
# end
|
122
|
-
#
|
123
|
-
# my_object = Foo.new
|
124
|
-
# AeEasy::Core.instance_methods_from my_object
|
125
|
-
# # => [:hello_world, :hello_person]
|
126
|
-
def instance_methods_from object, class_only = false
|
127
|
-
object.methods(!class_only) - Object.new.methods(!class_only)
|
128
|
-
end
|
129
|
-
|
130
|
-
# Mock instances methods from the origin into target object.
|
131
|
-
#
|
132
|
-
# @param origin Object with instance methods to mock.
|
133
|
-
# @param target Object instance to mock methods into.
|
134
|
-
#
|
135
|
-
# @example
|
136
|
-
# class Boo
|
137
|
-
# attr_accessor :message
|
138
|
-
# def initialize
|
139
|
-
# message = 'Hello world!'
|
140
|
-
# end
|
141
|
-
#
|
142
|
-
# def hello_world
|
143
|
-
# message
|
144
|
-
# end
|
145
|
-
# end
|
146
|
-
#
|
147
|
-
# class Foo
|
148
|
-
# def hello_person
|
149
|
-
# 'Hello person!'
|
150
|
-
# end
|
151
|
-
# end
|
152
|
-
#
|
153
|
-
# origin = Boo.new
|
154
|
-
# target = Foo.new
|
155
|
-
# AeEasy::Core.mock_instance_methods origin target
|
156
|
-
#
|
157
|
-
# puts target.hello_world
|
158
|
-
# # => 'Hello world!'
|
159
|
-
# puts target.hello_person
|
160
|
-
# # => 'Hello person!'
|
161
|
-
#
|
162
|
-
# origin.message = 'Hello world again!'
|
163
|
-
# puts target.hello_world
|
164
|
-
# # => 'Hello world again!'
|
165
|
-
def mock_instance_methods origin, target
|
166
|
-
# Get instance unique methods
|
167
|
-
method_list = instance_methods_from origin
|
168
|
-
method_list.delete :context_binding if method_list.include? :context_binding
|
169
|
-
|
170
|
-
# Build env reflecting origin unique methods
|
171
|
-
env = {}
|
172
|
-
method_list.each do |method|
|
173
|
-
env[method] = lambda{|*args|origin.send(method, *args)}
|
174
|
-
end
|
175
|
-
|
176
|
-
# Mock origin unique methods into target
|
177
|
-
expose_to target, env
|
178
|
-
end
|
179
|
-
|
180
|
-
# Generate a compatibility report from a origin and a fragment as a hash.
|
181
|
-
#
|
182
|
-
# @param [Array] origin Item collection to represent the universe.
|
183
|
-
# @param [Array] fragment Item collection to compare againt +origin+.
|
184
|
-
#
|
185
|
-
# @return [Hash]
|
186
|
-
# * `:missing [Array]` (`[]`) Methods on `fragment` only.
|
187
|
-
# * `:new [Array]` (`[]`) Methods on `origin` only.
|
188
|
-
# * `:is_compatible [Boolean]` true when all `fragment`'s methods are present on `origin`.
|
189
|
-
#
|
190
|
-
# @example Analyze when uncompatible `fragment` because of `origin` missing fields.
|
191
|
-
# AeEasy::Core.analyze_compatibility [1,2,3,4,5], [1,2,6]
|
192
|
-
# # => {missing: [6], new: [3,4,5], is_compatible: false}
|
193
|
-
#
|
194
|
-
# @example Analyze when compatible.
|
195
|
-
# AeEasy::Core.analyze_compatibility [1,2,3,4,5], [1,2,3]
|
196
|
-
# # => {missing: [], new: [4,5], is_compatible: true}
|
197
|
-
def analyze_compatibility origin, fragment
|
198
|
-
intersection = origin & fragment
|
199
|
-
{
|
200
|
-
missing: fragment - intersection,
|
201
|
-
new: origin - intersection,
|
202
|
-
is_compatible: (intersection.count == fragment.count)
|
203
|
-
}
|
204
|
-
end
|
205
|
-
|
206
|
-
# Deep stringify keys from a hash.
|
207
|
-
#
|
208
|
-
# @param [Hash] hash Source hash to stringify keys.
|
209
|
-
# @param [Boolean] should_clone (true) Target a hash clone to avoid affecting the same hash object.
|
210
|
-
#
|
211
|
-
# @return [Hash]
|
212
|
-
def deep_stringify_keys hash, should_clone = true
|
213
|
-
return hash unless hash.is_a? Hash
|
214
|
-
pair_collection = hash.map{|k,v| [k.to_s,v]}
|
215
|
-
target = should_clone ? {} : hash
|
216
|
-
target.clear
|
217
|
-
pair_collection.each do |pair|
|
218
|
-
key, value = pair
|
219
|
-
if value.is_a? Array
|
220
|
-
array = []
|
221
|
-
value.each do |item|
|
222
|
-
array << deep_stringify_keys(item, should_clone)
|
223
|
-
end
|
224
|
-
target[key] = array
|
225
|
-
next
|
226
|
-
end
|
227
|
-
target[key] = deep_stringify_keys(value, should_clone)
|
228
|
-
end
|
229
|
-
target
|
230
|
-
end
|
231
|
-
|
232
|
-
# Deep stringify all keys on hash object.
|
233
|
-
#
|
234
|
-
# @param [Hash] hash Hash to stringify keys.
|
235
|
-
#
|
236
|
-
# @return [Hash]
|
237
|
-
def deep_stringify_keys! hash
|
238
|
-
deep_stringify_keys hash, false
|
239
|
-
end
|
240
|
-
|
241
|
-
# Deep clone a hash while keeping it's values object references.
|
242
|
-
#
|
243
|
-
# @param [Hash] hash Hash to clone.
|
244
|
-
# @param [Boolean] should_clone (false) Clone values when true.
|
245
|
-
#
|
246
|
-
# @return [Hash] Hash clone.
|
247
|
-
def deep_clone hash, should_clone = false
|
248
|
-
target = {}
|
249
|
-
hash.each do |key, value|
|
250
|
-
value = value.is_a?(Hash) ? deep_clone(value, should_clone) : (should_clone ? value.clone : value)
|
251
|
-
target[key] = value
|
252
|
-
end
|
253
|
-
target
|
254
|
-
end
|
255
|
-
end
|
256
|
-
end
|
257
|
-
end
|
4
|
+
# (Deprecated) Alias to DhEasy module.
|
5
|
+
AeEasy = ::DhEasy unless defined? ::AeEasy
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_easy-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
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-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: dh_easy-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '0'
|
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'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: answersengine
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.10.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.10.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,48 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '5'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: simplecov
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: simplecov-console
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: timecop
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
83
|
- !ruby/object:Gem::Dependency
|
126
84
|
name: byebug
|
127
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +94,8 @@ dependencies:
|
|
136
94
|
- - ">="
|
137
95
|
- !ruby/object:Gem::Version
|
138
96
|
version: '0'
|
139
|
-
description:
|
97
|
+
description: "(Deprecated: Use dh_easy-core gem instead.) Compatibility alias for
|
98
|
+
DataHen Easy toolkit core module to support other complex modules."
|
140
99
|
email:
|
141
100
|
- eduardo@datahen.com
|
142
101
|
executables: []
|
@@ -152,79 +111,12 @@ files:
|
|
152
111
|
- README.md
|
153
112
|
- Rakefile
|
154
113
|
- ae_easy-core.gemspec
|
155
|
-
- doc/AeEasy.html
|
156
|
-
- doc/AeEasy/Core.html
|
157
|
-
- doc/AeEasy/Core/Config.html
|
158
|
-
- doc/AeEasy/Core/Exception.html
|
159
|
-
- doc/AeEasy/Core/Exception/OutdatedError.html
|
160
|
-
- doc/AeEasy/Core/Helper.html
|
161
|
-
- doc/AeEasy/Core/Helper/Cookie.html
|
162
|
-
- doc/AeEasy/Core/Mock.html
|
163
|
-
- doc/AeEasy/Core/Mock/FakeDb.html
|
164
|
-
- doc/AeEasy/Core/Mock/FakeExecutor.html
|
165
|
-
- doc/AeEasy/Core/Mock/FakeFinisher.html
|
166
|
-
- doc/AeEasy/Core/Mock/FakeParser.html
|
167
|
-
- doc/AeEasy/Core/Mock/FakeSeeder.html
|
168
|
-
- doc/AeEasy/Core/Plugin.html
|
169
|
-
- doc/AeEasy/Core/Plugin/CollectionVault.html
|
170
|
-
- doc/AeEasy/Core/Plugin/ConfigBehavior.html
|
171
|
-
- doc/AeEasy/Core/Plugin/ContextIntegrator.html
|
172
|
-
- doc/AeEasy/Core/Plugin/Executor.html
|
173
|
-
- doc/AeEasy/Core/Plugin/ExecutorBehavior.html
|
174
|
-
- doc/AeEasy/Core/Plugin/Finisher.html
|
175
|
-
- doc/AeEasy/Core/Plugin/FinisherBehavior.html
|
176
|
-
- doc/AeEasy/Core/Plugin/InitializeHook.html
|
177
|
-
- doc/AeEasy/Core/Plugin/Parser.html
|
178
|
-
- doc/AeEasy/Core/Plugin/ParserBehavior.html
|
179
|
-
- doc/AeEasy/Core/Plugin/Seeder.html
|
180
|
-
- doc/AeEasy/Core/Plugin/SeederBehavior.html
|
181
|
-
- doc/AeEasy/Core/SmartCollection.html
|
182
|
-
- doc/_index.html
|
183
|
-
- doc/class_list.html
|
184
|
-
- doc/css/common.css
|
185
|
-
- doc/css/full_list.css
|
186
|
-
- doc/css/style.css
|
187
|
-
- doc/file.README.html
|
188
|
-
- doc/file_list.html
|
189
|
-
- doc/frames.html
|
190
|
-
- doc/index.html
|
191
|
-
- doc/js/app.js
|
192
|
-
- doc/js/full_list.js
|
193
|
-
- doc/js/jquery.js
|
194
|
-
- doc/method_list.html
|
195
|
-
- doc/top-level-namespace.html
|
196
114
|
- lib/ae_easy/core.rb
|
197
|
-
|
198
|
-
- lib/ae_easy/core/exception.rb
|
199
|
-
- lib/ae_easy/core/exception/outdated_error.rb
|
200
|
-
- lib/ae_easy/core/helper.rb
|
201
|
-
- lib/ae_easy/core/helper/cookie.rb
|
202
|
-
- lib/ae_easy/core/mock.rb
|
203
|
-
- lib/ae_easy/core/mock/fake_db.rb
|
204
|
-
- lib/ae_easy/core/mock/fake_executor.rb
|
205
|
-
- lib/ae_easy/core/mock/fake_finisher.rb
|
206
|
-
- lib/ae_easy/core/mock/fake_parser.rb
|
207
|
-
- lib/ae_easy/core/mock/fake_seeder.rb
|
208
|
-
- lib/ae_easy/core/plugin.rb
|
209
|
-
- lib/ae_easy/core/plugin/collection_vault.rb
|
210
|
-
- lib/ae_easy/core/plugin/config_behavior.rb
|
211
|
-
- lib/ae_easy/core/plugin/context_integrator.rb
|
212
|
-
- lib/ae_easy/core/plugin/executor.rb
|
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
|
216
|
-
- lib/ae_easy/core/plugin/initialize_hook.rb
|
217
|
-
- lib/ae_easy/core/plugin/parser.rb
|
218
|
-
- lib/ae_easy/core/plugin/parser_behavior.rb
|
219
|
-
- lib/ae_easy/core/plugin/seeder.rb
|
220
|
-
- lib/ae_easy/core/plugin/seeder_behavior.rb
|
221
|
-
- lib/ae_easy/core/smart_collection.rb
|
222
|
-
- lib/ae_easy/core/version.rb
|
223
|
-
homepage: https://answersengine.com
|
115
|
+
homepage: https://datahen.com
|
224
116
|
licenses:
|
225
117
|
- MIT
|
226
118
|
metadata:
|
227
|
-
homepage_uri: https://
|
119
|
+
homepage_uri: https://datahen.com
|
228
120
|
source_code_uri: https://github.com/answersengine/ae_easy-core
|
229
121
|
post_install_message:
|
230
122
|
rdoc_options: []
|
@@ -245,5 +137,6 @@ rubyforge_project:
|
|
245
137
|
rubygems_version: 2.7.6
|
246
138
|
signing_key:
|
247
139
|
specification_version: 4
|
248
|
-
summary:
|
140
|
+
summary: "(Deprecated: Use dh_easy-core gem instead.) Compatibility alias for DataHen
|
141
|
+
Easy toolkit core module"
|
249
142
|
test_files: []
|