angular-semver-sort-rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/angular-semver-sort-rails.gemspec +1 -1
- data/vendor/assets/javascripts/angular-semver-sort.js +7 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 193f81d5ac4488f375d600166aa3924da5dda85e
|
4
|
+
data.tar.gz: 08626bc1f7fad94a3a4410c76094585f0b10b289
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d60238fce76348348a03cc7a7634fd77bf233e63ef8a9e46c044c16dd50f75f7d7ef87a8ae97f04c4240ed1d05ffe315a86968a3d1621cc881d6ae99e74e938
|
7
|
+
data.tar.gz: 5a1b10ed05168d72df1d156916401cfffa37c6efbcffa2a045b1c6a39f1c3217d0869bc5a26b1c52e9f15f4c89a61883572fc4bc4bf761082d52251673993cd0
|
data/README.md
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
Since we don’t use [Rails Assets](http://rails-assets.org) gems in its [source](https://github.com/rails-assets/rails-assets/) (and this filter was created for that project), `angular-semver-sort.js` is *manually* packaged into an asset gem.
|
2
|
+
|
3
|
+
This directory contains the scaffolding of this gem, `angular-semver-sort-rails`.
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
# This is the only reason why this asset gem was created.
|
8
8
|
|
9
9
|
spec.name = 'angular-semver-sort-rails'
|
10
|
-
spec.version = '0.
|
10
|
+
spec.version = '0.2.0'
|
11
11
|
spec.authors = ['Dominik Porada']
|
12
12
|
spec.email = ['dominik@porada.co']
|
13
13
|
spec.summary = 'angular-semver-sort packaged for Rails assets pipeline'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
angular-semver-sort v0.
|
2
|
+
angular-semver-sort v0.2.0 <http://git.io/angular-semver>
|
3
3
|
@includes <http://git.io/semver> by Isaac Z. Schlueter
|
4
4
|
@license BSD
|
5
5
|
*/
|
@@ -1057,4 +1057,10 @@ if (typeof define === 'function' && define.amd)
|
|
1057
1057
|
});
|
1058
1058
|
};
|
1059
1059
|
}
|
1060
|
+
]).filter('semverReverseSort', [
|
1061
|
+
'$filter', function($filter) {
|
1062
|
+
return function(collection, prop) {
|
1063
|
+
return $filter('semverSort')(collection, prop).slice(0).reverse();
|
1064
|
+
};
|
1065
|
+
}
|
1060
1066
|
]);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-semver-sort-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Porada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -46,6 +46,7 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- Gemfile
|
49
|
+
- README.md
|
49
50
|
- Rakefile
|
50
51
|
- angular-semver-sort-rails.gemspec
|
51
52
|
- lib/angular-semver-sort-rails.rb
|
@@ -70,9 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
71
|
version: '0'
|
71
72
|
requirements: []
|
72
73
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.2.
|
74
|
+
rubygems_version: 2.2.2
|
74
75
|
signing_key:
|
75
76
|
specification_version: 4
|
76
77
|
summary: angular-semver-sort packaged for Rails assets pipeline
|
77
78
|
test_files: []
|
78
|
-
has_rdoc:
|