rspec-abq 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed680f830f8937cce3a3732e0a03ca62da77ff054cd23e26dcd59f54b019b51b
4
- data.tar.gz: 1042ac324987d4659bab86194dd2e4a59eeb439f7c0794c76d771c68c3a7e4ea
3
+ metadata.gz: f88c2063493ad3b7115710c2fbd276bb4b08bf6f421804b1e667e617673963cd
4
+ data.tar.gz: 2feed437fb384a31d8d3bffdd3baa83a5aac9136198723a39b2fe6dc1a28dcea
5
5
  SHA512:
6
- metadata.gz: e4c3adc4d24036d2c838057ad7f25b033d39f35d0a1a7b681291b7523ef47c262a29dbbc2a28b46fa7244db2896fdf0a19560922d6f6c46a5a488069e5f4e265
7
- data.tar.gz: d97a1f0fd596dff067b8b87efb7b36a422bd99a512f47df38b1e70643b2c8df258b25c89343d1bb0ceabcb61b99602888ff7378becd526cab5892fc2bae83152
6
+ metadata.gz: b36a45217933dbd5a23064aef2562e298a84889bf219669de24a5e4702aebc8d0f056da4d791b823878b93af3b5982457b805d12778ce7842ee821c808cda07c
7
+ data.tar.gz: 9a0a403f7abed4e50fe4928bbd83449c36d6a206b7eedffb86bc19b8565a1c424fdf05d6ca8c685312f41e0ac29323c6b678f85f85212291b135ce053e6ef0a1
@@ -44,8 +44,8 @@ module RSpec
44
44
  file: example.metadata[:file_path],
45
45
  line: example.metadata[:line_number]
46
46
  },
47
- started_at: execution_result.started_at.utc.iso8601,
48
- finished_at: execution_result.finished_at.utc.iso8601,
47
+ started_at: execution_result.started_at.utc.iso8601(6), # anything higher-prescision just yielded 0s
48
+ finished_at: execution_result.finished_at.utc.iso8601(6),
49
49
  lineage: RSpec::Core::Metadata.ascend(example.metadata).map { |meta| meta[:description] }.reverse
50
50
  }
51
51
 
@@ -27,7 +27,8 @@ module RSpec
27
27
  # @!visibility private
28
28
  def self.extract_metadata_and_tags(metadata)
29
29
  # we use `.dup.reject! because `.reject` raises a warning (because it doesn't dup procs)`
30
- user_metadata = metadata.dup.reject! { |k, _v| RESERVED_METADATA_KEYS.include?(k) }
30
+ user_metadata = metadata.dup
31
+ user_metadata.reject! { |k, _v| RESERVED_METADATA_KEYS.include?(k) }
31
32
  tags_array, metadata_array = user_metadata.partition { |_k, v| v == true }
32
33
  [tags_array.map(&:first), metadata_array.to_h]
33
34
  end
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Abq
3
3
  # current version!
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-abq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayaz Hafiz