This commit is contained in:
2021-01-24 16:18:54 +08:00
parent aeb8917aff
commit cd60625489
54 changed files with 105 additions and 157 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
class Float
# coding: UTF-8
class Float
def self.random_latitude
rand(40) * [1,-1][rand(2)] + (rand(10000.0) / 1000.0)
+1
View File
@@ -1,3 +1,4 @@
# encoding: utf-8
require_relative '../../services/data-repository/backend/sequel'
require_relative '../../app/models/visualization/collection'
require_relative '../../app/models/synchronization/collection'
+2
View File
@@ -1,3 +1,5 @@
# coding: UTF-8
class String
def self.random(length=10)
('a'..'z').sort_by {rand}[0,length].join