diff --git a/deps/semver b/deps/semver index d21d7c01..f39befcf 160000 --- a/deps/semver +++ b/deps/semver @@ -1 +1 @@ -Subproject commit d21d7c014e30ccd1cca8f77062eb8d1cc7e05af7 +Subproject commit f39befcf356dfa1dc285888c91ee0fde2f3f69e8 diff --git a/index/alire-index-hello.ads b/index/alire-index-hello.ads index bc8adaaa..cbc10aec 100644 --- a/index/alire-index-hello.ads +++ b/index/alire-index-hello.ads @@ -13,7 +13,7 @@ package Alire.Index.Hello is Desc, Repo, "8cac0afddc505794ae3e5634745ce0830129d241", - Depends_On => At_Least_Within_Major (Libhello.V_1_0_0)); + Depends_On => Within_Major (Libhello.V_1_0_0)); V_1_0_1 : constant Release := Register_Git (Name, @@ -21,6 +21,6 @@ package Alire.Index.Hello is Desc, Repo, "65725c20778875eef12b61a01b437120932965f3", - Depends_On => At_Least_Within_Major (Libhello.V_1_0_0)); + Depends_On => Within_Major (Libhello.V_1_0_0)); end Alire.Index.Hello; diff --git a/src/alire-index.ads b/src/alire-index.ads index ce3ec59a..f7b01654 100644 --- a/src/alire-index.ads +++ b/src/alire-index.ads @@ -55,7 +55,7 @@ package Alire.Index is function V (Semantic_Version : String) return Semantic_Versioning.Version renames Semantic_Versioning.New_Version; - function At_Least_Within_Major (R : Release) return Dependencies; + function Within_Major (R : Release) return Dependencies; function At_Least (R : Release) return Dependencies; function At_Most (R : Release) return Dependencies; @@ -67,7 +67,7 @@ package Alire.Index is subtype Version is Semantic_Versioning.Version; subtype Version_Set is Semantic_Versioning.Version_Set; - function At_Least_Within_Major (P : Project_Name; V : Version) return Dependencies; + function Within_Major (P : Project_Name; V : Version) return Dependencies; function At_Least (P : Project_Name; V : Version) return Dependencies; function At_Most (P : Project_Name; V : Version) return Dependencies; @@ -124,8 +124,8 @@ private use all type Dependencies; - function At_Least_Within_Major (R : Release) return Dependencies is - (New_Dependency (R.Project, At_Least_Within_Major (R.Version))); + function Within_Major (R : Release) return Dependencies is + (New_Dependency (R.Project, Within_Major (R.Version))); function At_Least (R : Release) return Dependencies is (New_Dependency (R.Project, At_Least (R.Version))); @@ -146,8 +146,8 @@ private (New_Dependency (R.Project, Except (R.Version))); - function At_Least_Within_Major (P : Project_Name; V : Version) return Dependencies is - (New_Dependency (P, At_Least_Within_Major (V))); + function Within_Major (P : Project_Name; V : Version) return Dependencies is + (New_Dependency (P, Within_Major (V))); function At_Least (P : Project_Name; V : Version) return Dependencies is (New_Dependency (P, At_Least (V)));