volley 0.1.13 → 0.1.14

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.13:
4
+ * exit with errors for unknown exceptions
5
+
6
+ ## v0.1.12:
7
+ * awesome_print dependency, since I keep using it and leaving it in
8
+
9
+ ## v0.1.11:
10
+ * remove debug message
11
+ * fix depcrated config for Yell
12
+ * merge problem
13
+ * more docopt fixes
14
+ * handle docopt exit for --version
15
+ * update to use newest docopt version
16
+
17
+ ## v0.1.10:
18
+ * fix bug with argument handling, related to docopt changes
19
+ * documentation
20
+
3
21
  ## v0.1.9:
4
22
  * remove dependency on awesome_print and debug statements. fail me.
5
23
  * more docopt fixes
@@ -34,55 +52,6 @@
34
52
  * bug fixes, meta and published plan work
35
53
 
36
54
  ## v0.1.2:
37
- * awesome_print dependency, since I keep using it and leaving it in
38
- * remove debug message
39
- * fix depcrated config for Yell
40
- * merge problem
41
- * fix bug with argument handling, related to docopt changes
42
- * documentation
43
- * remove dependency on awesome_print and debug statements. fail me.
44
- * more docopt fixes
45
- * handle docopt exit for --version
46
- * update to use newest docopt version
47
- * working on getting 'auto' source working
48
- * add better support for plan#stop
49
- * fix bugs in volley plans
50
- * remove dependencies and references to awesome_print
51
- * action#stop should delegate to plan#stop
52
- * fix problem with expand path throwing errors when HOME environment variable is not set
53
- * fix problem with volley:meta when the meta file doesn't exist
54
- * add -q --quiet option to CLI (bumps log level to warn)
55
- * add volley:published plan, show all published artifacts (used by jenkins for selecting version to deploy)
56
- * add version_data method to publisher, primarily to have access to modified time for sorting
57
-
58
- ## v0.1.12:
59
- * awesome_print dependency, since I keep using it and leaving it in
60
-
61
- ## v0.1.11:
62
- * remove debug message
63
- * fix depcrated config for Yell
64
- * merge problem
65
- * more docopt fixes
66
- * handle docopt exit for --version
67
- * update to use newest docopt version
68
-
69
- ## v0.1.10:
70
- * fix bug with argument handling, related to docopt changes
71
- * documentation
72
- * remove dependency on awesome_print and debug statements. fail me.
73
- * more docopt fixes
74
- * handle docopt exit for --version
75
- * update to use newest docopt version
76
- * working on getting 'auto' source working
77
- * add better support for plan#stop
78
- * fix bugs in volley plans
79
- * remove dependencies and references to awesome_print
80
- * action#stop should delegate to plan#stop
81
- * fix problem with expand path throwing errors when HOME environment variable is not set
82
- * fix problem with volley:meta when the meta file doesn't exist
83
- * add -q --quiet option to CLI (bumps log level to warn)
84
- * add volley:published plan, show all published artifacts (used by jenkins for selecting version to deploy)
85
- * add version_data method to publisher, primarily to have access to modified time for sorting
86
55
  * add code to generate changelog
87
56
  * attempting to publish a duplicate artifact shouldn't throw an error
88
57
  * properly support force=true argument
data/Rakefile CHANGED
@@ -49,7 +49,9 @@ def changelog(last=nil, single=false)
49
49
  puts "# Changelog"
50
50
  puts
51
51
 
52
- list.lines.reject{|e| e =~ /\.alpha/}.reverse_each do |t|
52
+ ordered = list.lines.sort_by {|e| (a,b,c) = e.gsub(/^v/,"").split("."); "%3d%3d%3d" % [a, b, c]}
53
+
54
+ ordered.reject{|e| (a,b,c,d) = e.split("."); !d.nil?}.reverse_each do |t|
53
55
  tag = t.chomp
54
56
 
55
57
  if last
@@ -9,10 +9,16 @@ module Volley
9
9
  }.merge(options)
10
10
 
11
11
  if desc
12
+ @project = nil
13
+ @branch = nil
14
+ @version = nil
15
+
12
16
  list = desc.split(/[\@\:\.\/\\\-]/)
13
- raise "error parsing descriptor: #{desc}" if (list.count < 2 || list.count > 3) && !@options[:partial]
14
- (@project, @branch, @version) = list
17
+ raise "error parsing descriptor: #{desc}" if (list.count < 2 || list.count > 4) && !@options[:partial]
18
+
19
+ (@project, @branch, @version, @after) = list
15
20
  @version ||= "latest"
21
+ @version = "#@version-#@after" if @version != "latest" && @after
16
22
 
17
23
  raise "error parsing descriptor: #{desc}" unless (@project && @branch && @version) || @options[:partial]
18
24
  end
@@ -3,7 +3,7 @@ unless defined?(Volley::Version)
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 13
6
+ TINY = 14
7
7
  TAG = nil
8
8
  STRING = [MAJOR, MINOR, TINY, TAG].compact.join('.')
9
9
  end
@@ -7,6 +7,8 @@ describe Volley::Descriptor do
7
7
  %w{spec-trunk-1 spec trunk 1},
8
8
  %w{spec:trunk:1 spec trunk 1},
9
9
  %w{spec\trunk\1 spec trunk 1},
10
+ %w{spec@trunk:1-1 spec trunk 1-1},
11
+ %w{spec@trunk:1:1 spec trunk 1-1},
10
12
  %w{spec@trunk spec trunk latest},
11
13
  %w{spec/trunk spec trunk latest},
12
14
  %w{spec:trunk spec trunk latest},
@@ -28,7 +30,6 @@ describe Volley::Descriptor do
28
30
  spec
29
31
  spec:
30
32
  spec~trunk
31
- spec:trunk:1:blarg
32
33
  }.each do |desc|
33
34
  it "should not handle format: '#{desc}'" do
34
35
  expect { Volley::Descriptor.new(desc) }.to raise_error(StandardError)
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.13
4
+ version: 0.1.14
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: 2012-10-03 00:00:00.000000000 Z
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -213,12 +213,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  - - ! '>='
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
+ segments:
217
+ - 0
218
+ hash: 3417145727278252107
216
219
  required_rubygems_version: !ruby/object:Gem::Requirement
217
220
  none: false
218
221
  requirements:
219
222
  - - ! '>='
220
223
  - !ruby/object:Gem::Version
221
224
  version: '0'
225
+ segments:
226
+ - 0
227
+ hash: 3417145727278252107
222
228
  requirements: []
223
229
  rubyforge_project:
224
230
  rubygems_version: 1.8.24
@@ -245,4 +251,3 @@ test_files:
245
251
  - test/project/Rakefile
246
252
  - test/project/Volleyfile
247
253
  - test/trunk-1.tgz
248
- has_rdoc: