Skip to content

Commit

Permalink
Rename json.lua to dkjson.lua
Browse files Browse the repository at this point in the history
That's the name the author distributes it under, so it seems better to
do it this way.
  • Loading branch information
rcloran committed May 8, 2023
1 parent 4e51e7c commit ffb67f6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ files["*/Info.lua"].std = "lightroom_plugin_info"

-- Vendored files that we don't expect to maintain
files["*/sha2.lua"].ignore = { "." }
files["*/json.lua"].ignore = { "." }
files["*/dkjson.lua"].ignore = { "." }
2 changes: 1 addition & 1 deletion .styluaignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*/json.lua
*/dkjson.lua
*/sha2.lua
build/**
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ and may have a different license. The files have been included largely
unmodified from their original source, except to add copyright and licensing
information where necessary.

json.lua
--------
dkjson.lua
----------

Copyright (C) 2010-2013 David Heiko Kolf

Expand Down
2 changes: 1 addition & 1 deletion lr-inaturalist-publish.lrdevplugin/DevSettings.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local LrFileUtils = import("LrFileUtils")
local LrPathUtils = import("LrPathUtils")

local json = require("json")
local json = require("dkjson")

local home = LrPathUtils.getStandardFilePath("home")
local f = LrPathUtils.child(home, ".lr-inaturalist-publish.json")
Expand Down
2 changes: 1 addition & 1 deletion lr-inaturalist-publish.lrdevplugin/INaturalistAPI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local LrStringUtils = import("LrStringUtils")
local LrTasks = import("LrTasks")

local Updates = require("Updates")
local json = require("json")
local json = require("dkjson")

local INaturalistAPI = {
clientId = "abue3CpJkLe1adPWFNFzrCj_riap_diH0bpGGq2HYIE",
Expand Down
2 changes: 1 addition & 1 deletion lr-inaturalist-publish.lrdevplugin/Login.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local LrTasks = import("LrTasks")

local INaturalistAPI = require("INaturalistAPI")
local Random = require("Random")
local json = require("json")
local json = require("dkjson")
local sha2 = require("sha2")

local Login = {}
Expand Down
2 changes: 1 addition & 1 deletion lr-inaturalist-publish.lrdevplugin/Updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local LrHttp = import("LrHttp")
local LrTasks = import("LrTasks")

local Info = require("Info")
local json = require("json")
local json = require("dkjson")

local Updates = {
baseUrl = "https://api.github.com/",
Expand Down
File renamed without changes.

0 comments on commit ffb67f6

Please sign in to comment.