reality-mda 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reality/mda/core.rb +3 -2
- data/reality-mda.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4f78f97e0eaef788e6dd8be60def7c86d705f5f
|
4
|
+
data.tar.gz: 67caf75f9efd96fe6482b2dca33d87350a884b48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ab5e00f3d41cdc78532739a506d4af6cdd79a5e6ad42b9a40a4d0424937a47d58425864d1996bd2dc24e2858fdeb072108e2bd80dd506fa405cf0b6ce5ec896
|
7
|
+
data.tar.gz: 64543fe870c3aa17eb966a56e2e441ff43486cf5079a5ba2653fb9d3bfb46db3b536d07178c2e1d5e512b0da1674a63ed1f11a3065e7143ceb0e09a42b4bc566
|
data/lib/reality/mda/core.rb
CHANGED
@@ -76,9 +76,10 @@ module Reality #nodoc
|
|
76
76
|
|
77
77
|
def define_build_container(module_type, root_element, template_set_container, options = {})
|
78
78
|
|
79
|
-
|
79
|
+
system_name = options[:system_name] || Reality::Naming.underscore(module_type.name.gsub(/^(.*::)([^:]+)$/, '\2'))
|
80
|
+
default_descriptor_name = options[:default_descriptor_name] || "#{system_name}.rb"
|
80
81
|
build_container_key = options[:build_container_key] || :Build
|
81
|
-
buildr_prefix = options[:buildr_prefix] ||
|
82
|
+
buildr_prefix = options[:buildr_prefix] || system_name
|
82
83
|
module_type.class_eval <<-RUBY
|
83
84
|
class #{build_container_key}
|
84
85
|
class << self
|
data/reality-mda.gemspec
CHANGED