angular-semver-sort

WebJar for angular-semver-sort

License

License

BSD 2-Clause
Categories

Categories

Github Development Tools Version Controls Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-rails-assets-angular-semver-sort
Last Version

Last Version

v0.2.3
Release Date

Release Date

Type

Type

jar
Description

Description

angular-semver-sort
WebJar for angular-semver-sort
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/rails-assets/angular-semver-sort

Download github-com-rails-assets-angular-semver-sort

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-rails-assets-angular-semver-sort/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-rails-assets-angular-semver-sort</artifactId>
    <version>v0.2.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-rails-assets-angular-semver-sort/
implementation 'org.webjars.bower:github-com-rails-assets-angular-semver-sort:v0.2.3'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-rails-assets-angular-semver-sort/
implementation ("org.webjars.bower:github-com-rails-assets-angular-semver-sort:v0.2.3")
'org.webjars.bower:github-com-rails-assets-angular-semver-sort:jar:v0.2.3'
<dependency org="org.webjars.bower" name="github-com-rails-assets-angular-semver-sort" rev="v0.2.3">
  <artifact name="github-com-rails-assets-angular-semver-sort" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-rails-assets-angular-semver-sort', version='v0.2.3')
)
libraryDependencies += "org.webjars.bower" % "github-com-rails-assets-angular-semver-sort" % "v0.2.3"
[org.webjars.bower/github-com-rails-assets-angular-semver-sort "v0.2.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.2.8,1.3)

Project Modules

There are no modules declared in this project.

Release Build Status Dependency Status

angular-semver-sort

Angular.js filter for ordering collections by semantic version number.

Installation

bower install angular-semver-sort

If you’re building a Rails app, you can easily use it with Rails Assets—this package is available as rails-assets-angular-semver-sort.

Usage

angular.module('yourApp', ['semverSort']);

semverSort

<ol>
  <li ng-repeat="version in gem.versions | semverSort">
    {{ version }}
  </li>
</ol>

semverSort:property

<ol>
  <li ng-repeat="gem in gems | semverSort:'version'">
    {{ gem.version }}
  </li>
</ol>

semverReverseSort

<ol>
  <li ng-repeat="version in gem.versions | semverReverseSort">
    {{ version }}
  </li>
</ol>

semverReverseSort:property

<ol>
  <li ng-repeat="gem in gems | semverReverseSort:'version'">
    {{ gem.version }}
  </li>
</ol>

Development

Clone the repository, then:

npm install

grunt
grunt test

Credits

The filter includes the browser build of node-semver, the BSD-licensed semver parser created by Isaac Z. Schlueter.

Made for Rails Assets.

org.webjars.bower

Rails Assets

Versions

Version
v0.2.3