Shard Detail

active_support v0.1.0

Port of Rails' ActiveSupport for Crystal [WIP]

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


active_support:
  github: watzon/active_support.cr

Readme

ActiveSupport

Port of Rails' ActiveSupport Gem, still in the early stages of development. A lot of code has been copy-pasted from rails/activesupport, so some things in the documentation may not be applicable and some things may just not work.

Installation

Add this to your application's shard.yml:

dependencies:
  active_support:
    github: watzon/active_support.cr

Usage

require "active_support"

Development

I want to port all of the functionality in ActiveSupport that's actually useful in Crystal and not just Ruby specific patches. Here is a list of things that I would like to see ported:

  • Duration
  • Inflections/Inflector
  • I18n Patches for vladfaust/i18n.cr
    • Transliteration
  • StringInquirer
  • TimeZones
  • More..?

Contributing

  1. Fork it ( https://github.com/watzon/activesupport/fork )
  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 a new Pull Request

Contributors

  • watzon Chris Watson - creator, maintainer