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 +4 -4
- data/lib/catamaran.rb +12 -4
- data/lib/catamaran/integration/rails.rb +1 -1
- data/lib/catamaran/version.rb +1 -1
- data/lib/generators/catamaran/install_generator.rb +1 -2
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 964da08063817858295eb8ed276fd0f07317c1f3
         | 
| 4 | 
            +
              data.tar.gz: 1ee2b72993be3b4872a1a53024bbe73917d3cf42
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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  | 
| 49 | 
            -
            Catamaran::Manager.stderr =  | 
| 48 | 
            +
            # By default, Catamaran should not write message to STDOUT
         | 
| 49 | 
            +
            # Catamaran::Manager.stderr = false
         | 
| 50 50 |  | 
| 51 | 
            -
            # By default, Catamaran  | 
| 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", " | 
| 17 | 
            +
                        initializer = Rails.root.join( "config", "catamaran", "#{Rails.env}.rb" )
         | 
| 18 18 | 
             
                        require initializer if File.exist?( initializer )
         | 
| 19 19 | 
             
                      end
         | 
| 20 20 | 
             
                    end
         | 
    
        data/lib/catamaran/version.rb
    CHANGED
    
    
    
        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. | 
| 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:  | 
| 11 | 
            +
            date: 2015-10-09 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rake
         |