Sha256: 15b2821d55d4b71340bbcc1646da466051587ede0c66189b635a8f3fbb12fa7b

Contents?: true

Size: 273 Bytes

Versions: 26

Compression:

Stored size: 273 Bytes

Contents

module Ring
class SQA
class Database

  class Ping < Sequel::Model
    set_schema do
      primary_key :id
      Fixnum      :time
      String      :peer
      Fixnum      :latency
      String      :result
    end
    create_table unless table_exists?
  end

end
end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ring-sqa-0.3.1 lib/ring/sqa/database/model.rb
ring-sqa-0.3.0 lib/ring/sqa/database/model.rb
ring-sqa-0.2.2 lib/ring/sqa/database/model.rb
ring-sqa-0.2.1 lib/ring/sqa/database/model.rb
ring-sqa-0.2.0 lib/ring/sqa/database/model.rb
ring-sqa-0.1.12 lib/ring/sqa/database/model.rb
ring-sqa-0.1.11 lib/ring/sqa/database/model.rb
ring-sqa-0.1.10 lib/ring/sqa/database/model.rb
ring-sqa-0.1.9 lib/ring/sqa/database/model.rb
ring-sqa-0.1.8 lib/ring/sqa/database/model.rb
ring-sqa-0.1.7 lib/ring/sqa/database/model.rb
ring-sqa-0.1.6 lib/ring/sqa/database/model.rb
ring-sqa-0.1.5 lib/ring/sqa/database/model.rb
ring-sqa-0.1.4 lib/ring/sqa/database/model.rb
ring-sqa-0.1.3 lib/ring/sqa/database/model.rb
ring-sqa-0.1.2 lib/ring/sqa/database/model.rb
ring-sqa-0.1.1 lib/ring/sqa/database/model.rb
ring-sqa-0.1.0 lib/ring/sqa/database/model.rb
ring-sqa-0.0.23 lib/ring/sqa/database/model.rb
ring-sqa-0.0.22 lib/ring/sqa/database/model.rb