demoApp 0.0.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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjEwZjNmNmE2ZDU3N2ExZTc5ZmNiZjZlYzEzZjAzYjFiOTdiZGE1YQ==
5
+ data.tar.gz: !binary |-
6
+ OTdhNTg0OWZiMDVlZTRkM2M5YmY3YzJjOGU3ZjBmZDIxY2FiNTIzMA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NWE1N2Y3MzY1Y2E4MWU5MGVjOTI1ZWU2NzcyYjdiYjcxMTQyODIyYWZiYTZl
10
+ Y2QxNDk4Y2U2MDAwMDdjMzlkMzU4NTFiZTc4ZjQzNTg4OTdjZDViNTZhNTE0
11
+ MDg0ODY0MmNlZjQ3MjRkZmRkZDQ0OTdjMDU3ZDhhMDBiODg4NDI=
12
+ data.tar.gz: !binary |-
13
+ ZDcyNjRhN2FkNTIwOGYyNjI5MWM4MmM0MjIyNmUxODExOTJhMGY3YjBjOTg1
14
+ MTU2M2U3YTRkYjk2OTE4OTYxNDFhYjIxYWJlMDFhN2JjNzMyMTVlYjgyMGUy
15
+ MmVkMjU3MjYxYTIxNmJjYWVhYWFmMjUwOTI5MTNlZTU5NDVhODQ=
@@ -0,0 +1,16 @@
1
+ $:.unshift File.dirname(__FILE__) + "/.."
2
+ $:.unshift File.dirname(__FILE__) + "."
3
+
4
+ require 'metamodels/survey_metamodel'
5
+ require 'models/survey_model'
6
+ require 'rgen/template_language'
7
+ require 'rgen/array_extensions'
8
+
9
+ class Generator
10
+ def gen
11
+ root = Rails.root.to_s
12
+ tc = RGen::TemplateLanguage::DirectoryTemplateContainer.new(SurveyMetamodel, root)
13
+ tc.load(root + '/gen/templates')
14
+ tc.expand('main::root', for: MODEL.first)
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: demoApp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Dkemp04
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-05-07 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Much longer explanation of the example!
14
+ email: dkemp04@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/generators/survey/generator.rb
20
+ homepage: http://rubygems.org/gems/demoApp
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubyforge_project:
39
+ rubygems_version: 2.0.3
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: This is an example!
43
+ test_files: []