Ben Ramsey
41f9f27337
Rather than skipping these tests, just return for a clean test run
2013-07-03 18:00:49 -05:00
Ben Ramsey
e44a6ae90f
Ensure uppercase digits in the node are converted to lowercase
2013-07-03 17:59:25 -05:00
Ben Ramsey
c45f2c3cab
Updating CHANGELOG for version 2.1.1
2013-04-29 15:58:42 -05:00
Ben Ramsey
9d175d1d79
Fixed NIL bug in isValid() method, reported by @ocubom in PR #11
2.1.1
2013-04-29 15:38:09 -05:00
Ben Ramsey
79a655e886
Bump version numbers and update Travis to test on PHP 5.5
2.1.0
2013-04-15 18:43:05 -05:00
Ben Ramsey
37a32ad9fe
Updating HTML documentation for the 2.1.0 release
2013-04-15 18:35:50 -05:00
Ben Ramsey
8d96019717
Updated CHANGELOG for version 2.1.0 release
2013-04-15 18:32:02 -05:00
Ben Ramsey
87a7365c80
Merge pull request #11 from ericthelin/feature-is-valid
...
Merging in pull request to create an isValid method
2013-04-15 16:18:48 -07:00
Eric Thelin
77d2aa5007
only call the getClockSeqHiAndReserved method once because it will have the same data each time
2013-04-15 17:48:14 -05:00
Eric Thelin
40a13a18c6
create isValid method call to check is a UUID matches the standards including tests
2013-04-15 17:47:08 -05:00
Ben Ramsey
901febf14a
Added date to the 2.0.0 release
2013-02-11 14:48:25 -06:00
Ben Ramsey
257d668b6e
Setting up dev-master branch alias for 2.0.x-dev
2.0.0
2013-02-11 13:16:50 -06:00
Ben Ramsey
27626f623a
Merge pull request #9 from ramsey/feature-32bit-support
...
32bit Support and Other Improvements
2013-02-11 11:01:27 -08:00
Ben Ramsey
5da5e08188
Removed 64-bit requirement statement from composer.json description
...
[ci skip]
2013-01-20 11:38:58 -06:00
Ben Ramsey
33198005c9
Bumping copyright year to 2013.
2013-01-20 11:35:46 -06:00
Ben Ramsey
c896ce833e
Fixing typo in changelog
2013-01-20 11:30:50 -06:00
Ben Ramsey
be9325ffc9
Updated example in README to show usage of try/catch for dependencies
2013-01-20 11:07:25 -06:00
Ben Ramsey
a07a86ef14
Improved exception messages to provide hints for other methods to call
2013-01-20 11:06:56 -06:00
Ben Ramsey
936f8e0b8e
Adding a CHANGELOG to the repository
2013-01-19 13:32:02 -06:00
Ben Ramsey
a375603287
Adding line to README about generated API documentation.
2013-01-19 13:31:41 -06:00
Ben Ramsey
9a7b5b9053
Adding generated API documentation to the repository
2013-01-19 13:30:53 -06:00
Ben Ramsey
a5f297be77
Improved and cleaned up API documentation.
2013-01-19 13:27:10 -06:00
Ben Ramsey
689af97cd9
Throw exception from getTimestampHex() if not a version 1 UUID
2013-01-19 13:25:32 -06:00
Ben Ramsey
8f63d671a7
Replace BadMethodCallException with UnsatisfiedDependencyException
2013-01-19 12:48:05 -06:00
Ben Ramsey
ad3bde8b24
Moved UnsupportedOperationException to the Exception subnamespace
2013-01-19 12:09:04 -06:00
Ben Ramsey
4984b7a4df
Bump moontoast/math dependency to version 1.0.0
2013-01-14 13:57:11 -06:00
Ben Ramsey
fdb88d3637
Updating for changes made to the Moontoast\Math\BigNumber interface
2013-01-09 17:28:44 -06:00
Ben Ramsey
52e080bc52
Fixing tests to run on 32-bit systems
2013-01-06 13:13:15 -06:00
Ben Ramsey
3c3abba795
Copied UuidTest from 1.1.2 tag and placed here for BC tests
2013-01-06 11:10:13 -06:00
Ben Ramsey
74354bf7d1
Updating the description of moontoast/math dependency suggestion
2013-01-05 03:15:43 -06:00
Ben Ramsey
f76f65e83c
Cleaning up tests; removed TestCase class and moved all into UuidTest
2013-01-05 03:14:23 -06:00
Ben Ramsey
eb83d9bcf9
BC-BREAK: Changing output of most/least sig bits methods
2013-01-05 03:12:59 -06:00
Ben Ramsey
9104026c14
Support UUID timestamp on 32-bit systems
2013-01-05 02:56:17 -06:00
Ben Ramsey
a3eb795b82
Switch system node parameter to be a string hexadecimal value
2013-01-04 22:56:02 -06:00
Ben Ramsey
61cd298122
Throwing exceptions for certain methods on 32-bit systems
2013-01-04 22:37:41 -06:00
Ben Ramsey
ed8ec33eb1
Adding hasBigNumber() and is64BitSystem() helper methods
2013-01-04 21:58:47 -06:00
Ben Ramsey
a7766c0e40
Removing 32-bit exception thrown from the constructor
2013-01-04 21:41:46 -06:00
Ben Ramsey
e2579ac565
Moving method around for consistent alphabetical ordering
2013-01-04 21:40:12 -06:00
Ben Ramsey
a4ccac8373
Testing uuid1() with a 32-bit int node passed in
2013-01-04 21:34:13 -06:00
Ben Ramsey
f8292a6823
Marking certain tests as skipped, if not on a 64-bit system
2013-01-04 21:33:15 -06:00
Ben Ramsey
f877161a5c
Move testing flag for ignoring system node to a static property
2013-01-04 21:08:29 -06:00
Ben Ramsey
7f1c5dda77
Converted internals to use string hex fields, rather than integers
...
I managed to accomplish this without affecting backwards compatibility
of the interface and expected outputs. Unfortunately, two tests are now
failing, even on 64-bit platforms: getMostSignificantBits() and
getLeastSignificantBits(). I will need to break BC for these two
methods in order to return integers (rather than floats).
2013-01-04 18:27:18 -06:00
Ben Ramsey
e394a27e74
Implemented get*Hex() methods for most/least significant bits
2013-01-04 17:07:01 -06:00
Ben Ramsey
8cea239e85
Add additional assertion for better testing of getBytes()
2013-01-04 16:58:22 -06:00
Ben Ramsey
ca73977ae3
Providing separate get*Hex() methods for each UUID field
2013-01-04 16:57:39 -06:00
Ben Ramsey
96d8414fc7
Merge pull request #8 from marijn/relax-doctrine-type-conversion
...
Relax conversion rules.
1.1.2
2012-11-29 08:24:57 -08:00
Marijn Huizendveld
2612648d2e
Relax conversion rules.
...
Current implementation would not accept empty strings and would
throw exception in that case.
2012-11-29 09:54:06 +01:00
Ben Ramsey
5215d7e0b0
Removing "final" restriction so that the class may be mocked
1.1.1
2012-08-27 22:03:23 -05:00
Ben Ramsey
edcda15194
Merge branch 'master' of github.com:ramsey/uuid
...
* 'master' of github.com:ramsey/uuid:
Fix PHPDoc keyword.
2012-08-27 22:02:10 -05:00
Ben Ramsey
4d5dccd701
Merge pull request #7 from marijn/fix-php-doc
...
Fix PHPDoc keyword.
2012-08-21 10:38:05 -07:00