padrino-gen 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/padrino-gen +1 -1
- data/lib/padrino-gen/generators/actions.rb +1 -3
- data/lib/padrino-gen/generators/app.rb +0 -2
- data/lib/padrino-gen/generators/controller.rb +0 -2
- data/lib/padrino-gen/generators/mailer.rb +0 -2
- data/lib/padrino-gen/generators/migration.rb +0 -2
- data/lib/padrino-gen/generators/model.rb +0 -2
- data/padrino-gen.gemspec +7 -7
- data/test/helper.rb +1 -1
- data/test/test_app_generator.rb +1 -1
- data/test/test_controller_generator.rb +1 -1
- data/test/test_mailer_generator.rb +1 -1
- data/test/test_migration_generator.rb +1 -1
- data/test/test_model_generator.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ begin
|
|
15
15
|
gem.executables = ["padrino-gen"]
|
16
16
|
gem.add_runtime_dependency "sinatra", ">= 0.9.2"
|
17
17
|
gem.add_runtime_dependency "padrino-core", "= #{GEM_VERSION}"
|
18
|
-
gem.add_runtime_dependency "thor", ">= 0.
|
18
|
+
gem.add_runtime_dependency "thor", ">= 0.13.0"
|
19
19
|
gem.add_runtime_dependency "bundler", ">= 0.5.0"
|
20
20
|
gem.add_development_dependency "haml", ">= 2.2.1"
|
21
21
|
gem.add_development_dependency "shoulda", ">= 0"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
data/bin/padrino-gen
CHANGED
@@ -104,9 +104,7 @@ module Padrino
|
|
104
104
|
gem_options = options.slice(:only, :require_as).collect { |k, v| "#{k.inspect} => #{v.inspect}" }.join(", ")
|
105
105
|
include_text = "gem '#{name}'" << (gem_options.present? ? ", #{gem_options}" : "") << "\n"
|
106
106
|
options.merge!(:content => include_text, :after => after_pattern)
|
107
|
-
|
108
|
-
inject_into_file('Gemfile', options[:content], :after => options[:after])
|
109
|
-
end
|
107
|
+
inject_into_file('Gemfile', options[:content], :after => options[:after])
|
110
108
|
end
|
111
109
|
|
112
110
|
module ClassMethods
|
data/padrino-gen.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{padrino-gen}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
|
@@ -98,8 +98,8 @@ Gem::Specification.new do |s|
|
|
98
98
|
|
99
99
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
100
100
|
s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
|
101
|
-
s.add_runtime_dependency(%q<padrino-core>, ["= 0.7.
|
102
|
-
s.add_runtime_dependency(%q<thor>, [">= 0.
|
101
|
+
s.add_runtime_dependency(%q<padrino-core>, ["= 0.7.2"])
|
102
|
+
s.add_runtime_dependency(%q<thor>, [">= 0.13.0"])
|
103
103
|
s.add_runtime_dependency(%q<bundler>, [">= 0.5.0"])
|
104
104
|
s.add_development_dependency(%q<haml>, [">= 2.2.1"])
|
105
105
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
@@ -109,8 +109,8 @@ Gem::Specification.new do |s|
|
|
109
109
|
s.add_development_dependency(%q<fakeweb>, [">= 1.2.3"])
|
110
110
|
else
|
111
111
|
s.add_dependency(%q<sinatra>, [">= 0.9.2"])
|
112
|
-
s.add_dependency(%q<padrino-core>, ["= 0.7.
|
113
|
-
s.add_dependency(%q<thor>, [">= 0.
|
112
|
+
s.add_dependency(%q<padrino-core>, ["= 0.7.2"])
|
113
|
+
s.add_dependency(%q<thor>, [">= 0.13.0"])
|
114
114
|
s.add_dependency(%q<bundler>, [">= 0.5.0"])
|
115
115
|
s.add_dependency(%q<haml>, [">= 2.2.1"])
|
116
116
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
@@ -121,8 +121,8 @@ Gem::Specification.new do |s|
|
|
121
121
|
end
|
122
122
|
else
|
123
123
|
s.add_dependency(%q<sinatra>, [">= 0.9.2"])
|
124
|
-
s.add_dependency(%q<padrino-core>, ["= 0.7.
|
125
|
-
s.add_dependency(%q<thor>, [">= 0.
|
124
|
+
s.add_dependency(%q<padrino-core>, ["= 0.7.2"])
|
125
|
+
s.add_dependency(%q<thor>, [">= 0.13.0"])
|
126
126
|
s.add_dependency(%q<bundler>, [">= 0.5.0"])
|
127
127
|
s.add_dependency(%q<haml>, [">= 2.2.1"])
|
128
128
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
data/test/helper.rb
CHANGED
data/test/test_app_generator.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Padrino Team
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - "="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.7.
|
36
|
+
version: 0.7.2
|
37
37
|
version:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: thor
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.13.0
|
47
47
|
version:
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: bundler
|