vraptor-scaffold 1.2.1 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. data/CHANGELOG.rdoc +9 -0
  2. data/Gemfile.lock +7 -3
  3. data/README.textile +1 -0
  4. data/Rakefile +0 -6
  5. data/lib/vraptor-scaffold.rb +2 -1
  6. data/lib/vraptor-scaffold/generators/app/app_generator.rb +19 -16
  7. data/lib/vraptor-scaffold/generators/app/templates/pom.erb +0 -1
  8. data/lib/vraptor-scaffold/generators/scaffold/attribute.rb +4 -0
  9. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/form.erb +1 -1
  10. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/index.erb +1 -1
  11. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/show.erb +1 -1
  12. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/form.erb +1 -1
  13. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/index.erb +1 -1
  14. data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/show.erb +1 -1
  15. data/lib/vraptor-scaffold/http_request.rb +22 -0
  16. data/lib/vraptor-scaffold/version.rb +1 -1
  17. data/spec/spec_helper.rb +3 -0
  18. data/spec/vraptor-scaffold/generators/app/jsp_template_engine_spec.rb +1 -1
  19. data/spec/vraptor-scaffold/generators/app/templates/pom-heroku.xml +0 -1
  20. data/spec/vraptor-scaffold/generators/scaffold/attribute_spec.rb +29 -15
  21. data/spec/vraptor-scaffold/generators/scaffold/freemarker_generator/freemarker_generator_spec.rb +3 -0
  22. data/spec/vraptor-scaffold/generators/scaffold/freemarker_generator/templates/form.ftl +28 -0
  23. data/spec/vraptor-scaffold/generators/scaffold/jsp_generator/jsp_generator_spec.rb +3 -1
  24. data/spec/vraptor-scaffold/generators/scaffold/jsp_generator/templates/form.jsp +28 -0
  25. data/spec/vraptor-scaffold/http_request_spec.rb +40 -0
  26. data/vraptor-scaffold.gemspec +1 -1
  27. metadata +20 -16
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,12 @@
1
+ == 1.2.3 / 2011-11-15
2
+
3
+ * Bugfixes
4
+ * Run scaffold commands behind proxy.
5
+ * Humanizing html labels.
6
+ * Heroku deploy.
7
+
8
+ == 1.2.2 / 2011-11-15 (Yanked)
9
+
1
10
  == 1.2.1 / 2011-10-18
2
11
 
3
12
  * New Features
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vraptor-scaffold (1.2.1)
4
+ vraptor-scaffold (1.2.2)
5
5
  activesupport (= 3.0.1)
6
6
  rake (= 0.9.2)
7
7
  thor (= 0.14.6)
@@ -11,9 +11,13 @@ GEM
11
11
  specs:
12
12
  ZenTest (4.4.0)
13
13
  activesupport (3.0.1)
14
+ multi_json (1.0.3)
14
15
  rake (0.9.2)
15
- rcov (0.9.9)
16
16
  rspec (1.3.2)
17
+ simplecov (0.5.4)
18
+ multi_json (~> 1.0.3)
19
+ simplecov-html (~> 0.5.3)
20
+ simplecov-html (0.5.3)
17
21
  thor (0.14.6)
18
22
 
19
23
  PLATFORMS
@@ -21,6 +25,6 @@ PLATFORMS
21
25
 
22
26
  DEPENDENCIES
23
27
  ZenTest (= 4.4.0)
24
- rcov (= 0.9.9)
25
28
  rspec (= 1.3.2)
29
+ simplecov (= 0.5.4)
26
30
  vraptor-scaffold!
data/README.textile CHANGED
@@ -39,6 +39,7 @@ Vraptor Scaffold was created and is maintained by "Rodolfo Liviero":http://rodol
39
39
  h2. Contributors
40
40
 
41
41
  * Adriano Almeida
42
+ * Arthur Moura Carvalho
42
43
  * Edgar Latorre
43
44
  * Felipe Fontoura
44
45
  * Guilherme Silveira
data/Rakefile CHANGED
@@ -7,12 +7,6 @@ Spec::Rake::SpecTask.new(:spec) do |spec|
7
7
  spec.spec_files = FileList['spec/**/*_spec.rb']
8
8
  end
9
9
 
10
- Spec::Rake::SpecTask.new(:rcov) do |spec|
11
- spec.spec_files = FileList['spec/**/*_spec.rb']
12
- spec.rcov_opts = ['--exclude', 'spec/*,gems/*']
13
- spec.rcov = true
14
- end
15
-
16
10
  require 'rake/rdoctask'
17
11
  Rake::RDocTask.new do |rdoc|
18
12
  version = VraptorScaffold::VERSION
@@ -11,4 +11,5 @@ require 'yaml'
11
11
  require 'vraptor-scaffold/configuration'
12
12
  require 'vraptor-scaffold/runner'
13
13
  require 'vraptor-scaffold/execution'
14
- require 'vraptor-scaffold/load_paths'
14
+ require 'vraptor-scaffold/http_request'
15
+ require 'vraptor-scaffold/load_paths'
@@ -68,7 +68,7 @@ class AppGenerator < VraptorScaffold::Base
68
68
  if build_tool == "ant"
69
69
  create_eclipse_files unless options[:skip_eclipse]
70
70
  copy_file("build.xml")
71
- template("build.properties.erb", "build.properties")
71
+ template("build.properties.erb", "build.properties")
72
72
  template("ivy.erb", "ivy.xml")
73
73
  copy_file(IVY_JAR)
74
74
  end
@@ -123,7 +123,7 @@ class AppGenerator < VraptorScaffold::Base
123
123
  def create_javascripts
124
124
  javascripts = File.join Configuration::WEB_APP, "javascripts"
125
125
  create_file File.join javascripts, "application.js"
126
- get jquery_url, (File.join javascripts, "jquery.min.js")
126
+ add_file (File.join javascripts, "jquery.min.js"), get_jquery.body
127
127
  end
128
128
 
129
129
  def configure_scaffold_properties
@@ -142,7 +142,7 @@ class AppGenerator < VraptorScaffold::Base
142
142
  empty_directory File.join test_src, options[:controllers_package]
143
143
  empty_directory File.join test_src, options[:models_package]
144
144
  empty_directory File.join test_src, options[:repositories_package]
145
-
145
+
146
146
  directory("resources-test", Configuration::TEST_RESOURCES)
147
147
  end
148
148
 
@@ -152,12 +152,6 @@ class AppGenerator < VraptorScaffold::Base
152
152
  options[:build_tool]
153
153
  end
154
154
 
155
- def jquery_url
156
- jquery_version = "1" #this mean get latest version
157
- jquery_version = options[:jquery] if options[:jquery] != 'latest version'
158
- "http://ajax.googleapis.com/ajax/libs/jquery/#{jquery_version}/jquery.min.js"
159
- end
160
-
161
155
  def create_eclipse_files
162
156
  template("eclipse/project.erb", ".project")
163
157
  template("eclipse/classpath.erb", ".classpath")
@@ -183,14 +177,23 @@ class AppGenerator < VraptorScaffold::Base
183
177
  Kernel::exit
184
178
  end
185
179
 
186
- require 'open-uri'
187
- begin
188
- Kernel::open(jquery_url) if options[:jquery] != 'latest version'
189
- rescue OpenURI::HTTPError => e
190
- download_url = "http://docs.jquery.com/Downloading_jQuery"
191
- puts "jQuery version #{options[:jquery]} was not found. Please visit the download page to see the versions available #{download_url}."
192
- Kernel::exit
180
+ if options[:jquery] != 'latest version'
181
+ case get_jquery
182
+ when Net::HTTPClientError, Net::HTTPServerError
183
+ download_url = "http://docs.jquery.com/Downloading_jQuery"
184
+ puts "jQuery version #{options[:jquery]} was not found. Please visit the download page to see the versions available #{download_url}."
185
+ Kernel::exit
186
+ end
193
187
  end
188
+ end
189
+
190
+ def jquery_uri
191
+ jquery_version = "1" #this mean get latest version
192
+ jquery_version = options[:jquery] if options[:jquery] != 'latest version'
193
+ "/ajax/libs/jquery/#{jquery_version}/jquery.min.js"
194
+ end
194
195
 
196
+ def get_jquery
197
+ VraptorScaffold::HttpRequest.open_session("ajax.googleapis.com").get jquery_uri
195
198
  end
196
199
  end
@@ -62,7 +62,6 @@
62
62
  </goals>
63
63
  <configuration>
64
64
  <assembleDirectory>target</assembleDirectory>
65
- <generateRepository>false</generateRepository>
66
65
  <extraJvmArguments>-Xmx512m</extraJvmArguments>
67
66
  <programs>
68
67
  <program>
@@ -14,6 +14,10 @@ class Attribute
14
14
  input
15
15
  end
16
16
 
17
+ def html_label
18
+ @name.underscore.humanize
19
+ end
20
+
17
21
  def java_type
18
22
  java = type.capitalize
19
23
  java = "boolean" if boolean?
@@ -13,7 +13,7 @@
13
13
 
14
14
  <% @attributes.each do |att| -%>
15
15
  <div class="field">
16
- <%= att.name.camelize %>:<br />
16
+ <%= att.html_label %>:<br />
17
17
  <%= "<@html.#{att.html_input} \"#{model_parameter_name}.#{att.name}\" #{model_parameter_name}.#{att.name}/>" %>
18
18
  </div>
19
19
  <% end -%>
@@ -4,7 +4,7 @@
4
4
  <table>
5
5
  <tr>
6
6
  <% @attributes.each do |att| -%>
7
- <th><%= att.name.camelize %></th>
7
+ <th><%= att.html_label %></th>
8
8
  <% end -%>
9
9
  <th></th>
10
10
  <th></th>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <% @attributes.each do |att| -%>
4
4
  <p>
5
- <b><%= att.name.camelize %>:</b>
5
+ <b><%= att.html_label %>:</b>
6
6
  <%= "${#{model_parameter_name}.#{att.name}!\"\"}" unless att.boolean? %>
7
7
  <%= "${#{model_parameter_name}.#{att.name}?string}" if att.boolean? %>
8
8
  </p>
@@ -13,7 +13,7 @@
13
13
 
14
14
  <% @attributes.each do |att| -%>
15
15
  <div class="field">
16
- <%= att.name.camelize %>:<br />
16
+ <%= att.html_label %>:<br />
17
17
  <input type="text" name="<%= model_parameter_name %>.<%=att.name%>" value="${<%=model_parameter_name%>.<%=att.name%>}"/>
18
18
  </div>
19
19
  <% end -%>
@@ -7,7 +7,7 @@
7
7
  <table>
8
8
  <tr>
9
9
  <%- @attributes.each do |att| -%>
10
- <th><%= att.name.camelize %></th>
10
+ <th><%= att.html_label %></th>
11
11
  <%- end -%>
12
12
  <th></th>
13
13
  <th></th>
@@ -4,7 +4,7 @@
4
4
  <body>
5
5
  <%- @attributes.each do |att| -%>
6
6
  <p>
7
- <b><%= att.name.camelize %>:</b>
7
+ <b><%= att.html_label %>:</b>
8
8
  <%= "${#{model_parameter_name}.#{att.name}}" %>
9
9
  </p>
10
10
  <% end -%>
@@ -0,0 +1,22 @@
1
+ require 'net/http'
2
+
3
+ module VraptorScaffold
4
+
5
+ class HttpRequest
6
+
7
+ def self.open_session url
8
+ return http.start url
9
+ end
10
+
11
+ protected
12
+
13
+ def self.http
14
+ return Net::HTTP unless ENV['http_proxy']
15
+ uri = URI.parse(ENV['http_proxy'])
16
+ proxy_user, proxy_pass = uri.userinfo.split(/:/) if uri.userinfo
17
+ Net::HTTP::Proxy(uri.host, uri.port, proxy_user, proxy_pass)
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -1,3 +1,3 @@
1
1
  module VraptorScaffold
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.3"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
1
4
  require 'spec'
2
5
  require 'spec/autorun'
3
6
  require File.dirname(__FILE__) + '/../lib/vraptor-scaffold'
@@ -52,4 +52,4 @@ describe JspTemplateEngine do
52
52
  exists_and_identical?(source, destination)
53
53
  end
54
54
  end
55
- end
55
+ end
@@ -61,7 +61,6 @@
61
61
  </goals>
62
62
  <configuration>
63
63
  <assembleDirectory>target</assembleDirectory>
64
- <generateRepository>false</generateRepository>
65
64
  <extraJvmArguments>-Xmx512m</extraJvmArguments>
66
65
  <programs>
67
66
  <program>
@@ -1,41 +1,41 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/../../../spec_helper")
2
2
 
3
3
  describe Attribute do
4
-
4
+
5
5
  context "getter method prefix" do
6
6
  it "should be 'is' to boolean attributes" do
7
- Attribute.new("active", "boolean").getter_prefix.should == "is"
7
+ Attribute.new("active", "boolean").getter_prefix.should == "is"
8
8
  end
9
-
9
+
10
10
  it "should be 'get' otherwise" do
11
- Attribute.new("description", "string").getter_prefix.should == "get"
11
+ Attribute.new("description", "string").getter_prefix.should == "get"
12
12
  end
13
13
  end
14
-
14
+
15
15
  context "initialize attribute" do
16
16
  context "downcase name" do
17
- it "should downcase all words" do
17
+ it "should downcase all words" do
18
18
  Attribute.new("VALUE", "double").name.should == "value"
19
19
  end
20
20
 
21
- it "should camelize composed name" do
21
+ it "should camelize composed name" do
22
22
  Attribute.new("MyItem", "double").name.should == "myItem"
23
23
  end
24
24
 
25
- it "should camelize composed name" do
25
+ it "should camelize composed name" do
26
26
  Attribute.new("myItem", "double").name.should == "myItem"
27
27
  end
28
28
 
29
- it "should keep name in downcase" do
29
+ it "should keep name in downcase" do
30
30
  Attribute.new("value", "double").name.should == "value"
31
31
  end
32
32
  end
33
-
34
- it "should downcase type" do
33
+
34
+ it "should downcase type" do
35
35
  Attribute.new("value", "DoublE").type.should == "double"
36
36
  end
37
37
  end
38
-
38
+
39
39
  context "supported types" do
40
40
  it "should support boolean" do
41
41
  Attribute.valid_types.include?("boolean").should be_true
@@ -141,19 +141,19 @@ describe Attribute do
141
141
  context "validate" do
142
142
 
143
143
  it "should be valid when attribute is supported" do
144
- Kernel.should_not_receive(:exit)
144
+ Kernel.should_not_receive(:exit)
145
145
  Attribute.valid_types.each do |type|
146
146
  Attribute.new("name", type)
147
147
  end
148
148
  end
149
149
 
150
150
  it "cannot be valid when attribute is not supported" do
151
- Kernel.should_receive(:exit)
151
+ Kernel.should_receive(:exit)
152
152
  Attribute.new("name", "char")
153
153
  end
154
154
 
155
155
  it "should be valid when attribute is upper case" do
156
- Kernel.should_not_receive(:exit)
156
+ Kernel.should_not_receive(:exit)
157
157
  Attribute.new("name", "String")
158
158
  end
159
159
  end
@@ -165,4 +165,18 @@ describe Attribute do
165
165
  it "cannot be boolean otherwise" do
166
166
  Attribute.new("flag", "short").boolean?.should be_false
167
167
  end
168
+
169
+ context "html label" do
170
+ it "should humanize composed name" do
171
+ Attribute.new("MyItem", "double").html_label.should == "My item"
172
+ end
173
+
174
+ it "should humanize composed name" do
175
+ Attribute.new("myItem", "double").html_label.should == "My item"
176
+ end
177
+
178
+ it "should humanize single name" do
179
+ Attribute.new("item", "double").html_label.should == "Item"
180
+ end
181
+ end
168
182
  end
@@ -28,6 +28,9 @@ describe FreemarkerGenerator do
28
28
 
29
29
  it "should create form view" do
30
30
  File.exist?("#{@views_path}/form.ftl").should be_true
31
+ source = File.join File.dirname(__FILE__), "templates", "form.ftl"
32
+ destination = "#{Configuration::WEB_INF}/views/product/form.ftl"
33
+ exists_and_identical?(source, destination)
31
34
  end
32
35
 
33
36
  it "should create new view" do
@@ -0,0 +1,28 @@
1
+ <#if errors??>
2
+ <#list errors as error>
3
+ ${error.category} - ${error.message}<br />
4
+ </#list>
5
+ </#if>
6
+
7
+ <form action="${base}/products" method="post">
8
+
9
+ <#if product.id??>
10
+ <input type="hidden" name="product.id" value="${product.id}"/>
11
+ <input type="hidden" name="_method" value="put"/>
12
+ </#if>
13
+
14
+ <div class="field">
15
+ Name:<br />
16
+ <@html.text "product.name" product.name/>
17
+ </div>
18
+ <div class="field">
19
+ My flag:<br />
20
+ <@html.checkbox "product.myFlag" product.myFlag/>
21
+ </div>
22
+ <div class="actions">
23
+ <button type="submit">send</button>
24
+ </div>
25
+ </form>
26
+
27
+ <a href="${base}/products">Back</a>
28
+
@@ -27,7 +27,9 @@ describe JspGenerator do
27
27
  end
28
28
 
29
29
  it "should create form view" do
30
- File.exist?("#{@views_path}/form.jsp").should be_true
30
+ source = File.join File.dirname(__FILE__), "templates", "form.jsp"
31
+ destination = "#{Configuration::WEB_INF}/jsp/product/form.jsp"
32
+ exists_and_identical?(source, destination)
31
33
  end
32
34
 
33
35
  it "should create new view" do
@@ -0,0 +1,28 @@
1
+ <c:if test="${not empty errors}">
2
+ <c:forEach items="${errors}" var="error">
3
+ ${error.category} - ${error.message}<br />
4
+ </c:forEach>
5
+ </c:if>
6
+
7
+ <form action="${pageContext.request.contextPath}/products" method="post">
8
+
9
+ <c:if test="${not empty product.id}">
10
+ <input type="hidden" name="product.id" value="${product.id}"/>
11
+ <input type="hidden" name="_method" value="put"/>
12
+ </c:if>
13
+
14
+ <div class="field">
15
+ Name:<br />
16
+ <input type="text" name="product.name" value="${product.name}"/>
17
+ </div>
18
+ <div class="field">
19
+ My flag:<br />
20
+ <input type="text" name="product.myFlag" value="${product.myFlag}"/>
21
+ </div>
22
+
23
+ <div class="actions">
24
+ <button type="submit">send</button>
25
+ </div>
26
+ </form>
27
+
28
+ <a href="${pageContext.request.contextPath}/products">Back</a>
@@ -0,0 +1,40 @@
1
+ require "spec_helper"
2
+
3
+ describe VraptorScaffold::HttpRequest do
4
+
5
+ before :all do
6
+ @http_proxy = ENV['http_proxy']
7
+ end
8
+
9
+ after :all do
10
+ ENV['http_proxy'] = @http_proxy
11
+ end
12
+
13
+ context "http proxy" do
14
+ before :each do
15
+ ENV['http_proxy'] = "http://google.com"
16
+ end
17
+
18
+ after :each do
19
+ ENV.delete 'http_proxy'
20
+ end
21
+
22
+ it "should use 'http_proxy' env when it is present" do
23
+ http = VraptorScaffold::HttpRequest.http
24
+ http.should be_true http.proxy_class?
25
+ end
26
+ end
27
+
28
+ context "no proxy" do
29
+
30
+ before :each do
31
+ ENV.delete 'http_proxy'
32
+ end
33
+
34
+ it "should not use proxy settings when no http_proxy env exists" do
35
+ http = VraptorScaffold::HttpRequest.http
36
+ http.should be_true !http.proxy_class?
37
+ end
38
+ end
39
+
40
+ end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.add_development_dependency('rspec', '1.3.2')
21
21
  s.add_development_dependency('ZenTest', '4.4.0')
22
- s.add_development_dependency('rcov', '0.9.9')
22
+ s.add_development_dependency('simplecov', '0.5.4')
23
23
 
24
24
  s.files = `git ls-files`.split("\n")
25
25
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vraptor-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-18 00:00:00.000000000Z
12
+ date: 2011-11-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70293683728980 !ruby/object:Gem::Requirement
16
+ requirement: &70300193088140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.14.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70293683728980
24
+ version_requirements: *70300193088140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &70293683728480 !ruby/object:Gem::Requirement
27
+ requirement: &70300193087600 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70293683728480
35
+ version_requirements: *70300193087600
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70293683728020 !ruby/object:Gem::Requirement
38
+ requirement: &70300193087040 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70293683728020
46
+ version_requirements: *70300193087040
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70293683727560 !ruby/object:Gem::Requirement
49
+ requirement: &70300193086440 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.3.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70293683727560
57
+ version_requirements: *70300193086440
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: ZenTest
60
- requirement: &70293683727100 !ruby/object:Gem::Requirement
60
+ requirement: &70300193085540 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - =
@@ -65,18 +65,18 @@ dependencies:
65
65
  version: 4.4.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70293683727100
68
+ version_requirements: *70300193085540
69
69
  - !ruby/object:Gem::Dependency
70
- name: rcov
71
- requirement: &70293683726640 !ruby/object:Gem::Requirement
70
+ name: simplecov
71
+ requirement: &70300193085060 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - =
75
75
  - !ruby/object:Gem::Version
76
- version: 0.9.9
76
+ version: 0.5.4
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70293683726640
79
+ version_requirements: *70300193085060
80
80
  description: VRaptor scaffold extension to make it easier configuring new projects
81
81
  and plugins.
82
82
  email: rodolfoliviero@gmail.com
@@ -170,6 +170,7 @@ files:
170
170
  - lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/new.erb
171
171
  - lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/show.erb
172
172
  - lib/vraptor-scaffold/generators/scaffold/template_engine_generator/template_engine_generator.rb
173
+ - lib/vraptor-scaffold/http_request.rb
173
174
  - lib/vraptor-scaffold/load_paths.rb
174
175
  - lib/vraptor-scaffold/runner.rb
175
176
  - lib/vraptor-scaffold/runner/commands_help.rb
@@ -215,7 +216,9 @@ files:
215
216
  - spec/vraptor-scaffold/generators/scaffold/controller_generator/controller_generator_spec.rb
216
217
  - spec/vraptor-scaffold/generators/scaffold/controller_generator/templates/ProductController.java
217
218
  - spec/vraptor-scaffold/generators/scaffold/freemarker_generator/freemarker_generator_spec.rb
219
+ - spec/vraptor-scaffold/generators/scaffold/freemarker_generator/templates/form.ftl
218
220
  - spec/vraptor-scaffold/generators/scaffold/jsp_generator/jsp_generator_spec.rb
221
+ - spec/vraptor-scaffold/generators/scaffold/jsp_generator/templates/form.jsp
219
222
  - spec/vraptor-scaffold/generators/scaffold/model_generator/model_generator_spec.rb
220
223
  - spec/vraptor-scaffold/generators/scaffold/model_generator/templates/Product.java
221
224
  - spec/vraptor-scaffold/generators/scaffold/model_generator/templates/hibernate.cfg.xml
@@ -225,6 +228,7 @@ files:
225
228
  - spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepository.java
226
229
  - spec/vraptor-scaffold/generators/scaffold/repository_generator/templates/ProductRepositoryImpl.java
227
230
  - spec/vraptor-scaffold/generators/scaffold/scaffold_generator_spec.rb
231
+ - spec/vraptor-scaffold/http_request_spec.rb
228
232
  - spec/vraptor-scaffold/runner/commands_help_spec.rb
229
233
  - spec/vraptor-scaffold/runner/configure_spec.rb
230
234
  - spec/vraptor-scaffold/runner/generator_spec.rb