padrino-gen 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/padrino-gen/generators/actions.rb +2 -6
- data/padrino-gen.gemspec +1 -1
- data/test/test_app_generator.rb +1 -1
- metadata +9 -11
@@ -182,14 +182,10 @@ module Padrino
|
|
182
182
|
unless File.exist?(destination_root(app))
|
183
183
|
say
|
184
184
|
say "================================================================="
|
185
|
-
say "We didn't found #{app.underscore.camelize}!
|
186
|
-
say "================================================================="
|
187
|
-
Padrino.mounted_apps.each do |app|
|
188
|
-
say " - #{app.app_class}"
|
189
|
-
end
|
185
|
+
say "We didn't found #{app.underscore.camelize}! "
|
190
186
|
say "================================================================="
|
191
187
|
say
|
192
|
-
raise SystemExit
|
188
|
+
# raise SystemExit
|
193
189
|
end
|
194
190
|
end
|
195
191
|
|
data/padrino-gen.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.rdoc_options = ["--charset=UTF-8"]
|
19
19
|
s.require_path = "lib"
|
20
20
|
s.add_dependency("padrino-core", Padrino.version)
|
21
|
-
s.add_dependency("bundler", ">= 1.0.
|
21
|
+
s.add_dependency("bundler", ">= 1.0.2")
|
22
22
|
s.add_dependency("git")
|
23
23
|
end
|
data/test/test_app_generator.rb
CHANGED
@@ -34,7 +34,7 @@ class TestAppGenerator < Test::Unit::TestCase
|
|
34
34
|
|
35
35
|
should "generate tiny app skeleton" do
|
36
36
|
assert_nothing_raised { silence_logger { generate(:project, 'sample_project', "--root=#{@apptmp}") } }
|
37
|
-
assert_nothing_raised { silence_logger { generate(:app,'demo','--tiny',"--root=#{@apptmp}/sample_project") } }
|
37
|
+
assert_nothing_raised { silence_logger { generate(:app, 'demo','--tiny',"--root=#{@apptmp}/sample_project") } }
|
38
38
|
assert_file_exists("#{@apptmp}/sample_project")
|
39
39
|
assert_file_exists("#{@apptmp}/sample_project/demo")
|
40
40
|
assert_file_exists("#{@apptmp}/sample_project/demo/helpers.rb")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 17
|
10
|
+
version: 0.9.17
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Padrino Team
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-
|
21
|
+
date: 2010-10-04 00:00:00 +02:00
|
22
22
|
default_executable: padrino-gen
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -29,12 +29,12 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - "="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
hash:
|
32
|
+
hash: 25
|
33
33
|
segments:
|
34
34
|
- 0
|
35
35
|
- 9
|
36
|
-
-
|
37
|
-
version: 0.9.
|
36
|
+
- 17
|
37
|
+
version: 0.9.17
|
38
38
|
type: :runtime
|
39
39
|
version_requirements: *id001
|
40
40
|
- !ruby/object:Gem::Dependency
|
@@ -45,14 +45,12 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
hash:
|
48
|
+
hash: 19
|
49
49
|
segments:
|
50
50
|
- 1
|
51
51
|
- 0
|
52
|
-
- 0
|
53
|
-
- rc
|
54
52
|
- 2
|
55
|
-
version: 1.0.
|
53
|
+
version: 1.0.2
|
56
54
|
type: :runtime
|
57
55
|
version_requirements: *id002
|
58
56
|
- !ruby/object:Gem::Dependency
|