allure-ruby-adaptor-api 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/allure-ruby-adaptor-api/builder.rb +1 -1
- data/lib/allure-ruby-adaptor-api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6804114ef5913bd635c68cdb0a6910ed69c31bfc
|
4
|
+
data.tar.gz: 56c97fff77ff5ddfe3c3c9185e95bd10359893ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a865fa6847bcd77a49a6f5f1e971548674217dbc4ba741c2d9a0fb58c710e016643d802676deba6c9390e6920141941545ddce65b7264b63c530b53063cb468
|
7
|
+
data.tar.gz: f0eab82c83bb439c15e43abc536730b007e61b3e0053e3259ef08c9bbed0108f4cce0a7ae70efa02013e08c28e86c8e23ff897c6aa5cc20c0be284d46265b05a
|
@@ -84,7 +84,7 @@ module AllureRubyAdaptorApi
|
|
84
84
|
file_extname = File.extname(file.path.downcase)
|
85
85
|
mime_type = opts[:mime_type] || MimeMagic.by_path(file.path) || "text/plain"
|
86
86
|
attachment = dir.join("#{Digest::SHA256.file(file.path).hexdigest}-attachment#{(file_extname.empty?) ? '' : file_extname}")
|
87
|
-
|
87
|
+
LOGGER.debug "Copying attachment to '#{attachment}'..."
|
88
88
|
FileUtils.cp(file.path, attachment)
|
89
89
|
attach = {
|
90
90
|
:type => mime_type,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-ruby-adaptor-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Sadykov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -123,5 +123,5 @@ rubyforge_project:
|
|
123
123
|
rubygems_version: 2.4.6
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
|
-
summary: allure-ruby-adaptor-api-0.6.
|
126
|
+
summary: allure-ruby-adaptor-api-0.6.9
|
127
127
|
test_files: []
|