{"id":19339027,"url":"https://github.com/librariesio/semantic_interval","last_synced_at":"2025-04-23T01:31:32.211Z","repository":{"id":56894787,"uuid":"47410279","full_name":"librariesio/semantic_interval","owner":"librariesio","description":":triangular_ruler: Turn Interval range syntax into SemVer range syntax","archived":true,"fork":false,"pushed_at":"2018-04-10T09:58:26.000Z","size":27,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T21:50:10.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://libraries.io/github/librariesio/semantic_interval","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/librariesio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-04T14:57:48.000Z","updated_at":"2024-11-14T19:29:39.000Z","dependencies_parsed_at":"2022-08-21T01:20:31.629Z","dependency_job_id":null,"html_url":"https://github.com/librariesio/semantic_interval","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librariesio%2Fsemantic_interval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librariesio%2Fsemantic_interval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librariesio%2Fsemantic_interval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librariesio%2Fsemantic_interval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/librariesio","download_url":"https://codeload.github.com/librariesio/semantic_interval/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250175973,"owners_count":21387298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T03:19:33.038Z","updated_at":"2025-04-23T01:31:31.726Z","avatar_url":"https://github.com/librariesio.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SemanticInterval\n\nTurn interval range syntax into semver range syntax.\n\nBased on [Apache Maven Version Range Specification](http://maven.apache.org/enforcer/enforcer-rules/versionRanges.html) and [NuGet Version Range Specification](https://docs.nuget.org/create/versioning) which are built on the basics of [Mathematical Intervals](https://en.wikipedia.org/wiki/Interval_(mathematics)).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'semantic_interval'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install semantic_interval\n\n## Usage\n\n```ruby\nSemanticInterval.parse(\"[1.0,3.0)\") #=\u003e \"\u003e= 1.0 \u003c 3.0\"\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/librariesio/semantic_interval. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrariesio%2Fsemantic_interval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrariesio%2Fsemantic_interval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrariesio%2Fsemantic_interval/lists"}