
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Textile texts directly from MongoDB.
Mongoid Textile caches Textile texts on MongoDB to eliminate reprocessing.
Add this line to your application's Gemfile
:
gem 'mongoid-textile'
And then execute:
bundle
Or install it yourself as:
gem install mongoid-textile
class Article
include Mongoid::Document
include Mongoid::Textile
field :text
textlize :text
end
article = Article.create(text: 'h1. Proud to be a rails developer')
article.text_formatted #=> <h1>Proud to be a rails developer</h1>
Mongoid Textile is tested against Ruby 1.9.3, 2.0.0 and 2.1.0.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)MIT License. Copyright 2012-2014 Lucas Renan e Tiago Rafael Godinho
FAQs
Unknown package
We found that mongoid-textile demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.