Stub out device#throttle and device#unthrottle

pull/860/head
Rick Carlino 2018-05-20 15:04:38 -05:00
parent 3d0a9b6b44
commit b888280160
4 changed files with 17 additions and 9 deletions

View File

@ -6,7 +6,7 @@ GIT
GIT
remote: https://github.com/fog/fog-google
revision: 2a7a338cb3daeab6158b6a28dbd56177474d29f7
revision: 08900e91270ecfe3fb42796c6f2e2e375bf40434
specs:
fog-google (1.3.3)
fog-core

View File

@ -84,4 +84,12 @@ class Device < ApplicationRecord
def plants
points.where(pointer_type: "Plant")
end
def throttle
throw "NOT IMPL"
end
def unthrottle
throw "NOT IMPL"
end
end

View File

@ -35,10 +35,10 @@
"@types/history": "^4.6.1",
"@types/i18next": "^8.4.2",
"@types/jest": "22.2.3",
"@types/lodash": "4.14.108",
"@types/lodash": "4.14.109",
"@types/markdown-it": "^0.0.4",
"@types/moxios": "^0.4.5",
"@types/node": "^10.1.1",
"@types/node": "10.1.2",
"@types/react": "16.3.14",
"@types/react-color": "2.13.5",
"@types/react-dom": "16.0.5",

View File

@ -99,9 +99,9 @@
version "22.2.3"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-22.2.3.tgz#0157c0316dc3722c43a7b71de3fdf3acbccef10d"
"@types/lodash@4.14.108":
version "4.14.108"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.108.tgz#02656af3add2e5b3174f830862c47421c00ef817"
"@types/lodash@4.14.109":
version "4.14.109"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.109.tgz#b1c4442239730bf35cabaf493c772b18c045886d"
"@types/markdown-it@^0.0.4":
version "0.0.4"
@ -117,9 +117,9 @@
version "10.0.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.0.9.tgz#7cb73a6ef9cf4e41e5354e114e824bfdfd96a6b4"
"@types/node@^10.1.1":
version "10.1.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.1.1.tgz#ca39d8607fa1fcb146b0530420b93f1dd4802f6c"
"@types/node@10.1.2":
version "10.1.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.1.2.tgz#1b928a0baa408fc8ae3ac012cc81375addc147c6"
"@types/react-color@2.13.5":
version "2.13.5"