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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55a9eb80e11d60b8f4d7d7f8e3d6637d5f3264bc
4
- data.tar.gz: 87715245f47137376d3011e279984aa7dd8cb153
3
+ metadata.gz: d4f78f97e0eaef788e6dd8be60def7c86d705f5f
4
+ data.tar.gz: 67caf75f9efd96fe6482b2dca33d87350a884b48
5
5
  SHA512:
6
- metadata.gz: 4803d6f192f333b8f3c3cb3e2cbc4ff3fdcb646fc1a4f565e348aece5001fb8a775bbef354c83fc0c263184fc100a42bb260db10fe683b93a153bae94d50f9cc
7
- data.tar.gz: 6c8dc06a3bda7929f4287a563bf165468415227d037673115ebec20b67ed0b2868c4eeb2d4a92032c75f4fa11d5c76c015bd52d501f75d10bfcee6dbf8d791d5
6
+ metadata.gz: 5ab5e00f3d41cdc78532739a506d4af6cdd79a5e6ad42b9a40a4d0424937a47d58425864d1996bd2dc24e2858fdeb072108e2bd80dd506fa405cf0b6ce5ec896
7
+ data.tar.gz: 64543fe870c3aa17eb966a56e2e441ff43486cf5079a5ba2653fb9d3bfb46db3b536d07178c2e1d5e512b0da1674a63ed1f11a3065e7143ceb0e09a42b4bc566
@@ -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
- default_descriptor_name = options[:default_descriptor_name] || "#{root_element.key}.rb"
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] || Reality::Naming.underscore(module_type.name.gsub(/^(.*::)([^:]+)$/,'\2'))
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{reality-mda}
5
- s.version = '1.3.0'
5
+ s.version = '1.4.0'
6
6
  s.platform = Gem::Platform::RUBY
7
7
 
8
8
  s.authors = ['Peter Donald']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reality-mda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Donald