Skip to content

Commit

Permalink
Removes shoes dependecy for showing generated file.
Browse files Browse the repository at this point in the history
  • Loading branch information
tute committed Nov 9, 2010
1 parent f961b5f commit 5f4aa27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ This is a simple plugin that adds Rake tasks to display model diagrams for RoR a

It uses an extended RailRoad to output yUML diagrams which are drawn using the service at [yUML](http://yuml.me)

There's also a small Shoes app to display the downloaded diagram.

## Example

<img src="http://yuml.me/diagram/scruffy/class/[User],[Task],[Assignment],[Status],[User]1-*[Assignment],[Task]1-*[Assignment],[Task]1-*[Status]"/>
Expand Down
3 changes: 0 additions & 3 deletions lib/shoes_app.rb

This file was deleted.

5 changes: 2 additions & 3 deletions lib/tasks/yUMLmeRails.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ namespace :yUMLmeRails do
desc "Show model diagram"
task :show => :environment do
generate_diagram
app = File.join(File.dirname(__FILE__), "..", "lib","shoes_app.rb")
sh %{shoes #{app} #{FILENAME} } do |ok, res|
sh %{if [ -x /usr/bin/eog ]; then eog #{FILENAME}; else open #{FILENAME}; fi & } do |ok, res|
puts res
puts "shoes not found (status = #{res.exitstatus})" if !ok
puts "no eog (Gnome) nor open (Mac OS X) commands found" if !ok
end
end

Expand Down
4 changes: 2 additions & 2 deletions yUMLmeRails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Gem::Specification.new do |s|
s.version = '0.9'
s.authors = ['Nelson Silva']
s.homepage = 'https://github.com/nelsonsilva/yUMLmeRails'
s.summary = 'Use yUML to generate Rails diagrams using RailRoad and Shoes.'
s.description = 'Use yUML to generate Rails diagrams using RailRoad and Shoes with yUML.me service.'
s.summary = 'Use yUML to generate Rails diagrams using RailRoad.'
s.description = 'Use yUML to generate Rails diagrams using RailRoad with yUML.me service.'
s.require_path = 'lib'
end

0 comments on commit 5f4aa27

Please sign in to comment.