Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artemeff/ruby-wisp
Ruby Wisp is a bridge to the JS Wisp compiler
https://github.com/artemeff/ruby-wisp
Last synced: 12 days 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-25T00:14:36.000Z (over 11 years ago)
- Last Synced: 2024-03-15T11:04:38.535Z (10 months 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
[![Gem version](https://badge.fury.io/rb/ruby-wisp.png)](https://rubygems.org/gems/ruby-wisp)
[![Build Status](https://secure.travis-ci.org/artemeff/ruby-wisp.png)](https://travis-ci.org/artemeff/ruby-wisp)
[![Code Climate](https://codeclimate.com/github/artemeff/ruby-wisp.png)](https://codeclimate.com/github/artemeff/ruby-wisp)
[![Dependency Status](https://gemnasium.com/artemeff/ruby-wisp.png)](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