fedux_org-stdlib 0.7.15 → 0.7.16
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64dbc6097497bcaa8993b41c1c3652946056aebb
|
4
|
+
data.tar.gz: f9fda713e22ed13a0c9508eecd1a3e0e759d2e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d4262771a40968e48c80fab8b6c1353a7295d581e0fde5307a578cb4ea227595d4d4c7d2ef14b7a81c5b8ff90a889acb24922bb498acfd309cc6ff5f0c1bb18
|
7
|
+
data.tar.gz: afb8467ea171c53dfab51cf3ff6cfd4b7f07ce98fd5c767c31bbb7e3a58f2aff1d262f6557f0e21a46ee611faff5bc30c7f838b890e4164c9046ef7769e02c87
|
data/Gemfile.lock
CHANGED
@@ -16,7 +16,7 @@ module FeduxOrgStdlib
|
|
16
16
|
|
17
17
|
public
|
18
18
|
|
19
|
-
attr_reader :name, :gem_name
|
19
|
+
attr_reader :name, :gem_name, :required_file
|
20
20
|
|
21
21
|
def initialize(name, gem_name:, enabled:, prefix: nil)
|
22
22
|
@name = name
|
@@ -51,7 +51,10 @@ module FeduxOrgStdlib
|
|
51
51
|
begin
|
52
52
|
if !active?
|
53
53
|
begin
|
54
|
-
|
54
|
+
required_file = variants.shift
|
55
|
+
require required_file
|
56
|
+
|
57
|
+
@required_file = required_file
|
55
58
|
rescue LoadError
|
56
59
|
retry unless variants.blank?
|
57
60
|
|
@@ -104,10 +104,10 @@ module FeduxOrgStdlib
|
|
104
104
|
|
105
105
|
# String representation
|
106
106
|
def to_s
|
107
|
-
data = plugins.sort.inject([]) { |a, e| a << {name: e.name, enabled: e.enabled?, gem_name: e.gem_name} }
|
107
|
+
data = plugins.sort.inject([]) { |a, e| a << {name: e.name, enabled: e.enabled?, gem_name: e.gem_name, required_file: e.required_file} }
|
108
108
|
|
109
109
|
List.new(data).to_s(
|
110
|
-
fields: [:name, :gem_name, :enabled]
|
110
|
+
fields: [:name, :gem_name, :enabled, :required_file]
|
111
111
|
)
|
112
112
|
end
|
113
113
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fedux_org-stdlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Meyer
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- spec/examples/models/filesystem_based/find_files/abc.rb.swp
|
175
175
|
- spec/examples/models/filesystem_based/find_files/cde.rb
|
176
176
|
- spec/examples/project/plan.tjp
|
177
|
+
- spec/gem_plugins/plugin_manager_spec.rb
|
177
178
|
- spec/list_spec.rb
|
178
179
|
- spec/logger/logger_spec.rb
|
179
180
|
- spec/logic_converters/on_off_converter_spec.rb
|
@@ -184,7 +185,6 @@ files:
|
|
184
185
|
- spec/models/base_model_spec.rb
|
185
186
|
- spec/models/class_based_model_spec.rb
|
186
187
|
- spec/models/filesystem_based_model_spec.rb
|
187
|
-
- spec/plugins/plugin_manager_spec.rb
|
188
188
|
- spec/project/plan_spec.rb
|
189
189
|
- spec/project/report_spec.rb
|
190
190
|
- spec/project/taskjuggler_spec.rb
|
@@ -251,6 +251,7 @@ test_files:
|
|
251
251
|
- spec/examples/models/filesystem_based/find_files/abc.rb.swp
|
252
252
|
- spec/examples/models/filesystem_based/find_files/cde.rb
|
253
253
|
- spec/examples/project/plan.tjp
|
254
|
+
- spec/gem_plugins/plugin_manager_spec.rb
|
254
255
|
- spec/list_spec.rb
|
255
256
|
- spec/logger/logger_spec.rb
|
256
257
|
- spec/logic_converters/on_off_converter_spec.rb
|
@@ -261,7 +262,6 @@ test_files:
|
|
261
262
|
- spec/models/base_model_spec.rb
|
262
263
|
- spec/models/class_based_model_spec.rb
|
263
264
|
- spec/models/filesystem_based_model_spec.rb
|
264
|
-
- spec/plugins/plugin_manager_spec.rb
|
265
265
|
- spec/project/plan_spec.rb
|
266
266
|
- spec/project/report_spec.rb
|
267
267
|
- spec/project/taskjuggler_spec.rb
|