Skip to content

Instantly share code, notes, and snippets.

@WaYdotNET
Created October 4, 2010 20:01
Show Gist options
  • Save WaYdotNET/610321 to your computer and use it in GitHub Desktop.
Save WaYdotNET/610321 to your computer and use it in GitHub Desktop.
waydotnet-laptop:~/.rvm/src/rvm (master) $ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
waydotnet-laptop:~/.rvm/src/rvm (master) $ gem list
*** LOCAL GEMS ***
bundler (1.0.2)
rake (0.8.7)
waydotnet-laptop:~/.rvm/src/rvm (master) $ bundle install
Could not locate Gemfile
waydotnet-laptop:~/.rvm/src/rvm (master) $ cd
waydotnet-laptop:~ $ cd Documenti/dm-visualizer/
waydotnet-laptop:~/Documenti/dm-visualizer (master) $ rake
(in /home/waydotnet/Documenti/dm-visualizer)
Could not find addressable-2.2.0 in any of the sources
Run `bundle install` to install missing gems
waydotnet-laptop:~/Documenti/dm-visualizer (master) $ bundle install
Fetching source index for https://rubygems.org/
Using rake (0.8.7)
Installing addressable (2.2.0)
Using bundler (1.0.2)
Installing extlib (0.9.15)
Installing dm-core (1.0.0)
Installing git (1.2.5)
Installing jeweler (1.5.0.pre2)
Installing rdiscount (1.6.5) with native extensions
Installing rspec (1.3.0)
Installing ruby-graphviz (0.9.17)
Installing thor (0.14.0)
Installing yard (0.6.0)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Your bundle was installed to `/home/waydotnet/.rvm/gems/ruby-1.8.7-p302`
waydotnet-laptop:~/Documenti/dm-visualizer (master) $ gem list
*** LOCAL GEMS ***
addressable (2.2.0)
bundler (1.0.2)
dm-core (1.0.0)
extlib (0.9.15)
git (1.2.5)
jeweler (1.5.0.pre2)
rake (0.8.7)
rdiscount (1.6.5)
rspec (1.3.0)
ruby-graphviz (0.9.17)
thor (0.14.0)
yard (0.6.0)
waydotnet-laptop:~/Documenti/dm-visualizer (master) $ rake install
(in /home/waydotnet/Documenti/dm-visualizer)
WARNING: no rubyforge_project specified
Successfully built RubyGem
Name: dm-visualizer
Version: 0.1.0
File: dm-visualizer-0.1.0.gem
Executing "ruby -S gem install ./pkg/dm-visualizer-0.1.0.gem":
ruby -S gem install ./pkg/dm-visualizer-0.1.0.gem
Successfully installed dm-visualizer-0.1.0
1 gem installed
waydotnet-laptop:~/Documenti/dm-visualizer (master) $ rake
(in /home/waydotnet/Documenti/dm-visualizer)
DataMapper::Visualizer::Visualization
- should detect which inflector DataMapper is using
DataMapper::Visualizer::Visualization defaults
- should return the class names of Classes (FAILED - 1)
- should return the class names of Objects (FAILED - 2)
- should return the names of properties (FAILED - 3)
- should return the names of models (FAILED - 4)
DataMapper::Visualizer::Visualization repository names
- should map the DataMapper repository names (FAILED - 5)
DataMapper::Visualizer::Visualization Schema naming convention
- should return the database and table names for a model name (FAILED - 6)
DataMapper::Visualizer::Visualization full names
- should not demodulize the names of Classes (FAILED - 7)
- should not demodulize the names of Objects (FAILED - 8)
- should not demodulize property type names (FAILED - 9)
- should not demodulize model names (FAILED - 10)
DataMapper::Visualizer::Project library
- should add the include directories to the $LOAD_PATH
- should remove the include directories to the $LOAD_PATH
- should require the specified paths
DataMapper::Visualizer::Project rails
- should add the include directories to the $LOAD_PATH
- should remove the include directories to the $LOAD_PATH
- should require all paths that match the specified glob patterns
1)
NameError in 'DataMapper::Visualizer::Visualization defaults should return the class names of Classes'
uninitialized constant Blog
./spec/visualization_spec.rb:23:
2)
NameError in 'DataMapper::Visualizer::Visualization defaults should return the class names of Objects'
uninitialized constant Blog
./spec/visualization_spec.rb:27:
3)
NameError in 'DataMapper::Visualizer::Visualization defaults should return the names of properties'
uninitialized constant Blog
./spec/visualization_spec.rb:31:
4)
NameError in 'DataMapper::Visualizer::Visualization defaults should return the names of models'
uninitialized constant Blog
./spec/visualization_spec.rb:35:
5)
NameError in 'DataMapper::Visualizer::Visualization repository names should map the DataMapper repository names'
uninitialized constant Blog
./spec/visualization_spec.rb:49:
6)
NameError in 'DataMapper::Visualizer::Visualization Schema naming convention should return the database and table names for a model name'
uninitialized constant Blog
./spec/visualization_spec.rb:64:
7)
NameError in 'DataMapper::Visualizer::Visualization full names should not demodulize the names of Classes'
uninitialized constant Blog
./spec/visualization_spec.rb:78:
8)
NameError in 'DataMapper::Visualizer::Visualization full names should not demodulize the names of Objects'
uninitialized constant Blog
./spec/visualization_spec.rb:82:
9)
NameError in 'DataMapper::Visualizer::Visualization full names should not demodulize property type names'
uninitialized constant Blog
./spec/visualization_spec.rb:86:
10)
NameError in 'DataMapper::Visualizer::Visualization full names should not demodulize model names'
uninitialized constant Blog
./spec/visualization_spec.rb:90:
Finished in 0.023004 seconds
17 examples, 10 failures
rake aborted!
Command /home/waydotnet/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -I"lib:lib:spec" "/home/waydotnet/.rvm/gems/ruby-1.8.7-p302/gems/rspec-1.3.0/bin/spec" "spec/visualization_spec.rb" "spec/dm_visualizer_spec.rb" "spec/project_spec.rb" --options .specopts failed
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment