Sha256: 6967cb39ff5491e4840f8cace4af99f5cc9596e0f0f1b98a42b79ec816eda823

Contents?: true

Size: 964 Bytes

Versions: 5

Compression:

Stored size: 964 Bytes

Contents

require 'open-uri'

module Arduino
  module Library
    unless defined?(DEFAULT_ARDUINO_LIBRARY_INDEX_URL)
      DEFAULT_ARDUINO_LIBRARY_INDEX_URL  =
        'http://downloads.arduino.cc/libraries/library_index.json.gz'
      DEFAULT_ARDUINO_LIBRARY_PATH       =
        ENV['ARDUINO_CUSTOM_LIBRARY_PATH'] || (ENV['HOME'] + '/Documents/Arduino/Libraries')
      DEFAULT_ARDUINO_LIBRARY_INDEX_PATH =
        ENV['ARDUINO_LIBRARY_INDEX_PATH'] ||
          (ENV['HOME'] + '/Documents/Arduino/Libraries/index.json.gz')
    end
  end
end

require 'arduino/library/version'
require 'arduino/library/utilities'
require 'arduino/library/types'
# noinspection RubyResolve
require 'arduino/library/model'
require 'arduino/library/database'
require 'arduino/library/default_database'
require 'arduino/library/finder'
require 'arduino/library/instance_methods'

module Arduino
  module Library
    include InstanceMethods
  end
end

Arduino::Library.extend(Arduino::Library)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arduino-library-0.5.5 lib/arduino/library.rb
arduino-library-0.5.4 lib/arduino/library.rb
arduino-library-0.5.3 lib/arduino/library.rb
arduino-library-0.5.1 lib/arduino/library.rb
arduino-library-0.5.0 lib/arduino/library.rb