gorgon 0.6.4 → 0.6.5

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
- MTQ3N2NjZTA4ZDU2MWY0NGY0NTc5MDM2ZWViMTQ5MzNkYzI1MDA4OQ==
4
+ NDNlYzEyMzQ2ZjEyMTE1MjJjNGEyZTRmYjVlMWZhYWYxZjgwOWQwMA==
5
5
  data.tar.gz: !binary |-
6
- Yzc5NTA4MjE5MGMzMTMxMzQ1NTg1YTY4NjI3YWM0ZTJmMGIxMDNjYg==
6
+ N2I4YWRkOTFiOWIyNTY3NjI4NTAxYmRiZTg3MzY1OGE3ODZmOTk0Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDEyNTMxODUwZWU3MTllNmJmMzNiMWI2N2ZkYWYyZWQxNGEzNWIyMWExMjQ4
10
- MDJhZDQ0OGVlZTdmMDNjMjQxOWMxMzZiYTQyOGVmNmVlNDUzNjg3OTZhNGYx
11
- NzhhMWUzMmNjMTgwMzMzZWVjMjJmYTU4ZTk3OWNmYjE0MDFmMzc=
9
+ ZDI2MWE1MGEyNDk3ZjM0ZTEzNTYwZTE5ODFkYTM4ZjQ5NzM3N2MwNzA1ZWIz
10
+ OWFmYjgxYzRiMTM1MzlhZWJmNTNmZTk3YWU1ZTYwOGIxNGRlNTljNTVkZjcx
11
+ ZGU4NmM4MTRiODkxNGQzMmJjZDQ5MmVkYmY0M2Q1ODg1MjM2Mjg=
12
12
  data.tar.gz: !binary |-
13
- MmQ3MGMzY2UyZWYwYzg3YmJmZGU3NTMxN2UyN2VhMGRhMDIyYzUzMTRjMjc5
14
- NmYxODZmODczMjY2Y2UwMDBkNmRiNzA4MjNiZmNkOGNmZGM1MTBkOWVkZDBi
15
- NjQ4ZWRkYmY2MTYxYWE3OWNkNzAxMDIzYTY4MThmZDQ0NDZjZmQ=
13
+ ZTM2ZjgxYjBlNGM0ZmIzMzA1ODAwZGM5ZTAxNjQ0MjcwMmI0MDQ5M2QwYmEy
14
+ NmQyYTYyZmY5MDQwOWI3MWZlYTFhYWRhNGUwNzQxYjg1MmJlOWJiZmM3Njgx
15
+ NzNiMmRlZTE3ZTE1ZjRiMTVjOTA5NWQzYTc5MjI1YjlmYTlmZjI=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gorgon (0.6.4)
4
+ gorgon (0.6.5)
5
5
  amqp (~> 1.1.0)
6
6
  awesome_print
7
7
  colorize (~> 0.5.8)
@@ -30,9 +30,9 @@ class RspecRunner
30
30
  private
31
31
 
32
32
  def keep_config_modules
33
- config_modules = RSpec.configuration.include_or_extend_modules
33
+ orig_configuration = ::RSpec.configuration.clone
34
34
  yield
35
- RSpec.configuration.include_or_extend_modules = config_modules
35
+ ::RSpec.instance_variable_set(:@configuration, orig_configuration)
36
36
  end
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Gorgon
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
@@ -7,12 +7,12 @@ describe RspecRunner do
7
7
  it {should respond_to(:runner).with(0).argument}
8
8
 
9
9
  describe "#run_file" do
10
- let(:configuration) { double('Configuration', include_or_extend_modules: ['modules'],
11
- :include_or_extend_modules= => nil) }
10
+ let(:configuration) { double('Configuration') }
12
11
 
13
12
  before do
14
13
  RSpec::Core::Runner.stub(:run)
15
- RSpec.stub(configuration: configuration)
14
+ RSpec.stub(configuration: configuration,
15
+ instance_variable_set: nil)
16
16
  end
17
17
 
18
18
  it "uses Rspec runner to run filename and uses the correct options" do
@@ -39,7 +39,8 @@ describe RspecRunner do
39
39
  # since configuration is reset on each run
40
40
  # https://github.com/rspec/rspec-core/issues/621
41
41
  it 'restore initial rspec configuration' do
42
- RSpec.configuration.should_receive(:include_or_extend_modules=).with(['modules'])
42
+ RSpec.should_receive(:instance_variable_set).
43
+ with(:@configuration, configuration)
43
44
  RspecRunner.run_file "file"
44
45
  end
45
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorgon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Fitzsimmons
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-03-13 00:00:00.000000000 Z
15
+ date: 2014-04-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake