Skip to content

Commit

Permalink
Merge pull request #104 from ven-k/fix-ext-names
Browse files Browse the repository at this point in the history
Prefix parent package name to extension names
  • Loading branch information
jw3126 authored May 5, 2023
2 parents 38ddb1d + afe4f01 commit 14d03e4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Accessors"
uuid = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
authors = ["Takafumi Arakaki <[email protected]>", "Jan Weidner <[email protected]> and contributors"]
version = "0.1.29"
version = "0.1.30"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand All @@ -22,10 +22,10 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"

[extensions]
AxisKeysExt = "AxisKeys"
IntervalSetsExt = "IntervalSets"
StaticArraysExt = "StaticArrays"
StructArraysExt = "StructArrays"
AccessorsAxisKeysExt = "AxisKeys"
AccessorsIntervalSetsExt = "IntervalSets"
AccessorsStaticArraysExt = "StaticArrays"
AccessorsStructArraysExt = "StructArrays"

[compat]
AxisKeys = "0.1,0.2" # extension tests only pass for AxisKeys 0.2, but 0.1 compat is required to run tests on Julia 1.3
Expand Down
2 changes: 1 addition & 1 deletion ext/AxisKeysExt.jl → ext/AccessorsAxisKeysExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module AxisKeysExt
module AccessorsAxisKeysExt
using Accessors
using AxisKeys

Expand Down
2 changes: 1 addition & 1 deletion ext/IntervalSetsExt.jl → ext/AccessorsIntervalSetsExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module IntervalSetsExt
module AccessorsIntervalSetsExt
using Accessors
using IntervalSets

Expand Down
2 changes: 1 addition & 1 deletion ext/StaticArraysExt.jl → ext/AccessorsStaticArraysExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module StaticArraysExt
module AccessorsStaticArraysExt
isdefined(Base, :get_extension) ? (import StaticArrays) : (import ..StaticArrays)
using Accessors
using Accessors: only # for 1.3-
Expand Down
2 changes: 1 addition & 1 deletion ext/StructArraysExt.jl → ext/AccessorsStructArraysExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module StructArraysExt
module AccessorsStructArraysExt
using Accessors
using StructArrays

Expand Down
2 changes: 1 addition & 1 deletion src/Accessors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if !isdefined(Base, :get_extension)
end
@static if !isdefined(Base, :get_extension)
function __init__()
@require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" include("../ext/StaticArraysExt.jl")
@require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" include("../ext/AccessorsStaticArraysExt.jl")
end
end

Expand Down

2 comments on commit 14d03e4

@jw3126
Copy link
Member Author

@jw3126 jw3126 commented on 14d03e4 May 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/82984

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.30 -m "<description of version>" 14d03e4700d1efbb4e236a66825070465818c09a
git push origin v0.1.30

Please sign in to comment.