angular-semver-sort-rails 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 697b3a04876872d8d17ed7bae3a794f7f48489d6
4
- data.tar.gz: b5106e298ccdf11e592440450a93733ab4eac8bb
3
+ metadata.gz: 31bc985372764399e616745cdca2057b5bcbd644
4
+ data.tar.gz: e04a1ab4a139a876dba53e3ddd3f39c412754f3e
5
5
  SHA512:
6
- metadata.gz: 2e447f82397e24966d84d3b41c14f533750055b127becb0b891ed36ab240596d5997981e0ad8c67dfa7b1770883e85c6120c8447f4d0628f2ef853032c95a124
7
- data.tar.gz: e988b028526055983f21e9ee33275436b23a46654122a69f1ade8501f54d5de6da4d77c2105f7f75a59c2e2f58b74cfb3b7bc6370a42289a8e570e23099a33bd
6
+ metadata.gz: c26856efa72154165ba700eb933b28a7a9081cfb18de0c8928192df9de15c1845585b71fe5c0d7eb6f7be182bfd00611cd413ca4c954f822fc2d021109967362
7
+ data.tar.gz: cc2ad29a081187b59f75db9b0a453f694a38c0569430e3717b486848197daa4e649c0419d295d74f53d4c46cf3abd52188769dc1ea6450b0b7efdf47eccc8cae
@@ -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.2.2'
10
+ spec.version = '0.2.3'
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.2 <http://git.io/angular-semver>
2
+ angular-semver-sort v0.2.3 <http://git.io/angular-semver>
3
3
  @includes <http://git.io/semver> by Isaac Z. Schlueter
4
4
  @license BSD
5
5
  */
@@ -361,6 +361,10 @@ SemVer.prototype.inc = function(release) {
361
361
  this.inc('pre');
362
362
  break;
363
363
  case 'prepatch':
364
+ // If this is already a prerelease, it will bump to the next version
365
+ // drop any prereleases that might already exist, since they are not
366
+ // relevant at this point.
367
+ this.prerelease.length = 0
364
368
  this.inc('patch');
365
369
  this.inc('pre');
366
370
  break;
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.2.2
4
+ version: 0.2.3
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-06-23 00:00:00.000000000 Z
11
+ date: 2014-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler