Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Moving snitch exceptions.

  • Loading branch information...
commit 5a78e559b8e1529b3134691df0fd11e35bc9f0d2 1 parent a4b465b
Elijah Miller jqr authored
1  Manifest.txt
@@ -8,7 +8,6 @@ bin/snitch
8 8 lib/snitch.rb
9 9 lib/snitch/base.rb
10 10 lib/snitch/config.rb
11   -lib/snitch/exceptions.rb
12 11 lib/snitch/patches/hash.rb
13 12 lib/snitch/service.rb
14 13 lib/snitch/services/echo.rb
1  lib/snitch.rb
@@ -4,7 +4,6 @@
4 4
5 5 require 'snitch/base'
6 6 require 'snitch/config'
7   -require 'snitch/exceptions'
8 7 require 'snitch/patches/hash'
9 8 require 'snitch/service'
10 9 require 'snitch/services/echo'
3  lib/snitch/base.rb
... ... @@ -1,6 +1,9 @@
1 1 class Snitch
2 2 attr_reader :services, :config
3 3
  4 + class ConfigFileLoadError < StandardError; end
  5 + class ServiceLoginError < StandardError; end
  6 +
4 7 def initialize(repository, revision, options)
5 8 config_file = options[:config_file]
6 9 Config.config_file_path = config_file unless config_file.nil?
4 lib/snitch/exceptions.rb
... ... @@ -1,4 +0,0 @@
1   -class Snitch
2   - class ConfigFileLoadError < StandardError; end
3   - class ServiceLoginError < StandardError; end
4   -end

0 comments on commit 5a78e55

Please sign in to comment.
Something went wrong with that request. Please try again.