drewda-railroad 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,11 +20,8 @@ class ControllersDiagram < AppDiagram
20
20
  STDERR.print "Generating controllers diagram\n" if @options.verbose
21
21
 
22
22
  files = Dir.glob("app/controllers/**/*_controller.rb") - @options.exclude
23
- files << 'app/controllers/application_controller.rb'
24
23
  files.each do |f|
25
24
  class_name = extract_class_name(f)
26
- # ApplicationController's file is 'application.rb'
27
- class_name += 'Controller' if class_name == 'Application'
28
25
  process_class class_name.constantize
29
26
  end
30
27
  end # generate
data/rake.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  SPEC = Gem::Specification.new do |s|
3
3
  s.name = "drewda-railroad"
4
- s.version = "0.5.0"
4
+ s.version = "0.5.1"
5
5
  s.author = "Drew Dara-Abrams"
6
6
  s.email = "dda@dara-abrams.com"
7
7
  s.homepage = "http://github.com/drewda"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drewda-railroad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: