mustermann

your personal string matching expert

  • 所有者: sinatra/mustermann
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

The Amazing Mustermann

Build Status Coverage Status Code Climate Dependency Status Gem Version
Inline docs
Documentation
License
Badges

This repository contains multiple projects (each installable as separate gems).

Git versions with Bundler

You can easily use the latest edge version from GitHub of any of these gems via Bundler:

git 'https://github.com/rkh/mustermann.git' do
  gem 'mustermann'
  gem 'mustermann-rails'
end

Pattern Types

The identity, regexp and sinatra types are included in the mustermann gem, all the other types have their own gems.

Any software using Mustermann is obviously compatible with at least one of the above.

Requirements

Mustermann depends on tool (which has been extracted from Mustermann and Sinatra 2.0), and a Ruby 2.2 compatible Ruby implementation.

It is known to work on MRI 2.2.

JRuby will hopefully be supported with the release of JRuby 9000.

Rubinius is not currently supported. As of Rubinius 2.3.1, a large portion of the specs pass (3870 out of 3943), but certain parts are not working yet.

If you need Ruby 1.9 support, you might be able to use the unofficial mustermann19 gem based on namusyaka's fork.

Release History

Mustermann follows Semantic Versioning 2.0. Anything documented in the README or via YARD and not declared private is part of the public API.

Stable Releases

  • Mustermann 1.1.1 (2020-01-04)

    • Make sure that requireing ruby2_keywords when needed. Fixes #102 @Annih
  • Mustermann 1.1.0 (2019-12-30)

  • Mustermann 1.0.3 (2018-08-17)

  • Mustermann 1.0.2 (2018-02-17)

  • Mustermann 1.0.1 (2017-08-26)

    Docs

    • Updating readme to list Ruby 2.2 as minimum commit (@cassidycodes)
    • Fix rendering of HTML table commit (@stevenwilkin)
    • Update summary and description in gemspec file. commit (@junaruga)

    Fixes

    • avoid infinite loop by removing comments when receiving extended regexp commit (@namusyaka)
    • avoid unintended conflict of namespace commit (@namusyaka)
    • use Regexp#source instead of Regexp#inspect commit (@namusyaka)
  • Mustermann 1.0.0 (2017-03-05)

    • First stable release.
    • Includes mustermann, and mustermann-contrib gems
    • Sinatra patterns: Allow, outside of parens.
    • Add concatenation support (Mustermann::Pattern#+).
    • Mustermann::Sinatra#, may now generate a Sinatra pattern instead of a real composite.
    • Add syntax highlighting support for composite patterns.
    • Remove routers (they were out of scope for the main gem).
    • Rails patterns: Add Rails 5.0 compatibility mode, make it default.
    • Moved tool gem EqualityMap to Mustermann::EqualityMap in core
    • Improve documentation.

Development Releases

  • Mustermann 0.4.0 (2014-11-26)
    • More Infos:
      RubyGems.org,
      RubyDoc.info,
      GitHub.com
    • Split into multiple gems.
    • Add Pattern#to_proc.
    • Add Pattern#, , Pattern#& and Pattern#^.
    • Add Pattern#peek, Pattern#peek_size, Pattern#peek_match and Pattern#peek_params.
    • Add Mustermann::StringScanner.
    • Add Pattern#to_templates.
    • Add , syntax to sinatra templates.
    • Add template style placeholders to sinatra templates.
    • Add cake, express, flask and pyramid patterns.
    • Allow passing in additional value behavior directly to Pattern#expand.
    • Fix expanding of multiple splats.
    • Add expanding to identity patterns.
    • Add mustermann-fileutils.
    • Make expander accept hashes with string keys.
    • Allow named splats to be named splat.
    • Support multiple Rails versions.
    • Type option can be set to nil to get the default type.
    • Add mustermann-visualizer.
  • Mustermann 0.3.1 (2014-09-12)
  • Mustermann 0.3.0 (2014-08-18)
    • More Infos:
      RubyGems.org,
      RubyDoc.info,
      GitHub.com
    • Add regexp pattern.
    • Add named splats to Sinatra patterns.
    • Add Mustermann::Mapper.
    • Improve duck typing support.
    • Improve documentation.
  • Mustermann 0.2.0 (2013-08-24)
    • More Infos:
      RubyGems.org,
      RubyDoc.info,
      GitHub.com
    • Add first class expander objects.
    • Add params casting for expander.
    • Add simple router and rack router.
    • Add weak equality map to significantly improve performance.
    • Fix Ruby warnings.
    • Improve documentation.
    • Refactor pattern validation, AST transformations.
    • Increase test coverage (from 100%+ to 100%++).
    • Improve JRuby compatibility.
    • Work around bug in 2.0.0-p0.
  • Mustermann 0.1.0 (2013-05-12)
    • More Infos:
      RubyGems.org,
      RubyDoc.info,
      GitHub.com
    • Add Pattern#expand for generating strings from patterns.
    • Add better internal API for working with the AST.
    • Improved documentation.
    • Avoids parsing the path twice when used as Sinatra extension.
    • Better exceptions for unknown pattern types.
    • Better handling of edge cases around extend.
    • More specs to ensure API stability.
    • Largely rework internals of Sinatra, Rails and Template patterns.
  • Mustermann 0.0.1 (2013-04-27)

主要指标

概览
名称与所有者sinatra/mustermann
主编程语言Ruby
编程语言Ruby (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-04-27 12:14:43
推送于2024-09-03 10:17:24
最后一次提交
发布数27
最新版本名称v3.0.3 (发布于 )
第一版名称v0.0.1 (发布于 2013-04-27 14:17:50)
用户参与
星数665
关注者数16
派生数63
提交数412
已启用问题?
问题数51
打开的问题数8
拉请求数86
打开的拉请求数0
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?