Skip to content

Commit

Permalink
Rename to Bitcoin::Secp256k1
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrtj committed Sep 12, 2024
1 parent 63ac821 commit 67ce0e8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/.build
/.tidyall.d
/Bitcoin-libsecp256k1*
/Bitcoin-Secp256k1*
*.tar.gz


2 changes: 1 addition & 1 deletion .tidyallrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[PerlTidy]
select = **/*.{pl,pm,t}
ignore = Bitcoin-libsecp256k1*/**/*.{pl,pm,t}
ignore = Bitcoin-Secp256k1*/**/*.{pl,pm,t}
argv = -pro=./.perltidyrc --character-encoding=none

3 changes: 2 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Revision history for Bitcoin-libsecp256k1
Revision history for Bitcoin-Secp256k1

{{$NEXT}}

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Bitcoin::libsecp256k1
# Bitcoin::Secp256k1
A Perl module for blah blah blah

## Code and documentation
[Bitcoin::libsecp256k1 on CPAN](https://metacpan.org/release/Bitcoin-libsecp256k1)
[Bitcoin::Secp256k1 on CPAN](https://metacpan.org/release/Bitcoin-Secp256k1)

## Bugs and feature requests
Please use the Github's issue tracker to file both bugs and feature requests.
Expand All @@ -16,4 +16,3 @@ bigger so we can talk it through.
### Author
Bartosz Jarzyna <[email protected]>


2 changes: 1 addition & 1 deletion libsecp256k1.xs → Secp256k1.xs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <secp256k1.h>

MODULE = Bitcoin::libsecp256k1 PACKAGE = Bitcoin::libsecp256k1
MODULE = Bitcoin::Secp256k1 PACKAGE = Bitcoin::Secp256k1

PROTOTYPES: DISABLED

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = Bitcoin-libsecp256k1
name = Bitcoin-Secp256k1
version = 0.001
author = Bartosz Jarzyna <[email protected]>
license = Perl_5
Expand Down
8 changes: 4 additions & 4 deletions lib/Bitcoin/libsecp256k1.pm → lib/Bitcoin/Secp256k1.pm
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package Bitcoin::libsecp256k1;
package Bitcoin::Secp256k1;

use v5.10;
use warnings;

require XSLoader;
XSLoader::load('Bitcoin::libsecp256k1', $Bitcoin::libsecp256k1::VERSION);
XSLoader::load('Bitcoin::Secp256k1', $Bitcoin::Secp256k1::VERSION);

1;

__END__
=head1 NAME
Bitcoin::libsecp256k1 - New module
Bitcoin::Secp256k1 - New module
=head1 SYNOPSIS
use Bitcoin::libsecp256k1;
use Bitcoin::Secp256k1;
# do something
Expand Down
2 changes: 1 addition & 1 deletion t/base.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use Test2::V0;

Check failure on line 1 in t/base.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.40

File t/base.t needs tidying
use Bitcoin::libsecp256k1;
use Bitcoin::Secp256k1;

################################################################################
# This tests whether blah blah blah
Expand Down

0 comments on commit 67ce0e8

Please sign in to comment.