Sha256: db9f326a34a7a2a1e84d6ba66e5cd97ba008fb59bd8c0882c17bcf26d0094399

Contents?: true

Size: 205 Bytes

Versions: 12

Compression:

Stored size: 205 Bytes

Contents

module ClosureTree
  class Configuration # :nodoc:
    attr_accessor :database_less

    def initialize
      @database_less = ENV['DATABASE_URL'].to_s.include?('//user:pass@127.0.0.1/')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
closure_tree-7.4.0 lib/closure_tree/configuration.rb
closure_tree-7.4.0.rc1 lib/closure_tree/configuration.rb
closure_tree-7.3.0 lib/closure_tree/configuration.rb
closure_tree-7.2.0 lib/closure_tree/configuration.rb
closure_tree-7.1.0 lib/closure_tree/configuration.rb
closure_tree-7.0.0 lib/closure_tree/configuration.rb
closure_tree-6.6.0 lib/closure_tree/configuration.rb
closure_tree-6.5.0 lib/closure_tree/configuration.rb
closure_tree-6.4.0 lib/closure_tree/configuration.rb
closure_tree-6.3.0 lib/closure_tree/configuration.rb
closure_tree-6.2.0 lib/closure_tree/configuration.rb
closure_tree-6.1.0 lib/closure_tree/configuration.rb