volley 0.1.17 → 0.1.18
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 +8 -0
- data/conf/common.volleyfile +19 -1
- data/lib/volley/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v0.1.17:
|
4
|
+
* fix problem with passing arguments through volley action
|
5
|
+
* unable to get version is not a fatal error in most cases
|
6
|
+
* tweak logic to make it easier to understand (and match earlier logic)
|
7
|
+
* fix typo
|
8
|
+
* fix for determining latest version: if source isn't configured, will fall back to trying publisher.
|
9
|
+
* Revert "only use source to determine version when publishing"
|
10
|
+
|
3
11
|
## v0.1.16:
|
4
12
|
* only use source to determine version when publishing
|
5
13
|
|
data/conf/common.volleyfile
CHANGED
@@ -15,7 +15,7 @@ project :volley do
|
|
15
15
|
Volley::Log.info "SCM:"
|
16
16
|
Volley::Log.info ".. branch: #{source.branch} revision: #{source.revision}" if source
|
17
17
|
Volley::Log.info "Projects/Plans:"
|
18
|
-
Volley::Dsl::Project.projects.reject{|k, _| k==:volley}.each do |p, project|
|
18
|
+
Volley::Dsl::Project.projects.reject { |k, _| k==:volley }.each do |p, project|
|
19
19
|
h = project.plans
|
20
20
|
next unless h.count > 0
|
21
21
|
h.keys.each do |pl|
|
@@ -119,4 +119,22 @@ project :volley do
|
|
119
119
|
end
|
120
120
|
end
|
121
121
|
end
|
122
|
+
|
123
|
+
plan :exists, :remote => false do
|
124
|
+
default do
|
125
|
+
(project, branch, version) = args.descriptor.get
|
126
|
+
pub = Volley::Dsl.publisher
|
127
|
+
if project && branch && version != "latest"
|
128
|
+
if pub.exists?(project, branch, version)
|
129
|
+
Volley::Log.warn "#{args.descriptor} exists"
|
130
|
+
else
|
131
|
+
Volley::Log.warn "#{args.descriptor} does not exist"
|
132
|
+
raise "#{args.descriptor} does not exist"
|
133
|
+
end
|
134
|
+
else
|
135
|
+
Volley::Log.error "must specify full descriptor"
|
136
|
+
stop
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
122
140
|
end
|
data/lib/volley/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.18
|
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:
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|
@@ -215,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
215
|
version: '0'
|
216
216
|
segments:
|
217
217
|
- 0
|
218
|
-
hash: -
|
218
|
+
hash: -4434554969566022621
|
219
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
220
|
none: false
|
221
221
|
requirements:
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
segments:
|
226
226
|
- 0
|
227
|
-
hash: -
|
227
|
+
hash: -4434554969566022621
|
228
228
|
requirements: []
|
229
229
|
rubyforge_project:
|
230
230
|
rubygems_version: 1.8.24
|