beaker 1.19.0 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWJiZmFiYjMyZjkyZjc0ODE5ZWQ3NDJiY2MwOGY2ODQ3OTI0NDNkMw==
4
+ MThkNzc4YjBmNjI1YmM1NzBiM2JlNzI0MThmMDZkY2VkNzRhOThjNg==
5
5
  data.tar.gz: !binary |-
6
- NzljMGNhYmQwYTAyNDk1MDFjODAzMzBkMzZjMDM3ZTNhZmZmYmZkYQ==
6
+ OTk3Yzk0MWZkMDRiMDY2YzAwYzY4MWRhZDM1MzkxNmNmYjdkM2E1YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDg2YTkwYzc3ODk5YTQyN2IxNWQzMmNiZDFkZTA3OGUwMmRmNGQyZWRlMTJk
10
- NjI1MzMyYjA0YzAwNTA3ZmJlMWNmNmQ1ZTg2MDY1NWFjOTFiN2Y2OTg3ZTNl
11
- ZDg4YTc4YmE5ZGM4YmUwODAwMjk3N2ZmMmYxZGUyOGI5MmEwYTc=
9
+ YWYwMDY2ZDViZGYwZGRjN2JmYjE0Y2ZhZWQyOTRjMzI2NzE0MTU5NTFhOGEz
10
+ ZWM4MjRmN2I0MzkyZjIyY2RiNjZiYjY3MmQ4NGNlZDc4ODExZjJkODQyYWM1
11
+ MDkxZmIxOGIyYmIwNzZhZjg2MjlmYzg3ODNiOWViMTMwNjk3M2U=
12
12
  data.tar.gz: !binary |-
13
- NzNiMjMzN2IzNDNhNGI2NTA1ODgxYjgxMDVlNjE1Mjg0MTlhOTYwZDNkNjdl
14
- M2IzZTRkZDgyZjY5NTYxYWUzYzhiN2IyNzE1ZjVkOTI4MTJkNTM5Mzc1NzU1
15
- MjFmNmRjOGNkMzBhYjM3M2NjNGEyMTU2MzdmNjA3ZTQ1NzJlMGQ=
13
+ ZjRhYzdiY2QxNmJkYmIyOTQ4NWE5NzQ3NjVhYzljOWYwMjFkNTgzOTZjMjU3
14
+ MmNlZjY3MTIwYmM5MjRkMzIyNDM0MjAwMjg4NjdiNzBjMDgwODg5OTA1NTQ2
15
+ MWIzMzIyODg5ZTZlNWRmMzcxNTMxNjgwNjkwNWQ0NjllYTgyMjQ=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # beaker - History
2
2
  ## Tags
3
- * [LATEST - 18 Sep, 2014 (b4e69b83)](#LATEST)
3
+ * [LATEST - 19 Sep, 2014 (47f147e3)](#LATEST)
4
+ * [beaker1.19.0 - 19 Sep, 2014 (6a56cc90)](#beaker1.19.0)
4
5
  * [beaker1.18.0 - 18 Sep, 2014 (b9171d9c)](#beaker1.18.0)
5
6
  * [beaker1.17.7 - 2 Sep, 2014 (e47881f0)](#beaker1.17.7)
6
7
  * [beaker1.17.6 - 27 Aug, 2014 (bfb257bf)](#beaker1.17.6)
@@ -61,7 +62,61 @@
61
62
  * [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
62
63
 
63
64
  ## Details
64
- ### <a name = "LATEST">LATEST - 18 Sep, 2014 (b4e69b83)
65
+ ### <a name = "LATEST">LATEST - 19 Sep, 2014 (47f147e3)
66
+
67
+ * (HISTORY) history update for beaker 1.19.1 gem (47f147e3)
68
+
69
+ * (GEM) version bump for 1.19.1 gem (7538dc00)
70
+
71
+ * Merge pull request #465 from anodelman/junit (38fca3f5)
72
+
73
+
74
+ ```
75
+ Merge pull request #465 from anodelman/junit
76
+
77
+ (MAINT) update junit.xsl to handle more weird test case paths
78
+ ```
79
+ * Merge pull request #466 from branan/QENG-1264 (c77157d5)
80
+
81
+
82
+ ```
83
+ Merge pull request #466 from branan/QENG-1264
84
+
85
+ (QENG-1264) Allow users to specify recursive option for scp_{from,to}
86
+ ```
87
+ * (QENG-1264) Allow users to specify recursive option for scp_{from,to} (cc1b2189)
88
+
89
+
90
+ ```
91
+ (QENG-1264) Allow users to specify recursive option for scp_{from,to}
92
+
93
+ The fix for QENG-1128 caused scp_from and scp_to to ignore the
94
+ recursive flag. This caused all scp_from operations to be recursive,
95
+ which will cause a failure if trying to copy only a single file.
96
+
97
+ The fix to this, without regressing on QENG-1128, is to actually copy
98
+ the options hash locally so that we can modify it as needed for
99
+ defaults without updating any global data.
100
+ ```
101
+ * (MAINT) update junit.xsl to handle more weird test case paths (c940f116)
102
+
103
+
104
+ ```
105
+ (MAINT) update junit.xsl to handle more weird test case paths
106
+
107
+ - paths with (, ), \s, or / are breaking links, this fixes that
108
+ ```
109
+ ### <a name = "beaker1.19.0">beaker1.19.0 - 19 Sep, 2014 (6a56cc90)
110
+
111
+ * Merge pull request #463 from anodelman/make-gem (6a56cc90)
112
+
113
+
114
+ ```
115
+ Merge pull request #463 from anodelman/make-gem
116
+
117
+ create beaker 1.19.0 gem
118
+ ```
119
+ * (HISTORY) update history for beaker 1.19.0 gem (b00c31c1)
65
120
 
66
121
  * (GEM) version bump for beaker 1.19.0 gem (b4e69b83)
67
122
 
@@ -170,7 +170,8 @@
170
170
  <xsl:variable name="testcase_classname"><xsl:value-of select="@classname"/></xsl:variable>
171
171
  <xsl:variable name="testcase_fullpath"><xsl:value-of select="concat($testcase_classname, '/', $testcase_name)"/></xsl:variable>
172
172
  <xsl:variable name="testcase_time"><xsl:value-of select="@time"/></xsl:variable>
173
- <xsl:variable name="testcase_link" select="translate(translate($testcase_fullpath, '/', '_'), '.', '_')" />
173
+ <xsl:variable name="testcase_link" select="translate($testcase_fullpath, '/\() .', '______')" />
174
+
174
175
  <xsl:variable name="testcase_panel_type">
175
176
  <xsl:choose>
176
177
  <xsl:when test="failure or error">danger</xsl:when>
@@ -166,12 +166,15 @@ module Beaker
166
166
  def scp_to source, target, options = {}, dry_run = false
167
167
  return if dry_run
168
168
 
169
- options[:recursive] = File.directory?(source)
170
- options[:chunk_size] = options[:chunk_size] || 16384
169
+ local_opts = options.dup
170
+ if local_opts[:recursive].nil?
171
+ local_opts[:recursive] = File.directory?(source)
172
+ end
173
+ local_opts[:chunk_size] ||= 16384
171
174
 
172
175
  result = Result.new(@hostname, [source, target])
173
176
  result.stdout = "\n"
174
- @ssh.scp.upload! source, target, options do |ch, name, sent, total|
177
+ @ssh.scp.upload! source, target, local_opts do |ch, name, sent, total|
175
178
  result.stdout << "\tcopying %s: %10d/%d\n" % [name, sent, total]
176
179
  end
177
180
 
@@ -188,12 +191,15 @@ module Beaker
188
191
  def scp_from source, target, options = {}, dry_run = false
189
192
  return if dry_run
190
193
 
191
- options[:recursive] = true
192
- options[:chunk_size] = options[:chunk_size] || 16384
194
+ local_opts = options.dup
195
+ if local_opts[:recursive].nil?
196
+ local_opts[:recursive] = true
197
+ end
198
+ local_opts[:chunk_size] ||= 16384
193
199
 
194
200
  result = Result.new(@hostname, [source, target])
195
201
  result.stdout = "\n"
196
- @ssh.scp.download! source, target, options do |ch, name, sent, total|
202
+ @ssh.scp.download! source, target, local_opts do |ch, name, sent, total|
197
203
  result.stdout << "\tcopying %s: %10d/%d\n" % [name, sent, total]
198
204
  end
199
205
 
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '1.19.0'
3
+ STRING = '1.19.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs