Skip to content

Commit

Permalink
String literal fix, PR fix for legica acts_as_state_machine issue. CI…
Browse files Browse the repository at this point in the history
…/docs updates.
  • Loading branch information
preston committed Jul 30, 2021
1 parent b650249 commit bfaa153
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: ruby
rvm:
- 2.4.1
- 3.0.2
2 changes: 1 addition & 1 deletion AUTHORS.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ http://railroady.prestonlee.com
* Tim Harvey
* Atli Christiansen
* John Bintz (http://www.coswellproductions.com/)

* Stefan Wrobel

And of course, many thanks to the many patch submitters and testers that make this possible!
8 changes: 0 additions & 8 deletions lib/railroady/aasm_diagram.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# frozen_string_literal: true

# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

# AASM code provided by Ana Nelson (http://ananelson.com/)

require 'railroady/app_diagram'

# Diagram for Acts As State Machine
Expand Down
6 changes: 0 additions & 6 deletions lib/railroady/app_diagram.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

require 'railroady/diagram_graph'

# Root class for RailRoady diagrams
Expand Down
6 changes: 0 additions & 6 deletions lib/railroady/controllers_diagram.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

require 'railroady/app_diagram'

# RailRoady controllers diagram
Expand Down
7 changes: 0 additions & 7 deletions lib/railroady/diagram_graph.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# frozen_string_literal: true

# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

# RailRoady diagram structure
class DiagramGraph
attr_writer :diagram_type, :show_label, :alphabetize

Expand Down
10 changes: 1 addition & 9 deletions lib/railroady/models_diagram.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# frozen_string_literal: true

# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

require 'railroady/app_diagram'

# RailRoady models diagram
Expand Down Expand Up @@ -304,7 +296,7 @@ def process_association(class_name, assoc)
if class_name.include?('::') && !assoc_class_name.include?('::')
assoc_class_name = class_name.split('::')[0..-2].push(assoc_class_name).join('::')
end
assoc_class_name.gsub!(/^::/, '')
assoc_class_name = assoc_class_name.gsub(/^::/, '')

if %w[has_one references_one embeds_one].include?(macro)
assoc_type = 'one-one'
Expand Down
6 changes: 0 additions & 6 deletions lib/railroady/options_struct.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# frozen_string_literal: true

# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details

require 'ostruct'

# RailRoady command line options parser
Expand Down
2 changes: 1 addition & 1 deletion lib/railroady/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RailRoady
VERSION = '1.5.4'
VERSION = '1.6.0'
end
4 changes: 2 additions & 2 deletions railroady.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
spec.name = 'railroady'
spec.version = RailRoady::VERSION
spec.authors = ['Preston Lee', 'Tobias Crawley', 'Peter Hoeg', 'Javier Smaldone']
spec.description = "Ruby on Rails 3/4/5 model and controller UML class diagram generator. Originally based on the 'railroad' plugin and contributions of many others. (`brew install graphviz` before use!)"
spec.description = "Ruby on Rails model and controller UML class diagram generator. Originally based on the 'railroad' plugin and contributions of many others. (`brew install graphviz` before use!)"
spec.email = %w[preston.lee@prestonlee.com tcrawley@gmail.com peter@hoeg.com p.hoeg@northwind.sg javier@smaldone.com.ar]
spec.summary = 'Ruby on Rails 3/4 model and controller UML class diagram generator.'
spec.summary = 'Ruby on Rails model and controller UML class diagram generator.'
spec.homepage = 'http://github.com/preston/railroady'
spec.license = 'GPLv2'

Expand Down

0 comments on commit bfaa153

Please sign in to comment.