new
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# coding: utf-8
|
||||
|
||||
require File.expand_path('../boot', __FILE__)
|
||||
|
||||
require "action_controller/railtie"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
require 'carto/configuration'
|
||||
|
||||
CartoDB::Application.configure do
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
require 'carto/configuration'
|
||||
|
||||
CartoDB::Application.configure do
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
require 'carto/configuration'
|
||||
|
||||
CartoDB::Application.configure do
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
require 'carto/configuration'
|
||||
|
||||
CartoDB::Application.configure do
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
CartoDB::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
|
||||
@@ -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,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'
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# coding: UTF-8
|
||||
|
||||
class String
|
||||
def self.random(length=10)
|
||||
('a'..'z').sort_by {rand}[0,length].join
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# encoding: utf-8
|
||||
|
||||
# rubocop:disable Metrics/LineLength, Style/ExtraSpacing, Style/SingleSpaceBeforeFirstArg
|
||||
|
||||
# NOTES:
|
||||
|
||||
Reference in New Issue
Block a user