https://github.com/artemeff/ruby-wisp
Ruby Wisp is a bridge to the JS Wisp compiler
https://github.com/artemeff/ruby-wisp
Last synced: 5 months ago
JSON representation
Ruby Wisp is a bridge to the JS Wisp compiler
- Host: GitHub
- URL: https://github.com/artemeff/ruby-wisp
- Owner: artemeff
- License: mit
- Created: 2013-05-24T05:50:44.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-25T00:14:36.000Z (about 12 years ago)
- Last Synced: 2024-03-15T11:04:38.535Z (over 1 year ago)
- Language: Ruby
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby Wisp
[](https://rubygems.org/gems/ruby-wisp)
[](https://travis-ci.org/artemeff/ruby-wisp)
[](https://codeclimate.com/github/artemeff/ruby-wisp)
[](https://gemnasium.com/artemeff/ruby-wisp)Ruby bridge for [wisp](https://github.com/Gozala/wisp) compiler. Integrates with Rails 4.0 and better.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'ruby-wisp', '~> 1.0.0.beta1', require: 'wisp'
```And then execute:
```bash
$ bundle
```Or install it yourself as:
```bash
$ gem install ruby-wisp
```## Usage
```ruby
require 'wisp'Wisp.compile "(:foo bar)"
# => "(bar || 0)[\"foo\"]"Wisp.compile File.open "app.wisp"
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request