rspec_in_context 0.3.1 → 0.3.2

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: '093babbda0656c35070c189b44b2d0e6c7297659687f656569060b066062ca13'
4
- data.tar.gz: 37e1e6bec4007cad66da1dc62cab3a1b4f61d728cc4f8c82c49212f1dc869734
3
+ metadata.gz: 16804202a97639a71c266c5f798e83e5ce0ab2336d5536092001eee4b1c31c8e
4
+ data.tar.gz: 7e06de9d879148f5b1cd00e96ce06cabb80c682b1b84585095d66af8daf07e83
5
5
  SHA512:
6
- metadata.gz: f052ed388491d1032f9616e7fb079eb6564bb5b2a439ed305960b6895491a61bdc89aeee6a68e7f00c3e8390072d9b88a76b7ea63afe85b7d9a69fe32747d975
7
- data.tar.gz: 7acc88db5560b9d25d4cbb06178e9a5d81ef9af68f7b78d6dfe1742d0f6d3c3da6bea6489a8a58dc44db432dcd1b753235f15d252dc63c25e35b532f50a867af
6
+ metadata.gz: 82cbcb2168d84f84161bf4b57ec73ad28540b5bf50054eb1c060a4e285c8028efa7bc2c6ca8f62b8f95a330897d067a860ee4fc315fab07fa076fb6a47de02f9
7
+ data.tar.gz: d0583543ee5ead5e55bb1ece006e633baf15e0eb8399a081a116b2c364e00df0b3ffe5046ca8546af3406f9d49598383722b27af6b0d960cf41a23da02681023
@@ -16,6 +16,7 @@ module RspecInContext
16
16
 
17
17
  def add_context(context_name, owner = nil, namespace = nil, &block)
18
18
  namespace ||= GLOBAL_CONTEXT
19
+ warn("Overriding an existing context: #{context_name}@#{namespace}") if contexts[namespace][context_name]
19
20
  contexts[namespace][context_name] = Context.new(block, owner, context_name, namespace)
20
21
  end
21
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RspecInContext
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_in_context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis <Zaratan> Pasin