From e2fa21dc4419915d36441dfbd27b3e440a5fb47d Mon Sep 17 00:00:00 2001 From: Eher Date: Wed, 8 Feb 2012 22:31:18 -0200 Subject: [PATCH 1/4] Namespace from signatures methods was changed --- .../HmacSha1.php} | 4 ++-- .../PlainText.php} | 4 ++-- .../RsaSha1.php} | 4 ++-- .../SignatureMethod.php} | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename src/Eher/OAuth/{OAuthSignatureMethod_HMAC_SHA1.php => SignatureMethod/HmacSha1.php} (90%) rename src/Eher/OAuth/{OAuthSignatureMethod_PLAINTEXT.php => SignatureMethod/PlainText.php} (91%) rename src/Eher/OAuth/{OAuthSignatureMethod_RSA_SHA1.php => SignatureMethod/RsaSha1.php} (96%) rename src/Eher/OAuth/{OAuthSignatureMethod.php => SignatureMethod/SignatureMethod.php} (93%) diff --git a/src/Eher/OAuth/OAuthSignatureMethod_HMAC_SHA1.php b/src/Eher/OAuth/SignatureMethod/HmacSha1.php similarity index 90% rename from src/Eher/OAuth/OAuthSignatureMethod_HMAC_SHA1.php rename to src/Eher/OAuth/SignatureMethod/HmacSha1.php index 2da7fc4..d7a2d7b 100644 --- a/src/Eher/OAuth/OAuthSignatureMethod_HMAC_SHA1.php +++ b/src/Eher/OAuth/SignatureMethod/HmacSha1.php @@ -1,6 +1,6 @@ Date: Wed, 8 Feb 2012 22:42:21 -0200 Subject: [PATCH 2/4] Ignore files --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b59381 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.swp +composer.lock +composer.phar From 67680e1564f772e47af128dcae2a9cc828562e5c Mon Sep 17 00:00:00 2001 From: Eher Date: Wed, 8 Feb 2012 22:44:20 -0200 Subject: [PATCH 3/4] Composer project data fixed --- composer.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index b4af2ed..edd9218 100644 --- a/composer.json +++ b/composer.json @@ -7,11 +7,12 @@ "psr-0": { "OAuth": "src/" }, - "authors": - { - "name": "Andy Smith", - "homepage": "http://term.ie/" - }, + "authors":[ + { + "name": "Andy Smith", + "homepage": "http://term.ie/" + } + ], "require": { "php": ">=5.3.0" } From 9cc377d653afc464b898665e073afc760be935d0 Mon Sep 17 00:00:00 2001 From: Eher Date: Wed, 8 Feb 2012 23:35:31 -0200 Subject: [PATCH 4/4] SignatureMethod removed from namespace --- src/Eher/OAuth/{SignatureMethod => }/HmacSha1.php | 2 +- src/Eher/OAuth/{SignatureMethod => }/PlainText.php | 2 +- src/Eher/OAuth/{SignatureMethod => }/RsaSha1.php | 0 src/Eher/OAuth/{SignatureMethod => }/SignatureMethod.php | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/Eher/OAuth/{SignatureMethod => }/HmacSha1.php (96%) rename src/Eher/OAuth/{SignatureMethod => }/PlainText.php (96%) rename src/Eher/OAuth/{SignatureMethod => }/RsaSha1.php (100%) rename src/Eher/OAuth/{SignatureMethod => }/SignatureMethod.php (96%) diff --git a/src/Eher/OAuth/SignatureMethod/HmacSha1.php b/src/Eher/OAuth/HmacSha1.php similarity index 96% rename from src/Eher/OAuth/SignatureMethod/HmacSha1.php rename to src/Eher/OAuth/HmacSha1.php index d7a2d7b..b02b45b 100644 --- a/src/Eher/OAuth/SignatureMethod/HmacSha1.php +++ b/src/Eher/OAuth/HmacSha1.php @@ -1,6 +1,6 @@