volley 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.20:
4
+ * better support for publisher#release and volley:released plan. should now be able to see which version a release is from
5
+
3
6
  ## v0.1.19:
4
7
  * gemspec had hardcoded tag
5
8
  * add release functionality to publishers
data/bin/volley CHANGED
@@ -61,6 +61,7 @@ module Volley
61
61
  end
62
62
 
63
63
  if desc && !Volley::Descriptor.valid?(desc)
64
+ Volley::Log.debug "descriptor '#{desc}' unset or invalid"
64
65
  kvs.unshift(desc)
65
66
  desc = nil
66
67
  end
@@ -1,6 +1,7 @@
1
1
 
2
2
  module Volley
3
3
  class Descriptor
4
+ REGEX = /[\@\:\/\\\-]/
4
5
  attr_reader :project, :branch, :version
5
6
 
6
7
  def initialize(desc="", options={})
@@ -13,7 +14,7 @@ module Volley
13
14
  @branch = nil
14
15
  @version = nil
15
16
 
16
- list = desc.split(/[\@\:\/\\\-]/)
17
+ list = desc.split(REGEX)
17
18
  raise "error parsing descriptor: #{desc}" if (list.count < 2 || list.count > 4) && !@options[:partial]
18
19
 
19
20
  (@project, @branch, @version, @after) = list
@@ -39,7 +40,7 @@ module Volley
39
40
  class << self
40
41
  def valid?(desc)
41
42
  return false if desc.nil? || desc.blank?
42
- list = desc.split(/[\@\:\.\/\\\-]/)
43
+ list = desc.split(REGEX)
43
44
  return false if (list.count < 2 || list.count > 4)
44
45
  true
45
46
  end
@@ -3,7 +3,7 @@ unless defined?(Volley::Version)
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 20
6
+ TINY = 21
7
7
  TAG = nil
8
8
  STRING = [MAJOR, MINOR, TINY, TAG].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volley
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-18 00:00:00.000000000 Z
12
+ date: 2013-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  segments:
201
201
  - 0
202
- hash: -2184208437167885640
202
+ hash: -2209489174852755348
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  segments:
210
210
  - 0
211
- hash: -2184208437167885640
211
+ hash: -2209489174852755348
212
212
  requirements: []
213
213
  rubyforge_project:
214
214
  rubygems_version: 1.8.24