Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drnic/ruby-machinist-tmbundle
TextMate bundle for Machinist
https://github.com/drnic/ruby-machinist-tmbundle
Last synced: 29 days ago
JSON representation
TextMate bundle for Machinist
- Host: GitHub
- URL: https://github.com/drnic/ruby-machinist-tmbundle
- Owner: drnic
- Created: 2009-03-13T03:56:55.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-07-08T23:35:43.000Z (over 15 years ago)
- Last Synced: 2023-04-10T17:09:55.760Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 188 KB
- Stars: 23
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TextMate bundle for Machinist
## Features
Within blueprints.rb file:
### Cmd+B - convert current word or clipboard into automatic blueprint
Consider a BlogPost that has many BlogComments in a blog app. If you go to your blueprints.rb file, type "BlogPost" and press "Cmd+B" the bundle will load up the BlogPost class, inspect it, and generate the following blueprint:
BlogPost.blueprint do
title
body
author { BlogAuthor.make }
comments { [ BlogComment.make ] }
tags { [ Tag.make ] }
endAll associations are included with useful starting points.
## Installation
To install with Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/drnic/ruby-machinist-tmbundle.git "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'To install without Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
wget http://github.com/drnic/ruby-machinist-tmbundle/tarball/master
tar zxf drnic-ruby-machinist-tmbundle*.tar.gz
rm drnic-ruby-machinist-tmbundle*.tar.gz
mv drnic-ruby-machinist-tmbundle* "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'## Contributions
Development of Ruby Machinist.tmbundle is sponsored by:
* [GlobalHand](http://globalhand.org/)
* [Mocra](http://mocra.com/)Contributors include:
* [Dr Nic Williams](http://drnicwilliams.com)
## License