folder_template 0.1.1 → 1.0.0
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 +4 -4
- data/Gemfile +5 -3
- data/README.md +16 -3
- data/bin/setup_folder +5 -0
- data/folder_template.gemspec +5 -1
- data/lib/folder_template/context.rb +124 -0
- data/lib/folder_template/fs_adapter.rb +7 -21
- data/lib/folder_template/setup_folder_cmd.rb +52 -0
- data/lib/folder_template/template_folder.rb +25 -26
- data/lib/folder_template/template_folder_entry.rb +1 -1
- data/lib/folder_template/template_registry.rb +71 -0
- data/lib/folder_template/template_string.rb +4 -4
- data/lib/folder_template/version.rb +1 -1
- data/lib/folder_template.rb +8 -2
- data/rakefile.rb +84 -16
- data/templates/rubyclass/context.rb +15 -0
- data/{test/data/test1 → templates/rubyclass}/template/lib/>>{{project_name}}.rb +0 -0
- data/{test/data/test_append → templates/rubyclass}/template/lib/{{project_name}}/{{class_filename}}.rb +7 -5
- data/{test/data/test1/template/test_/_test_{{class_filename}}.rb → templates/rubyclass/template/test/test_{{class_filename}}.rb} +9 -6
- data/templates/rubygem/context.rb +15 -0
- data/templates/rubygem/template/Gemfile +13 -0
- data/templates/rubygem/template/LICENSE +22 -0
- data/templates/rubygem/template/README.md +49 -0
- data/{test/data/test1/template/lib/{{project_name}}/{{class_filename}}.rb → templates/rubygem/template/lib/{{project_name}}/version.rb} +4 -5
- data/templates/rubygem/template/lib/{{project_name}}.rb +12 -0
- data/templates/rubygem/template/rakefile.rb +110 -0
- data/templates/rubygem/template/test/_test_env.rb +27 -0
- data/{test/data/test_append/template/test_/_test_{{class_filename}}.rb → templates/rubygem/template/test/test_version.rb} +13 -10
- data/templates/rubygem/template/{{_}}.codeclimate.yml +25 -0
- data/templates/rubygem/template/{{_}}.gitignore +4 -0
- data/templates/rubygem/template/{{_}}.rubocop.yml +1156 -0
- data/templates/rubygem/template/{{_}}.travis.yml +7 -0
- data/templates/rubygem/template/{{project_name}}.gemspec +37 -0
- data/test/_test_env.rb +7 -7
- data/test/test_context.rb +116 -0
- data/test/test_fs_adapter.rb +8 -10
- data/test/test_setup_folder_cmd.rb +44 -0
- data/test/test_template_folder.rb +22 -27
- data/test/test_template_string.rb +24 -10
- data/test_data/rubygem/actual_output/Gemfile +13 -0
- data/test_data/rubygem/actual_output/LICENSE +22 -0
- data/test_data/rubygem/actual_output/README.md +108 -0
- data/test_data/rubygem/actual_output/_.codeclimate.yml +25 -0
- data/test_data/rubygem/actual_output/_.gitignore +4 -0
- data/test_data/rubygem/actual_output/_.rubocop.yml +1156 -0
- data/test_data/rubygem/actual_output/_.travis.yml +7 -0
- data/test_data/rubygem/actual_output/folder_name.gemspec +37 -0
- data/test_data/rubygem/actual_output/lib/folder_name/version.rb +12 -0
- data/test_data/rubygem/actual_output/lib/folder_name.rb +12 -0
- data/test_data/rubygem/actual_output/rakefile.rb +56 -0
- data/test_data/rubygem/actual_output/test/_test_env.rb +27 -0
- data/test_data/rubygem/actual_output/test/test_version.rb +23 -0
- data/test_data/rubygem/expected_output/Gemfile +13 -0
- data/test_data/rubygem/expected_output/LICENSE +22 -0
- data/test_data/rubygem/expected_output/README.md +108 -0
- data/test_data/rubygem/expected_output/_.codeclimate.yml +25 -0
- data/test_data/rubygem/expected_output/_.gitignore +4 -0
- data/test_data/rubygem/expected_output/_.rubocop.yml +1156 -0
- data/test_data/rubygem/expected_output/_.travis.yml +7 -0
- data/test_data/rubygem/expected_output/folder_name.gemspec +37 -0
- data/test_data/rubygem/expected_output/lib/folder_name/version.rb +12 -0
- data/test_data/rubygem/expected_output/lib/folder_name.rb +12 -0
- data/test_data/rubygem/expected_output/rakefile.rb +56 -0
- data/test_data/rubygem/expected_output/test/_test_env.rb +27 -0
- data/test_data/rubygem/expected_output/test/test_version.rb +23 -0
- data/test_data/rubygem/template_definition/context.rb +13 -0
- data/test_data/rubygem/template_definition/template/Gemfile +13 -0
- data/test_data/rubygem/template_definition/template/LICENSE +22 -0
- data/test_data/rubygem/template_definition/template/README.md +108 -0
- data/test_data/rubygem/template_definition/template/lib/{{project_name}}/version.rb +12 -0
- data/test_data/rubygem/template_definition/template/lib/{{project_name}}.rb +12 -0
- data/test_data/rubygem/template_definition/template/rakefile.rb +56 -0
- data/test_data/rubygem/template_definition/template/test/_test_env.rb +27 -0
- data/test_data/rubygem/template_definition/template/test/test_version.rb +23 -0
- data/test_data/rubygem/template_definition/template/{{_}}.codeclimate.yml +25 -0
- data/test_data/rubygem/template_definition/template/{{_}}.gitignore +4 -0
- data/test_data/rubygem/template_definition/template/{{_}}.rubocop.yml +1156 -0
- data/test_data/rubygem/template_definition/template/{{_}}.travis.yml +7 -0
- data/test_data/rubygem/template_definition/template/{{project_name}}.gemspec +37 -0
- metadata +112 -55
- data/test/data/test1/actual_output/lib/project_aaa/cls_fn.rb +0 -13
- data/test/data/test1/actual_output/lib/project_aaa.rb +0 -1
- data/test/data/test1/actual_output/test_/_test_cls_fn.rb +0 -20
- data/test/data/test1/expected_output/lib/project_aaa/cls_fn.rb +0 -13
- data/test/data/test1/expected_output/lib/project_aaa.rb +0 -1
- data/test/data/test1/expected_output/test_/_test_cls_fn.rb +0 -20
- data/test/data/test_append/actual_output/lib/project_aaa/cls1_fn.rb +0 -13
- data/test/data/test_append/actual_output/lib/project_aaa/cls2_fn.rb +0 -13
- data/test/data/test_append/actual_output/lib/project_aaa/cls3_fn.rb +0 -13
- data/test/data/test_append/actual_output/lib/project_aaa.rb +0 -3
- data/test/data/test_append/actual_output/test_/_test_cls1_fn.rb +0 -20
- data/test/data/test_append/actual_output/test_/_test_cls2_fn.rb +0 -20
- data/test/data/test_append/actual_output/test_/_test_cls3_fn.rb +0 -20
- data/test/data/test_append/expected_output/lib/project_aaa/cls1_fn.rb +0 -13
- data/test/data/test_append/expected_output/lib/project_aaa/cls2_fn.rb +0 -13
- data/test/data/test_append/expected_output/lib/project_aaa/cls3_fn.rb +0 -13
- data/test/data/test_append/expected_output/lib/project_aaa.rb +0 -3
- data/test/data/test_append/expected_output/test_/_test_cls1_fn.rb +0 -20
- data/test/data/test_append/expected_output/test_/_test_cls2_fn.rb +0 -20
- data/test/data/test_append/expected_output/test_/_test_cls3_fn.rb +0 -20
- data/test/data/test_append/template/lib/>>{{project_name}}.rb +0 -1
@@ -0,0 +1,37 @@
|
|
1
|
+
# =============================================================================
|
2
|
+
#
|
3
|
+
# MODULE : {{filename}}
|
4
|
+
# PROJECT : {{project_namespace}}
|
5
|
+
# DESCRIPTION :
|
6
|
+
#
|
7
|
+
# Copyright (c) {{copyright_year}}, {{copyright_owner}}. All rights reserved.
|
8
|
+
# =============================================================================
|
9
|
+
|
10
|
+
|
11
|
+
require_relative 'lib/{{project_name}}/version.rb'
|
12
|
+
|
13
|
+
Gem::Specification.new do |spec|
|
14
|
+
spec.name = '{{project_name}}'
|
15
|
+
spec.version = {{project_namespace}}::VERSION
|
16
|
+
spec.authors = ["{{copyright_owner}}"]
|
17
|
+
spec.email = [""]
|
18
|
+
spec.summary = ""
|
19
|
+
spec.description = %q{
|
20
|
+
}.gsub( /\s+/, ' ').strip
|
21
|
+
spec.homepage = ""
|
22
|
+
|
23
|
+
spec.files = Dir['[A-Z]*', 'rakefile.rb', '*.gemspec'].reject { |f| f =~ /.lock/ }
|
24
|
+
spec.files += Dir['bin/**', 'lib/**/*.rb', 'test/**/*.rb', 'spec/**/*.rb', 'features/**/*.rb']
|
25
|
+
spec.executables = spec.files.grep( %r{^bin/} ) { |f| File.basename(f) }
|
26
|
+
spec.test_files = spec.files.grep( %r{^(test|spec|features)/} )
|
27
|
+
|
28
|
+
# spec.add_runtime_dependency 'facets', '~> 3.0'
|
29
|
+
# spec.add_runtime_dependency 'mustache', '~> 1.0'
|
30
|
+
|
31
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
32
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
33
|
+
spec.add_development_dependency 'watch', '~> 0.1'
|
34
|
+
spec.add_development_dependency 'rr', '~> 1.1'
|
35
|
+
spec.add_development_dependency 'minitest', '~> 5.3'
|
36
|
+
spec.add_development_dependency 'minitest-reporters', '~> 1.1'
|
37
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: folder_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-Antoine Argenton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: facets
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,58 +80,125 @@ dependencies:
|
|
66
80
|
- - ~>
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.3'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest-reporters
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.1'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
69
111
|
description: FolderTemplate is a minimalistic template engine that generates files
|
70
112
|
and folders structure from a template folder layout. It includes a simple variable
|
71
113
|
expansion syntax, automatically injects variables for filename and basename, and
|
72
114
|
can optionally append content to existing files.
|
73
115
|
email:
|
74
116
|
- maargenton.dev@gmail.com
|
75
|
-
executables:
|
117
|
+
executables:
|
118
|
+
- setup_folder
|
76
119
|
extensions: []
|
77
120
|
extra_rdoc_files: []
|
78
121
|
files:
|
79
122
|
- Gemfile
|
80
123
|
- LICENSE
|
81
124
|
- README.md
|
125
|
+
- bin/setup_folder
|
82
126
|
- folder_template.gemspec
|
83
127
|
- lib/folder_template.rb
|
128
|
+
- lib/folder_template/context.rb
|
84
129
|
- lib/folder_template/fs_adapter.rb
|
130
|
+
- lib/folder_template/setup_folder_cmd.rb
|
85
131
|
- lib/folder_template/template_folder.rb
|
86
132
|
- lib/folder_template/template_folder_entry.rb
|
133
|
+
- lib/folder_template/template_registry.rb
|
87
134
|
- lib/folder_template/template_string.rb
|
88
135
|
- lib/folder_template/version.rb
|
89
136
|
- rakefile.rb
|
137
|
+
- templates/rubyclass/context.rb
|
138
|
+
- templates/rubyclass/template/lib/>>{{project_name}}.rb
|
139
|
+
- templates/rubyclass/template/lib/{{project_name}}/{{class_filename}}.rb
|
140
|
+
- templates/rubyclass/template/test/test_{{class_filename}}.rb
|
141
|
+
- templates/rubygem/context.rb
|
142
|
+
- templates/rubygem/template/Gemfile
|
143
|
+
- templates/rubygem/template/LICENSE
|
144
|
+
- templates/rubygem/template/README.md
|
145
|
+
- templates/rubygem/template/lib/{{project_name}}.rb
|
146
|
+
- templates/rubygem/template/lib/{{project_name}}/version.rb
|
147
|
+
- templates/rubygem/template/rakefile.rb
|
148
|
+
- templates/rubygem/template/test/_test_env.rb
|
149
|
+
- templates/rubygem/template/test/test_version.rb
|
150
|
+
- templates/rubygem/template/{{_}}.codeclimate.yml
|
151
|
+
- templates/rubygem/template/{{_}}.gitignore
|
152
|
+
- templates/rubygem/template/{{_}}.rubocop.yml
|
153
|
+
- templates/rubygem/template/{{_}}.travis.yml
|
154
|
+
- templates/rubygem/template/{{project_name}}.gemspec
|
90
155
|
- test/_test_env.rb
|
91
|
-
- test/
|
92
|
-
- test/data/test1/actual_output/lib/project_aaa/cls_fn.rb
|
93
|
-
- test/data/test1/actual_output/test_/_test_cls_fn.rb
|
94
|
-
- test/data/test1/expected_output/lib/project_aaa.rb
|
95
|
-
- test/data/test1/expected_output/lib/project_aaa/cls_fn.rb
|
96
|
-
- test/data/test1/expected_output/test_/_test_cls_fn.rb
|
97
|
-
- test/data/test1/template/lib/>>{{project_name}}.rb
|
98
|
-
- test/data/test1/template/lib/{{project_name}}/{{class_filename}}.rb
|
99
|
-
- test/data/test1/template/test_/_test_{{class_filename}}.rb
|
100
|
-
- test/data/test_append/actual_output/lib/project_aaa.rb
|
101
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls1_fn.rb
|
102
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls2_fn.rb
|
103
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls3_fn.rb
|
104
|
-
- test/data/test_append/actual_output/test_/_test_cls1_fn.rb
|
105
|
-
- test/data/test_append/actual_output/test_/_test_cls2_fn.rb
|
106
|
-
- test/data/test_append/actual_output/test_/_test_cls3_fn.rb
|
107
|
-
- test/data/test_append/expected_output/lib/project_aaa.rb
|
108
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls1_fn.rb
|
109
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls2_fn.rb
|
110
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls3_fn.rb
|
111
|
-
- test/data/test_append/expected_output/test_/_test_cls1_fn.rb
|
112
|
-
- test/data/test_append/expected_output/test_/_test_cls2_fn.rb
|
113
|
-
- test/data/test_append/expected_output/test_/_test_cls3_fn.rb
|
114
|
-
- test/data/test_append/template/lib/>>{{project_name}}.rb
|
115
|
-
- test/data/test_append/template/lib/{{project_name}}/{{class_filename}}.rb
|
116
|
-
- test/data/test_append/template/test_/_test_{{class_filename}}.rb
|
156
|
+
- test/test_context.rb
|
117
157
|
- test/test_fs_adapter.rb
|
158
|
+
- test/test_setup_folder_cmd.rb
|
118
159
|
- test/test_template_folder.rb
|
119
160
|
- test/test_template_folder_entry.rb
|
120
161
|
- test/test_template_string.rb
|
162
|
+
- test_data/rubygem/actual_output/Gemfile
|
163
|
+
- test_data/rubygem/actual_output/LICENSE
|
164
|
+
- test_data/rubygem/actual_output/README.md
|
165
|
+
- test_data/rubygem/actual_output/_.codeclimate.yml
|
166
|
+
- test_data/rubygem/actual_output/_.gitignore
|
167
|
+
- test_data/rubygem/actual_output/_.rubocop.yml
|
168
|
+
- test_data/rubygem/actual_output/_.travis.yml
|
169
|
+
- test_data/rubygem/actual_output/folder_name.gemspec
|
170
|
+
- test_data/rubygem/actual_output/lib/folder_name.rb
|
171
|
+
- test_data/rubygem/actual_output/lib/folder_name/version.rb
|
172
|
+
- test_data/rubygem/actual_output/rakefile.rb
|
173
|
+
- test_data/rubygem/actual_output/test/_test_env.rb
|
174
|
+
- test_data/rubygem/actual_output/test/test_version.rb
|
175
|
+
- test_data/rubygem/expected_output/Gemfile
|
176
|
+
- test_data/rubygem/expected_output/LICENSE
|
177
|
+
- test_data/rubygem/expected_output/README.md
|
178
|
+
- test_data/rubygem/expected_output/_.codeclimate.yml
|
179
|
+
- test_data/rubygem/expected_output/_.gitignore
|
180
|
+
- test_data/rubygem/expected_output/_.rubocop.yml
|
181
|
+
- test_data/rubygem/expected_output/_.travis.yml
|
182
|
+
- test_data/rubygem/expected_output/folder_name.gemspec
|
183
|
+
- test_data/rubygem/expected_output/lib/folder_name.rb
|
184
|
+
- test_data/rubygem/expected_output/lib/folder_name/version.rb
|
185
|
+
- test_data/rubygem/expected_output/rakefile.rb
|
186
|
+
- test_data/rubygem/expected_output/test/_test_env.rb
|
187
|
+
- test_data/rubygem/expected_output/test/test_version.rb
|
188
|
+
- test_data/rubygem/template_definition/context.rb
|
189
|
+
- test_data/rubygem/template_definition/template/Gemfile
|
190
|
+
- test_data/rubygem/template_definition/template/LICENSE
|
191
|
+
- test_data/rubygem/template_definition/template/README.md
|
192
|
+
- test_data/rubygem/template_definition/template/lib/{{project_name}}.rb
|
193
|
+
- test_data/rubygem/template_definition/template/lib/{{project_name}}/version.rb
|
194
|
+
- test_data/rubygem/template_definition/template/rakefile.rb
|
195
|
+
- test_data/rubygem/template_definition/template/test/_test_env.rb
|
196
|
+
- test_data/rubygem/template_definition/template/test/test_version.rb
|
197
|
+
- test_data/rubygem/template_definition/template/{{_}}.codeclimate.yml
|
198
|
+
- test_data/rubygem/template_definition/template/{{_}}.gitignore
|
199
|
+
- test_data/rubygem/template_definition/template/{{_}}.rubocop.yml
|
200
|
+
- test_data/rubygem/template_definition/template/{{_}}.travis.yml
|
201
|
+
- test_data/rubygem/template_definition/template/{{project_name}}.gemspec
|
121
202
|
homepage: ''
|
122
203
|
licenses: []
|
123
204
|
metadata: {}
|
@@ -143,33 +224,9 @@ specification_version: 4
|
|
143
224
|
summary: Simple and generic folder structure template engine
|
144
225
|
test_files:
|
145
226
|
- test/_test_env.rb
|
146
|
-
- test/
|
147
|
-
- test/data/test1/actual_output/lib/project_aaa/cls_fn.rb
|
148
|
-
- test/data/test1/actual_output/test_/_test_cls_fn.rb
|
149
|
-
- test/data/test1/expected_output/lib/project_aaa.rb
|
150
|
-
- test/data/test1/expected_output/lib/project_aaa/cls_fn.rb
|
151
|
-
- test/data/test1/expected_output/test_/_test_cls_fn.rb
|
152
|
-
- test/data/test1/template/lib/>>{{project_name}}.rb
|
153
|
-
- test/data/test1/template/lib/{{project_name}}/{{class_filename}}.rb
|
154
|
-
- test/data/test1/template/test_/_test_{{class_filename}}.rb
|
155
|
-
- test/data/test_append/actual_output/lib/project_aaa.rb
|
156
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls1_fn.rb
|
157
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls2_fn.rb
|
158
|
-
- test/data/test_append/actual_output/lib/project_aaa/cls3_fn.rb
|
159
|
-
- test/data/test_append/actual_output/test_/_test_cls1_fn.rb
|
160
|
-
- test/data/test_append/actual_output/test_/_test_cls2_fn.rb
|
161
|
-
- test/data/test_append/actual_output/test_/_test_cls3_fn.rb
|
162
|
-
- test/data/test_append/expected_output/lib/project_aaa.rb
|
163
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls1_fn.rb
|
164
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls2_fn.rb
|
165
|
-
- test/data/test_append/expected_output/lib/project_aaa/cls3_fn.rb
|
166
|
-
- test/data/test_append/expected_output/test_/_test_cls1_fn.rb
|
167
|
-
- test/data/test_append/expected_output/test_/_test_cls2_fn.rb
|
168
|
-
- test/data/test_append/expected_output/test_/_test_cls3_fn.rb
|
169
|
-
- test/data/test_append/template/lib/>>{{project_name}}.rb
|
170
|
-
- test/data/test_append/template/lib/{{project_name}}/{{class_filename}}.rb
|
171
|
-
- test/data/test_append/template/test_/_test_{{class_filename}}.rb
|
227
|
+
- test/test_context.rb
|
172
228
|
- test/test_fs_adapter.rb
|
229
|
+
- test/test_setup_folder_cmd.rb
|
173
230
|
- test/test_template_folder.rb
|
174
231
|
- test/test_template_folder_entry.rb
|
175
232
|
- test/test_template_string.rb
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class ClsName
|
12
|
-
end
|
13
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require_relative 'project_aaa/cls_fn.rb'
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe ClsName do
|
13
|
-
subject { ClsName.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of ClsName
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class ClsName
|
12
|
-
end
|
13
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require_relative 'project_aaa/cls_fn.rb'
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe ClsName do
|
13
|
-
subject { ClsName.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of ClsName
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls1_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls1Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls2_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls2Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls3_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls3Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls1_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls1Name do
|
13
|
-
subject { Cls1Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls1Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls2_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls2Name do
|
13
|
-
subject { Cls2Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls2Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls3_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls3Name do
|
13
|
-
subject { Cls3Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls3Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls1_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls1Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls2_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls2Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : lib/project_aaa/cls3_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
class Cls3Name
|
12
|
-
end
|
13
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls1_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls1Name do
|
13
|
-
subject { Cls1Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls1Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls2_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls2Name do
|
13
|
-
subject { Cls2Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls2Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# =============================================================================
|
2
|
-
#
|
3
|
-
# MODULE : test/project_aaa/test_cls3_fn.rb
|
4
|
-
# PROJECT : ProjectAaa
|
5
|
-
# DESCRIPTION :
|
6
|
-
#
|
7
|
-
# Copyright (c) YEAR, Me. All rights reserved.
|
8
|
-
# =============================================================================
|
9
|
-
|
10
|
-
module ProjectAaa
|
11
|
-
|
12
|
-
describe Cls3Name do
|
13
|
-
subject { Cls3Name.new }
|
14
|
-
|
15
|
-
it "passes this one" do
|
16
|
-
subject.must_be_instance_of Cls3Name
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require_relative '{{project_name}}/{{class_filename}}.rb'
|