coalmine 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,37 +1,39 @@
1
- class Coalmine::Configuration
1
+ module Coalmine
2
+ class Configuration
2
3
 
3
- attr_accessor :url, :environment, :signature, :logger, :host, :port, :proxy_host,
4
- :proxy_port, :proxy_user, :proxy_password, :protocol, :secure, :http_open_timeout,
5
- :http_read_timeout, :project_root, :framework, :filters,
4
+ attr_accessor :url, :environment, :signature, :logger, :host, :port, :proxy_host,
5
+ :proxy_port, :proxy_user, :proxy_password, :protocol, :secure, :http_open_timeout,
6
+ :http_read_timeout, :project_root, :framework, :filters,
6
7
 
7
- # For HTTP basic auth
8
- :http_user, :http_password,
8
+ # For HTTP basic auth
9
+ :http_user, :http_password,
9
10
 
10
- # The application version
11
- :version,
11
+ # The application version
12
+ :version,
12
13
 
13
- # The environments for which notifications can be posted
14
- :enabled_environments
14
+ # The environments for which notifications can be posted
15
+ :enabled_environments
15
16
 
16
- def initialize
17
- self.protocol = "https"
18
- self.host = "coalmineapp.com"
19
- self.port = 443
20
- self.secure = true
21
- self.enabled_environments = ["production", "staging"]
17
+ def initialize
18
+ self.protocol = "https"
19
+ self.host = "coalmineapp.com"
20
+ self.port = 443
21
+ self.secure = true
22
+ self.enabled_environments = ["production", "staging"]
22
23
 
23
- self.http_open_timeout = 3
24
- self.http_read_timeout = 6
25
- self.logger = Coalmine::Logger.new
26
- self.filters = []
27
- end
24
+ self.http_open_timeout = 3
25
+ self.http_read_timeout = 6
26
+ self.logger = Coalmine::Logger.new
27
+ self.filters = []
28
+ end
28
29
 
29
- def protocol=(proto)
30
- proto = "http" unless ["http", "https"].include?(proto)
31
- @protocol = proto
32
- end
30
+ def protocol=(proto)
31
+ proto = "http" unless ["http", "https"].include?(proto)
32
+ @protocol = proto
33
+ end
33
34
 
34
- def secure?
35
- self.secure
35
+ def secure?
36
+ self.secure
37
+ end
36
38
  end
37
39
  end
@@ -1,3 +1,3 @@
1
1
  module Coalmine
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brad Seefeld