stack_commander 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: ea6f033d5e877f5bb3db2ac7eb92a9afbc2c5e37
4
- data.tar.gz: 27354acec969c480e1a7e5602050ae6cd68a3657
3
+ metadata.gz: a577536ec59372ee60b718a0da14d58fc8d51fba
4
+ data.tar.gz: b4e267a58fe1b279d43f324611193dc99feabce3
5
5
  SHA512:
6
- metadata.gz: df22317821decb2cb30742f8cac7e8011b5fa144a481b5cef85d961a564907dd685934670dc5f01e5ff651eb6ea82aad1a7a40934e9ddb58facac5d9aba42697
7
- data.tar.gz: bbce7a98ecef2be964f1c92cff513a9f945c3c9e0f2ec71fdb8eab37e861f1a6fdbdb70ab4cb27c766bdf38fafe19348772dc4bbeca0e2e9db0220451575fe07
6
+ metadata.gz: 8a0a357a47f371885f9e6edc02df42acb19e0e4c5560a964c658404189606994944d73e7674fad70d0cdec5de0689a777b9808ae0e141c2e312600853d7dca3e
7
+ data.tar.gz: f30a782aa5458334351dc9b594b5baf76ced7dfcaa76207630f4c43c54ec6bc8c11753a4c95cecab059e0adba33599686ca630e4ef12caf40437de878b2d3ba8
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gem 'redcarpet'
7
7
  gem 'github-markup'
8
8
 
9
9
  group :test do
10
- gem 'pry-debugger'
10
+ gem 'pry-byebug'
11
11
  gem 'pry-stack_explorer'
12
12
  gem 'codeclimate-test-reporter', require: nil
13
13
  end
@@ -5,16 +5,12 @@ module StackCommander
5
5
  stack.call
6
6
  cleanup
7
7
  rescue => exception
8
- logger && logger.error(exception)
9
8
  recover(exception)
10
9
  raise
11
10
  ensure
12
11
  insurance
13
12
  end
14
13
 
15
- def logger
16
- end
17
-
18
14
  def cleanup
19
15
  end
20
16
 
@@ -1,3 +1,3 @@
1
1
  module StackCommander
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
@@ -52,18 +52,6 @@ describe StackCommander::Command do
52
52
  expect(stack).to receive(:call).and_raise(StandardError)
53
53
  end
54
54
 
55
- context 'logger exists' do
56
- let(:logger) { double('logger') }
57
-
58
- before do
59
- allow(subject).to receive(:logger).and_return(logger)
60
- end
61
-
62
- it 'logs error' do
63
- expect(logger).to receive(:error).with(an_instance_of(StandardError))
64
- end
65
- end
66
-
67
55
  it 'still calls insurance' do
68
56
  expect(subject).to receive(:insurance)
69
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Cichra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-21 00:00:00.000000000 Z
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler