ore 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/ChangeLog.md +32 -0
  2. data/README.md +8 -8
  3. data/Rakefile +2 -2
  4. data/data/ore/templates/base/README.md.erb +2 -0
  5. data/data/ore/templates/base/README.rdoc.erb +2 -0
  6. data/data/ore/templates/base/README.tt.erb +3 -0
  7. data/data/ore/templates/base/_gemfile.erb +1 -1
  8. data/data/ore/templates/base/gemspec.yml.erb +7 -2
  9. data/data/ore/templates/base/lib/[namespace_path].rb.erb +1 -0
  10. data/data/ore/templates/base/lib/{[namespace_dir] → [namespace_path]}/version.rb.erb +0 -0
  11. data/data/ore/templates/base/template.yml +2 -2
  12. data/data/ore/templates/bundler/{_dependencies.erb → _development_dependencies.erb} +0 -0
  13. data/data/ore/templates/bundler/template.yml +1 -1
  14. data/data/ore/templates/jeweler_tasks/{_dependencies.erb → _development_dependencies.erb} +0 -0
  15. data/data/ore/templates/jeweler_tasks/_tasks.erb +1 -1
  16. data/data/ore/templates/jeweler_tasks/template.yml +2 -2
  17. data/data/ore/templates/ore_tasks/{_dependencies.erb → _development_dependencies.erb} +0 -0
  18. data/data/ore/templates/ore_tasks/template.yml +2 -2
  19. data/data/ore/templates/rspec/{_dependencies.erb → _development_dependencies.erb} +0 -0
  20. data/data/ore/templates/rspec/spec/[namespace_dir]_spec.rb.erb +1 -1
  21. data/data/ore/templates/rspec/spec/spec_helper.rb.erb +1 -1
  22. data/data/ore/templates/rspec/template.yml +4 -2
  23. data/data/ore/templates/test_unit/test/test_[name].rb.erb +1 -1
  24. data/data/ore/templates/yard/{_dependencies.erb → _development_dependencies.erb} +0 -0
  25. data/data/ore/templates/yard/template.yml +3 -1
  26. data/gemspec.yml +3 -3
  27. data/lib/ore/generator.rb +80 -40
  28. data/lib/ore/template/directory.rb +34 -10
  29. data/lib/ore/template/interpolations.rb +6 -3
  30. data/ore.gemspec +1 -1
  31. data/spec/spec_helper.rb +1 -0
  32. metadata +14 -14
  33. data/data/ore/templates/base/lib/[namespace_dir].rb.erb +0 -1
@@ -1,3 +1,35 @@
1
+ ### 0.4.0 / 2010-11-24
2
+
3
+ * Ore Template variables are now loaded from the `variables` Hash within
4
+ a `template.yml` file:
5
+
6
+ variables:
7
+ x: foo
8
+ y: bar
9
+
10
+ * Allow Ore Templates to list other templates to be enabled via the
11
+ `enable` field within a `template.yml` file:
12
+
13
+ enable:
14
+ - yard
15
+ - rspec
16
+
17
+ * Allow Ore Templates to list other templates to be disabled via the
18
+ `disable` field within a `template.yml` file:
19
+
20
+ disable:
21
+ - rdoc
22
+
23
+ * Renamed the `ore_depencency` template variable to `ore_core_dependency`.
24
+ * Renamed `@namespace_dir` to `@namespace_path` within {Ore::Generator}.
25
+ * `@namespace_dir` now stores the last sub-directory name, derived from
26
+ the project name.
27
+ * Include any `_development_dependencies.erb` and `_dependencies.erb`
28
+ includes into the generated `gemspec.yml` file.
29
+ * Added a default Example to generated `README` files.
30
+ * Bumped the `ore_tasks_dependency` template variable to `~> 0.3.0`.
31
+ * Bumped the `jeweler_dependency` template variable to `~> 1.5.0`.
32
+
1
33
  ### 0.3.0 / 2010-11-07
2
34
 
3
35
  * Split all non-CLI and non-Generator related code out into
data/README.md CHANGED
@@ -22,11 +22,11 @@ the developer to keep all of the project information in a single YAML file.
22
22
  * `VERSION` constants or `Version` modules defined in a `version.rb` file.
23
23
  * **Can** be used in traditional `.gemspec` files:
24
24
 
25
- require 'ore/specification'
26
-
27
- Ore::Specification.new do |gemspec|
28
- # custom logic here
29
- end
25
+ require 'ore/specification'
26
+
27
+ Ore::Specification.new do |gemspec|
28
+ # custom logic here
29
+ end
30
30
 
31
31
  * Provides an **extendable** project **generator** that supports
32
32
  user-installed templates.
@@ -45,7 +45,7 @@ the developer to keep all of the project information in a single YAML file.
45
45
  The `gemspec.yml` file used to build Ore:
46
46
 
47
47
  name: ore
48
- version: 0.3.0
48
+ version: 0.4.0
49
49
  summary: Mine raw RubyGems from YAML.
50
50
  description:
51
51
  Ore is a simple RubyGem building solution. Ore handles the
@@ -64,8 +64,8 @@ The `gemspec.yml` file used to build Ore:
64
64
  thor: ~> 0.14.3
65
65
 
66
66
  development_dependencies:
67
- ore-tasks: ~> 0.2.0
68
- rspec: ~> 2.0.0
67
+ ore-tasks: ~> 0.3.0
68
+ rspec: ~> 2.1.0
69
69
  yard: ~> 0.6.1
70
70
 
71
71
  For a complete refrence to the `gemspec.yml` file, please see the
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
 
4
4
  begin
5
- gem 'ore-tasks', '~> 0.2.0'
5
+ gem 'ore-tasks', '~> 0.3.0'
6
6
  require 'ore/tasks'
7
7
 
8
8
  Ore::Tasks.new
@@ -12,7 +12,7 @@ rescue LoadError => e
12
12
  end
13
13
 
14
14
  begin
15
- gem 'rspec', '~> 2.0.0'
15
+ gem 'rspec', '~> 2.1.0'
16
16
  require 'rspec/core/rake_task'
17
17
 
18
18
  RSpec::Core::RakeTask.new
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## Examples
17
17
 
18
+ require '<%= @namespace_path -%>'
19
+
18
20
  ## Requirements
19
21
 
20
22
  ## Install
@@ -15,6 +15,8 @@
15
15
 
16
16
  == Examples
17
17
 
18
+ require '<%= @namespace_path -%>'
19
+
18
20
  == Requirements
19
21
 
20
22
  == Install
@@ -15,6 +15,9 @@ h2. Features
15
15
 
16
16
  h2. Examples
17
17
 
18
+ bc.
19
+ require '<%= @namespace_path -%>'
20
+
18
21
  h2. Requirements
19
22
 
20
23
  h2. Install
@@ -1 +1 @@
1
- gem 'ore-core', '<%= @ore_dependency %>'
1
+ gem 'ore-core', '<%= @ore_core_dependency %>'
@@ -18,8 +18,13 @@ email: <%= @email %>
18
18
  homepage: <%= @homepage %>
19
19
  <%= includes :gemspec, '' -%>
20
20
 
21
+ <%- unless (dependencies = includes(:dependencies,'')).empty? -%>
22
+ dependencies:
23
+ <%= dependencies %>
24
+
25
+ <%- end -%>
21
26
  development_dependencies:
22
27
  <%- unless (bundler? || ore_tasks?) -%>
23
- ore-core: <%= @ore_dependency %>
28
+ ore-core: <%= @ore_core_dependency %>
24
29
  <%- end -%>
25
- <%= includes :dependencies, '' -%>
30
+ <%= includes :development_dependencies, '' -%>
@@ -0,0 +1 @@
1
+ require '<%= @namespace_path %>/version'
@@ -1,2 +1,2 @@
1
- data:
2
- ore_dependency: ~> 0.1.0
1
+ variables:
2
+ ore_core_dependency: ~> 0.1.0
@@ -1,2 +1,2 @@
1
- data:
1
+ variables:
2
2
  bundler_dependency: ~> 1.0.0
@@ -4,7 +4,7 @@ require 'jeweler'
4
4
  Jeweler::Tasks.new(Ore::Specification.new)
5
5
  <%- else -%>
6
6
  begin
7
- gem 'ore', '<%= @ore_dependency %>'
7
+ gem 'ore', '<%= @ore_core_dependency %>'
8
8
  require 'ore/specification'
9
9
  rescue LoadError
10
10
  STDERR.puts e.message
@@ -1,2 +1,2 @@
1
- data:
2
- jeweler_dependency: ~> 1.4
1
+ variables:
2
+ jeweler_dependency: ~> 1.5.0
@@ -1,2 +1,2 @@
1
- data:
2
- ore_tasks_dependency: ~> 0.2.0
1
+ variables:
2
+ ore_tasks_dependency: ~> 0.3.0
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
- require '<%= @namespace_dir %>'
2
+ require '<%= @namespace_path %>'
3
3
 
4
4
  describe <%= @namespace %> do
5
5
  it "should have a VERSION constant" do
@@ -2,6 +2,6 @@
2
2
  gem 'rspec', '<%= @rspec_dependency %>'
3
3
  <%- end -%>
4
4
  require 'rspec'
5
- require '<%= @namespace_dir %>/version'
5
+ require '<%= @namespace_path %>/version'
6
6
 
7
7
  include <%= @namespace %>
@@ -1,2 +1,4 @@
1
- data:
2
- rspec_dependency: ~> 2.0.0
1
+ disable:
2
+ - test_unit
3
+ variables:
4
+ rspec_dependency: ~> 2.1.0
@@ -1,5 +1,5 @@
1
1
  require 'helper'
2
- require '<%= @namespace_dir %>'
2
+ require '<%= @namespace_path %>'
3
3
 
4
4
  class <%= @namespace %> < Test::Unit::TestCase
5
5
  end
@@ -1,2 +1,4 @@
1
- data:
1
+ disable:
2
+ - rdoc
3
+ variables:
2
4
  yard_dependency: ~> 0.6.0
@@ -1,5 +1,5 @@
1
1
  name: ore
2
- version: 0.3.0
2
+ version: 0.4.0
3
3
  summary: Mine raw RubyGems from YAML
4
4
  description:
5
5
  Ore is a simple RubyGem building solution. Ore handles the
@@ -18,6 +18,6 @@ dependencies:
18
18
  thor: ~> 0.14.3
19
19
 
20
20
  development_dependencies:
21
- ore-tasks: ~> 0.2.0
22
- rspec: ~> 2.0.0
21
+ ore-tasks: ~> 0.3.0
22
+ rspec: ~> 2.1.0
23
23
  yard: ~> 0.6.1
@@ -81,7 +81,6 @@ module Ore
81
81
  self.destination_root = path
82
82
 
83
83
  enable_templates!
84
- load_templates!
85
84
  initialize_variables!
86
85
 
87
86
  say "Generating #{self.destination_root}", :green
@@ -103,50 +102,90 @@ module Ore
103
102
  protected
104
103
 
105
104
  #
106
- # Enables templates.
105
+ # Enables a template, adding it to the generator.
107
106
  #
108
- def enable_templates!
109
- @enabled_templates = [@@base_template]
107
+ # @param [Symbol, String] name
108
+ # The name of the template to add.
109
+ #
110
+ # @since 0.4.0
111
+ #
112
+ def enable_template(name)
113
+ name = name.to_sym
110
114
 
111
- @enabled_templates << :bundler if options.bundler?
112
- @enabled_templates << :jeweler_tasks if options.jeweler_tasks?
113
- @enabled_templates << :ore_tasks if options.ore_tasks?
114
-
115
- if options.rspec?
116
- @enabled_templates << :rspec
117
- elsif options.test_unit?
118
- @enabled_templates << :test_unit
115
+ return false if @enabled_templates.include?(name)
116
+
117
+ unless (template_dir = Generator.templates[name])
118
+ say "Unknown template #{name}", :red
119
+ exit -1
119
120
  end
120
121
 
121
- if options.yard?
122
- @enabled_templates << :yard
123
- elsif options.rdoc?
124
- @enabled_templates << :rdoc
122
+ new_template = Template::Directory.new(template_dir)
123
+
124
+ # mark the template as enabled
125
+ @enabled_templates << name
126
+
127
+ # enable any other templates
128
+ new_template.enable.each do |sub_template|
129
+ enable_template(sub_template)
125
130
  end
126
131
 
127
- options.templates.each do |name|
128
- name = name.to_sym
132
+ # append the new template to the end of the list,
133
+ # to override previously loaded templates
134
+ @templates << new_template
129
135
 
130
- unless @enabled_templates.include?(name)
131
- @enabled_templates << name
132
- end
136
+ # add the template directory to the source-paths
137
+ self.source_paths << new_template.path
138
+ return true
139
+ end
140
+
141
+ #
142
+ # Disables a template in the generator.
143
+ #
144
+ # @param [Symbol, String] name
145
+ # The name of the template.
146
+ #
147
+ # @since 0.4.0
148
+ #
149
+ def disable_template(name)
150
+ name = name.to_sym
151
+
152
+ unless (template_dir = Generator.templates[name])
153
+ say "Unknown template #{name}", :red
154
+ exit -1
133
155
  end
156
+
157
+ self.source_paths.delete(template_dir)
158
+
159
+ @templates.delete_if { |template| template.path == template_dir }
160
+ @enabled_templates.delete(name)
161
+ return true
134
162
  end
135
163
 
136
164
  #
137
- # Loads the given templates.
165
+ # Enables templates.
138
166
  #
139
- def load_templates!
167
+ def enable_templates!
140
168
  @templates = []
169
+ @enabled_templates = []
141
170
 
142
- @enabled_templates.each do |name|
143
- unless (template_dir = Generator.templates[name])
144
- say "Unknown template #{name}", :red
145
- exit -1
146
- end
171
+ enable_template(@@base_template)
172
+
173
+ enable_template(:bundler) if options.bundler?
174
+ enable_template(:jeweler_tasks) if options.jeweler_tasks?
175
+ enable_template(:ore_tasks) if options.ore_tasks?
176
+
177
+ enable_template(:rspec) if options.rspec?
178
+ enable_template(:test_unit) if options.test_unit?
147
179
 
148
- @templates << Template::Directory.new(template_dir)
149
- self.source_paths << template_dir
180
+ enable_template(:yard) if options.yard?
181
+ enable_template(:rdoc) if options.rdoc?
182
+
183
+ # enable any additionally specified templates
184
+ options.templates.each { |name| enable_template(name) }
185
+
186
+ # disable any previously enabled templates
187
+ @templates.reverse_each do |template|
188
+ template.disable.each { |name| disable_template(name) }
150
189
  end
151
190
  end
152
191
 
@@ -163,7 +202,8 @@ module Ore
163
202
 
164
203
  @namespace = namespace_of(@name)
165
204
  @namespace_dirs = namespace_dirs_of(@name)
166
- @namespace_dir = namespace_path_of(@name)
205
+ @namespace_path = namespace_path_of(@name)
206
+ @namespace_dir = @namespace_dirs.last
167
207
 
168
208
  @version = options.version
169
209
  @summary = options.summary
@@ -175,14 +215,10 @@ module Ore
175
215
  @authors = options.authors
176
216
  @author = options.authors.first
177
217
 
178
- @markup = if options.yard?
179
- if options.markdown?
180
- :markdown
181
- elsif options.textile?
182
- :textile
183
- else
184
- :rdoc
185
- end
218
+ @markup = if options.markdown?
219
+ :markdown
220
+ elsif options.textile?
221
+ :textile
186
222
  else
187
223
  :rdoc
188
224
  end
@@ -193,7 +229,7 @@ module Ore
193
229
  @day = @date.day
194
230
 
195
231
  @templates.each do |template|
196
- template.data.each do |name,value|
232
+ template.variables.each do |name,value|
197
233
  instance_variable_set("@#{name}",value)
198
234
  end
199
235
  end
@@ -223,7 +259,10 @@ module Ore
223
259
  def generate_files!
224
260
  generated = Set[]
225
261
 
262
+ # iterate through the templates in reverse, so files in the templates
263
+ # loaded last override the previously templates.
226
264
  @templates.reverse_each do |template|
265
+ # copy in the static files first
227
266
  template.each_file(@markup) do |dest,file|
228
267
  unless generated.include?(dest)
229
268
  path = interpolate(dest)
@@ -233,6 +272,7 @@ module Ore
233
272
  end
234
273
  end
235
274
 
275
+ # then render the templates
236
276
  template.each_template(@markup) do |dest,file|
237
277
  unless generated.include?(dest)
238
278
  path = interpolate(dest)
@@ -39,8 +39,14 @@ module Ore
39
39
  # The include templates in the template directory
40
40
  attr_reader :includes
41
41
 
42
- # The data to use when rendering the template files
43
- attr_reader :data
42
+ # Other templates to be disabled
43
+ attr_reader :disable
44
+
45
+ # Other templates to be enabled
46
+ attr_reader :enable
47
+
48
+ # The variables to use when rendering the template files
49
+ attr_reader :variables
44
50
 
45
51
  #
46
52
  # Initializes a new template directory.
@@ -56,7 +62,9 @@ module Ore
56
62
  @templates = {}
57
63
  @includes = Hash.new { |hash,key| hash[key] = {} }
58
64
 
59
- @data = {}
65
+ @disable = []
66
+ @enable = []
67
+ @variables = {}
60
68
 
61
69
  load!
62
70
  scan!
@@ -135,15 +143,31 @@ module Ore
135
143
  raise(InvalidTemplate,"invalid configuration in #{config_path.dump}")
136
144
  end
137
145
 
138
- if (data = config['data'])
139
- # data must be a Hash
140
- unless data.kind_of?(Hash)
141
- raise(InvalidTemplate,"data must be a Hash: #{config_path.dump}")
146
+ if (templates = config['disable'])
147
+ if templates.kind_of?(Array)
148
+ templates.each { |name| @disable << name.to_sym }
149
+ else
150
+ @disable << templates.to_sym
151
+ end
152
+ end
153
+
154
+ if (templates = config['enable'])
155
+ if templates.kind_of?(Array)
156
+ templates.each { |name| @enable << name.to_sym }
157
+ else
158
+ @enable << templates.to_sym
159
+ end
160
+ end
161
+
162
+ if (variables = config['variables'])
163
+ # variables must be a Hash
164
+ unless variables.kind_of?(Hash)
165
+ raise(InvalidTemplate,"template variables must be a Hash: #{config_path.dump}")
142
166
  end
143
167
 
144
- # load the template data
145
- data.each do |name,value|
146
- @data[name.to_sym] = value
168
+ # load the template variables
169
+ variables.each do |name,value|
170
+ @variables[name.to_sym] = value
147
171
  end
148
172
  end
149
173
 
@@ -7,14 +7,17 @@ module Ore
7
7
  # * `[name]` - The name of the project.
8
8
  # * `[project_dir]` - The directory base-name derived from the project
9
9
  # name.
10
- # * `[namespace_dir]` - The full directory path derived from the
10
+ # * `[namespace_path]` - The full directory path derived from the
11
11
  # project name.
12
+ # * `[namespace_dir]` - The last directory name derivied from the
13
+ # project name.
12
14
  #
13
15
  module Interpolations
14
16
  # The accepted interpolation keywords that may be used in paths
15
17
  @@keywords = %w[
16
18
  name
17
19
  project_dir
20
+ namespace_path
18
21
  namespace_dir
19
22
  ]
20
23
 
@@ -34,8 +37,8 @@ module Ore
34
37
  # interpolate("lib/[project_dir].rb")
35
38
  # # => "lib/my_project.rb"
36
39
  #
37
- # @example Assuming `@namespace_dir` contains `my/project`.
38
- # interpolate("spec/[namespace_dir]_spec.rb")
40
+ # @example Assuming `@namespace_path` contains `my/project`.
41
+ # interpolate("spec/[namespace_path]_spec.rb")
39
42
  # # => "spec/my/project_spec.rb"
40
43
  #
41
44
  def interpolate(path)
@@ -6,5 +6,5 @@ begin
6
6
  end
7
7
  rescue NameError
8
8
  STDERR.puts "The 'ore.gemspec' file requires Ore."
9
- STDERR.puts "Run `gem install ore-ore` to install Ore."
9
+ STDERR.puts "Run `gem install ore-core` to install Ore."
10
10
  end
@@ -1,3 +1,4 @@
1
+ gem 'rspec', '~> 2.1.0'
1
2
  require 'rspec'
2
3
 
3
4
  gem 'ore-core', '~> 0.1.0'
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
7
+ - 4
8
8
  - 0
9
- version: 0.3.0
9
+ version: 0.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Postmodern
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-07 00:00:00 -07:00
17
+ date: 2010-11-24 00:00:00 -08:00
18
18
  default_executable: ore
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -57,9 +57,9 @@ dependencies:
57
57
  - !ruby/object:Gem::Version
58
58
  segments:
59
59
  - 0
60
- - 2
60
+ - 3
61
61
  - 0
62
- version: 0.2.0
62
+ version: 0.3.0
63
63
  type: :development
64
64
  version_requirements: *id003
65
65
  - !ruby/object:Gem::Dependency
@@ -72,9 +72,9 @@ dependencies:
72
72
  - !ruby/object:Gem::Version
73
73
  segments:
74
74
  - 2
75
+ - 1
75
76
  - 0
76
- - 0
77
- version: 2.0.0
77
+ version: 2.1.0
78
78
  type: :development
79
79
  version_requirements: *id004
80
80
  - !ruby/object:Gem::Dependency
@@ -126,23 +126,23 @@ files:
126
126
  - data/ore/templates/base/[name].gemspec.erb
127
127
  - data/ore/templates/base/_gemfile.erb
128
128
  - data/ore/templates/base/gemspec.yml.erb
129
- - data/ore/templates/base/lib/[namespace_dir].rb.erb
130
- - data/ore/templates/base/lib/[namespace_dir]/version.rb.erb
129
+ - data/ore/templates/base/lib/[namespace_path].rb.erb
130
+ - data/ore/templates/base/lib/[namespace_path]/version.rb.erb
131
131
  - data/ore/templates/base/template.yml
132
132
  - data/ore/templates/bundler/Gemfile.erb
133
- - data/ore/templates/bundler/_dependencies.erb
133
+ - data/ore/templates/bundler/_development_dependencies.erb
134
134
  - data/ore/templates/bundler/template.yml
135
- - data/ore/templates/jeweler_tasks/_dependencies.erb
135
+ - data/ore/templates/jeweler_tasks/_development_dependencies.erb
136
136
  - data/ore/templates/jeweler_tasks/_gemfile.erb
137
137
  - data/ore/templates/jeweler_tasks/_tasks.erb
138
138
  - data/ore/templates/jeweler_tasks/template.yml
139
- - data/ore/templates/ore_tasks/_dependencies.erb
139
+ - data/ore/templates/ore_tasks/_development_dependencies.erb
140
140
  - data/ore/templates/ore_tasks/_gemfile.erb
141
141
  - data/ore/templates/ore_tasks/_tasks.erb
142
142
  - data/ore/templates/ore_tasks/template.yml
143
143
  - data/ore/templates/rdoc/_tasks.erb
144
144
  - data/ore/templates/rspec/.rspec
145
- - data/ore/templates/rspec/_dependencies.erb
145
+ - data/ore/templates/rspec/_development_dependencies.erb
146
146
  - data/ore/templates/rspec/_gemfile.erb
147
147
  - data/ore/templates/rspec/_tasks.erb
148
148
  - data/ore/templates/rspec/spec/[namespace_dir]_spec.rb.erb
@@ -151,7 +151,7 @@ files:
151
151
  - data/ore/templates/test_unit/test/helper.rb.erb
152
152
  - data/ore/templates/test_unit/test/test_[name].rb.erb
153
153
  - data/ore/templates/yard/.yardopts.erb
154
- - data/ore/templates/yard/_dependencies.erb
154
+ - data/ore/templates/yard/_development_dependencies.erb
155
155
  - data/ore/templates/yard/_gemfile.erb
156
156
  - data/ore/templates/yard/_gemspec.erb
157
157
  - data/ore/templates/yard/_tasks.erb
@@ -1 +0,0 @@
1
- require '<%= @namespace_dir %>/version'