Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opal/opal-activesupport
The port of the glorious ActiveSupport for Opal
https://github.com/opal/opal-activesupport
activesupport opal ruby
Last synced: 3 days ago
JSON representation
The port of the glorious ActiveSupport for Opal
- Host: GitHub
- URL: https://github.com/opal/opal-activesupport
- Owner: opal
- License: mit
- Created: 2013-02-19T12:29:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T20:49:20.000Z (over 5 years ago)
- Last Synced: 2024-04-24T16:58:59.497Z (6 months ago)
- Topics: activesupport, opal, ruby
- Language: Ruby
- Size: 128 KB
- Stars: 33
- Watchers: 9
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-opal - Opal ActiveSupport - The port of the glorious ActiveSupport for Opal (Uncategorized / Uncategorized)
README
# Opal: ActiveSupport
[![Build Status](https://travis-ci.org/opal/opal-activesupport.svg?branch=master)](https://travis-ci.org/opal/opal-activesupport)
> @AstonJ But it's vanilla Ruby. It's not like you have ActiveSupport available, which somewhat defeats it for me.
_[@dhh 6:44 PM - Oct 23, 2012](https://twitter.com/dhh/status/260783823254601728)_
## Installation
Add this line to your application's Gemfile:
gem 'opal-activesupport'
And then execute:
$ bundle
Or install it yourself as:
$ gem install opal-activesupport
## Usage
Inside your `application.js.rb`:
```ruby
require 'active_support' # to require the whole active support lib
require 'active_support/core_ext' # require only the corelib extensions
require 'active_support/core_ext/string' # require only the corelib extensions
```## 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