7 files changed, 16 insertions(+), 10 deletions(-)
M CHANGELOG.md
M META6.json
R lib/Hash/{Merge.pm6 => Merge.rakumod}
R lib/Hash/Merge/{Augment.pm6 => Augment.rakumod}
R t/{01-thing.t => 01-thing.rakutest}
R t/{02-empty-source.t => 02-empty-source.rakutest}
R t/{03-unit.t => 03-unit.rakutest}
M CHANGELOG.md => CHANGELOG.md +2 -0
@@ 24,6 24,8 @@ Versioning](http://semver.org/spec/v2.0.0.html).
- The README has been rewritten in Pod6.
+- Perl 6 references have been updated to Raku.
+
## [1.0.0] - 2018-03-28
### Added
M META6.json => META6.json +3 -3
@@ 10,10 10,10 @@
"description": "Raku module to deep merge Hashes",
"license": "Artistic-2.0",
"name": "Hash::Merge",
- "perl": "6.c",
+ "perl": "6.d",
"provides": {
- "Hash::Merge": "lib/Hash/Merge.pm6",
- "Hash::Merge::Augment": "lib/Hash/Merge/Augment.pm6"
+ "Hash::Merge": "lib/Hash/Merge.rakumod",
+ "Hash::Merge::Augment": "lib/Hash/Merge/Augment.rakumod"
},
"source-url": "https://github.com/scriptkitties/p6-Hash-Merge.git",
"tags": [
R lib/Hash/Merge.pm6 => lib/Hash/Merge.rakumod +1 -1
@@ 75,4 75,4 @@ sub merge-hash (
%result;
}
-# vim: ft=perl6 ts=4 sw=4 et
+# vim: ft=raku ts=4 sw=4 et
R lib/Hash/Merge/Augment.pm6 => lib/Hash/Merge/Augment.rakumod +2 -2
@@ 1,6 1,6 @@
#! /usr/bin/env false
-use v6.c;
+use v6.d;
use MONKEY-TYPING;
use Hash::Merge;
@@ 30,4 30,4 @@ augment class Hash {
}
}
-# vim: ft=perl6 ts=4 sw=4 et
+# vim: ft=raku ts=4 sw=4 et
R t/01-thing.t => t/01-thing.rakutest +3 -1
@@ 1,4 1,4 @@
-#! /usr/bin/env perl6
+#! /usr/bin/env raku
use v6;
use lib 'lib';
@@ 52,3 52,5 @@ is-deeply %a, {Z => 'new', a => 2, b => 1, y => {a => 1, z => 2}};
}
done-testing;
+
+# vim: ft=raku ts=4 sw=4 et
R t/02-empty-source.t => t/02-empty-source.rakutest +3 -1
@@ 1,4 1,4 @@
-#! /usr/bin/env perl6
+#! /usr/bin/env raku
use v6.d;
@@ 20,3 20,5 @@ my %empty;
%empty.merge(%hash);
is-deeply %empty, %hash, "Merge into empty hash";
+
+# vim: ft=raku ts=4 sw=4 et
R t/03-unit.t => t/03-unit.rakutest +2 -2
@@ 1,4 1,4 @@
-#! /usr/bin/env perl6
+#! /usr/bin/env raku
use v6.c;
@@ 56,4 56,4 @@ subtest "merge-hashes" => {
is-deeply merge-hashes(%original, %(b => %(d => "d")), %(b => %(e => "e"))), %result, "Hash merges correctly";
}
-# vim: ft=perl6 ts=4 sw=4 et
+# vim: ft=raku ts=4 sw=4 et