catamaran 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ec5fad576b16ec643dff53a6c7d5428f2bb7a2c
4
- data.tar.gz: bfadf619612c9bc922c863ce4c7c3293944b11af
3
+ metadata.gz: 964da08063817858295eb8ed276fd0f07317c1f3
4
+ data.tar.gz: 1ee2b72993be3b4872a1a53024bbe73917d3cf42
5
5
  SHA512:
6
- metadata.gz: 6118b18e89b3c4eb21edb2f124f66df786735d5d4dc46c1481a2730119d78d86e869e32255a701f64724f0043d1800e7497b03d2386166ec07e1dd09f3ef6e4b
7
- data.tar.gz: a41e659df3ada791193bd1165428d9c1a7f08df9eb731033efd5b15d50a8b3938025ad9ccda10a91ac919fb3f2ae3a0565503552d78cf2f72f7f22e403965688
6
+ metadata.gz: e11e4eb1a4243122b22ad5538db37c0d7fd3e8ca649f9a9439f7165d0e044b1188e5669ba5bb38c4bff9157a0d29ca79884d8fc30e882b3ef7525bddf54901fa
7
+ data.tar.gz: 8bd279ea5845c50a5e8d4cce992befdde44641fddddfbcd1b8098b5e09a1e03a7e2debd09aaebc1fa3e081fbe691b0c9fde1664b6b9180789ba5f6a431546bc7
data/lib/catamaran.rb CHANGED
@@ -45,15 +45,23 @@ end
45
45
  # add rails integration
46
46
  require('catamaran/integration/rails') if defined?(Rails)
47
47
 
48
- # By default, Catamaran should write messages to STDERR (in addition to anywhere else configured)
49
- Catamaran::Manager.stderr = true
48
+ # By default, Catamaran should not write message to STDOUT
49
+ # Catamaran::Manager.stderr = false
50
50
 
51
- # By default, Catamaran will not write message to STDOUT
51
+ # By default, Catamaran should not write message to STDOUT
52
52
  # Catamaran::Manager.stdout = false
53
53
 
54
+ if [1,'1','t', 'true', 'y', 'yes','T', 'TRUE', 'Y', 'YES', true].include?( ENV['CATAMARAN_STDERR'] )
55
+ Catamaran::Manager.stderr = true
56
+ end
57
+
58
+ if [1,'1','t', 'true', 'y', 'yes','T', 'TRUE', 'Y', 'YES', true].include?( ENV['CATAMARAN_STDOUT'] )
59
+ Catamaran::Manager.stdout = true
60
+ end
61
+
54
62
  ##
55
63
  # Define the CatLogger alias for the Catamaran root logger
56
64
  Kernel.send( :remove_const, 'CatLogger' ) if Kernel.const_defined?( 'CatLogger' )
57
65
  Kernel.const_set( 'CatLogger', Catamaran.logger )
58
66
 
59
- Catamaran::Manager::reset
67
+ Catamaran::Manager::reset
@@ -14,7 +14,7 @@ module Catamaran
14
14
  end
15
15
 
16
16
  initializer :load_environment_specific_catamaran do
17
- initializer = Rails.root.join( "config", "initializers", "catamaran", "#{Rails.env}.rb" )
17
+ initializer = Rails.root.join( "config", "catamaran", "#{Rails.env}.rb" )
18
18
  require initializer if File.exist?( initializer )
19
19
  end
20
20
  end
@@ -1,4 +1,4 @@
1
1
  module Catamaran
2
- VERSION = '2.7.0'
2
+ VERSION = '2.8.0'
3
3
  end
4
4
 
@@ -13,9 +13,8 @@ module Catamaran
13
13
  end
14
14
 
15
15
  def copy_settings
16
- directory "catamaran", "config/initializers/catamaran"
16
+ directory "catamaran", "config/catamaran"
17
17
  end
18
-
19
18
  end
20
19
  end
21
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catamaran
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-27 00:00:00.000000000 Z
11
+ date: 2015-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake