schofield 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -87,7 +87,7 @@ class SchofieldControllerGenerator < Rails::Generator::NamedBase
87
87
  :assigns => assigns if actions_with_view.include?(action)
88
88
  end
89
89
 
90
- if actions.include?('index')
90
+ if actions.include?('index') || has_parent?
91
91
  m.template 'index_partial.rb',
92
92
  File.join('app/views/shared', "_#{sco_underscored_plural}.haml"),
93
93
  :assigns => assigns
data/schofield.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{schofield}
8
- s.version = "0.0.10"
8
+ s.version = "0.0.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marc Tauber"]
12
- s.date = %q{2010-05-06}
12
+ s.date = %q{2010-05-26}
13
13
  s.description = %q{Create views and controllers from routes defined in admin namespace. Very, very basic and very specific to my needs.'}
14
14
  s.email = %q{marc@marctauber.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 10
9
- version: 0.0.10
8
+ - 11
9
+ version: 0.0.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marc Tauber
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-06 00:00:00 +01:00
17
+ date: 2010-05-26 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency