Sha256: 641377fcf68bdfd1274958d639ad4a82d4e198f134efaeb6d5a853d160465444

Contents?: true

Size: 337 Bytes

Versions: 11

Compression:

Stored size: 337 Bytes

Contents

module LicenseFinder
  module Platform
    def self.sqlite_adapter
      java? ? 'jdbc:sqlite' : 'sqlite'
    end

    def self.sqlite_gem
      java? ? 'jdbc-sqlite3' : 'sqlite3'
    end

    def self.sqlite_load_path
      java? ? 'jdbc/sqlite3' : 'sqlite3'
    end

    def self.java?
      RUBY_PLATFORM =~ /java/
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
license_finder-1.1.1-java lib/license_finder/platform.rb
license_finder-1.1.1 lib/license_finder/platform.rb
license_finder-1.1.0 lib/license_finder/platform.rb
license_finder-1.0.1 lib/license_finder/platform.rb
license_finder-1.0.0.1 lib/license_finder/platform.rb
license_finder-1.0.0.0 lib/license_finder/platform.rb
license_finder-1.0.0.0-java lib/license_finder/platform.rb
license_finder-0.9.5.1-java lib/license_finder/platform.rb
license_finder-0.9.5.1 lib/license_finder/platform.rb
license_finder-0.9.5 lib/license_finder/platform.rb
license_finder-0.9.5-java lib/license_finder/platform.rb