mimi-core 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mimi/core/module.rb +4 -0
- data/lib/mimi/core/rake.rb +17 -0
- data/lib/mimi/core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 379be852a7a0aac160719c253ca8e280ed84dd22
|
4
|
+
data.tar.gz: 46c156a9cb0d043a8ea2fa4a4f6120e1313d04d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7f43f458be088da9d0d823602c8169bd911e2998917fb5f6dc57b12b995ff7daa3655ae698e04621ee766845cb162c9b6e67b957115c145af5ef0f8244d289a
|
7
|
+
data.tar.gz: 457663a8aa64706a5733b16e1ccfa0d6fa5cc02085a828bcc2ca24201c860255bd991d8969bff72161501a56eb657689f2514458f5b24ae84de3087558950b94
|
data/lib/mimi/core/module.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
module Mimi
|
2
|
+
module Core
|
3
|
+
module Rake
|
4
|
+
def self.load_rake_tasks
|
5
|
+
app_and_modules_paths = [Mimi.app_root_path] + Mimi.loaded_modules_paths
|
6
|
+
rakefiles = app_and_modules_paths.map do |path|
|
7
|
+
Pathname.glob(path.join('lib', 'tasks', '**', '*.rake'))
|
8
|
+
end.flatten
|
9
|
+
rakefiles.each do |rakefile|
|
10
|
+
load rakefile
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end # module Rake
|
14
|
+
end # module Core
|
15
|
+
end # module Mimi
|
16
|
+
|
17
|
+
Mimi::Core::Rake.load_rake_tasks if defined?(Mimi::Core::Module)
|
data/lib/mimi/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mimi-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Kukushkin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- lib/mimi/core.rb
|
115
115
|
- lib/mimi/core/core_ext.rb
|
116
116
|
- lib/mimi/core/module.rb
|
117
|
+
- lib/mimi/core/rake.rb
|
117
118
|
- lib/mimi/core/version.rb
|
118
119
|
- mimi-core.gemspec
|
119
120
|
homepage: https://github.com/kukushkin/mimi-core
|