-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 3.x to include current master #347
Commits on Mar 6, 2015
-
There are a lot of places in the code where we rescue any error, at all. That's quite dangerous, as it could conceal bugs. I've changed it so that we always specify which error class we want to catch. Mostly it's been a minor change, but there are two API changes: * When it comes to loading data I've had to introduce an explicit list of protocols which we can load json over (otherwise it's possible to have a uri with a scheme that makes no sense - it'd still be a valid uri but loading from it is impossible). I've used the list of protocols that addressable recognizes for now. * No matter what JSON parser you use, we now always raise a JSON::Schema::JsonParseError. Without doing this it would be tricky to handle parser errors identically, for all parsers (the other option would be to catch a long list of potential parse errors, but this seems more sensible).
Configuration menu - View commit details
-
Copy full SHA for cb52269 - Browse repository at this point
Copy the full SHA cb52269View commit details
Commits on Mar 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d16d9b1 - Browse repository at this point
Copy the full SHA d16d9b1View commit details
Commits on Mar 29, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 701a6e2 - Browse repository at this point
Copy the full SHA 701a6e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7dd2fc - Browse repository at this point
Copy the full SHA c7dd2fcView commit details -
Specified addressable 2.3.8 as a dev dependency
Older versions raised ruby warnings
Configuration menu - View commit details
-
Copy full SHA for 6905dcb - Browse repository at this point
Copy the full SHA 6905dcbView commit details
Commits on Apr 3, 2015
-
Merge pull request voxpupuli#231 from iainbeeston/test-warnings
Enabled warnings when running tests
Configuration menu - View commit details
-
Copy full SHA for c8bfd03 - Browse repository at this point
Copy the full SHA c8bfd03View commit details
Commits on Apr 10, 2015
-
Explicitly notes :strict mode overrides any required properties set i…
…n the schema
JKGisMe authored and JKGisMe committedApr 10, 2015 Configuration menu - View commit details
-
Copy full SHA for a71b74f - Browse repository at this point
Copy the full SHA a71b74fView commit details
Commits on Apr 11, 2015
-
Merge pull request voxpupuli#252 from JKGisMe/master
Explicitly notes :strict overrides any required properties set in schema
Configuration menu - View commit details
-
Copy full SHA for 6e88557 - Browse repository at this point
Copy the full SHA 6e88557View commit details
Commits on Nov 2, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 710b6f2 - Browse repository at this point
Copy the full SHA 710b6f2View commit details
Commits on Nov 24, 2015
-
Demonstrate failure to #register_format_validator on default_validator
James McKinney committedNov 24, 2015 Configuration menu - View commit details
-
Copy full SHA for 21d22e4 - Browse repository at this point
Copy the full SHA 21d22e4View commit details -
register_format_validator on default_validator
James McKinney committedNov 24, 2015 Configuration menu - View commit details
-
Copy full SHA for 84012d8 - Browse repository at this point
Copy the full SHA 84012d8View commit details -
Add a schema for default_validator in test_custom_format
James McKinney committedNov 24, 2015 Configuration menu - View commit details
-
Copy full SHA for 8960753 - Browse repository at this point
Copy the full SHA 8960753View commit details -
Merge pull request voxpupuli#277 from jpmckinney/register_format_vali…
…dator register_format_validator on default_validator
Configuration menu - View commit details
-
Copy full SHA for 3d4f961 - Browse repository at this point
Copy the full SHA 3d4f961View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa7776d - Browse repository at this point
Copy the full SHA fa7776dView commit details -
Test all versions in test_custom_format
James McKinney committedNov 24, 2015 Configuration menu - View commit details
-
Copy full SHA for 5b80c53 - Browse repository at this point
Copy the full SHA 5b80c53View commit details
Commits on Dec 11, 2015
-
Merge remote-tracking branch 'upstream/master'
Conflicts: test/test-suite
Configuration menu - View commit details
-
Copy full SHA for 67b0336 - Browse repository at this point
Copy the full SHA 67b0336View commit details
Commits on Dec 22, 2015
-
Merge pull request voxpupuli#278 from jpmckinney/register_format_vali…
…dator Test all versions in test_custom_format
Configuration menu - View commit details
-
Copy full SHA for d14e51b - Browse repository at this point
Copy the full SHA d14e51bView commit details -
Iain Beeston committed
Dec 22, 2015 Configuration menu - View commit details
-
Copy full SHA for 0d26205 - Browse repository at this point
Copy the full SHA 0d26205View commit details
Commits on Dec 23, 2015
-
Merge pull request voxpupuli#271 from mkonecny/master
Update README.textile to fix schema validation example
Configuration menu - View commit details
-
Copy full SHA for d52160e - Browse repository at this point
Copy the full SHA d52160eView commit details -
Iain Beeston committed
Dec 23, 2015 Configuration menu - View commit details
-
Copy full SHA for 31a620b - Browse repository at this point
Copy the full SHA 31a620bView commit details -
Merge pull request voxpupuli#239 from iainbeeston/rescue-explicit-errors
Only rescue errors explicitly
Configuration menu - View commit details
-
Copy full SHA for 9de1347 - Browse repository at this point
Copy the full SHA 9de1347View commit details
Commits on Dec 24, 2015
-
Speed up JSON::Validator.validate
Addressible's URI parsing shows up at the top of the profiler for our use case. This patch adds a cache to JSON::Util::URI.normalized_uri, to trade CPU time for memory. There are other expensive Addressible methods that should be cached elsewhere. benchmark: https://github.com/mjc/json-schema-perf MRI 2.2.2 before: 825.363 (± 6.2%) i/s MRI 2.2.2 after: 1.436k (± 4.5%) i/s 1.74x faster JRuby 1.7.20 before: 1.445k (± 2.5%) i/s JRuby 1.7.20 after: 2.272k (± 6.1%) i/s 1.57x faster
Configuration menu - View commit details
-
Copy full SHA for d898905 - Browse repository at this point
Copy the full SHA d898905View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46abf88 - Browse repository at this point
Copy the full SHA 46abf88View commit details -
Don't update url fragment if it's already blank or nil
Addressable::URI#fragment= triggers a revalidation of the URL, which is super slow. Don't do this when it isn't necessary.
Iain Beeston committedDec 24, 2015 Configuration menu - View commit details
-
Copy full SHA for ba16939 - Browse repository at this point
Copy the full SHA ba16939View commit details -
Removed all references to Addressable outside JSON::Util::URI
Hopefully this will make it easier to change in future
Iain Beeston committedDec 24, 2015 Configuration menu - View commit details
-
Copy full SHA for 6967d99 - Browse repository at this point
Copy the full SHA 6967d99View commit details
Commits on Jan 4, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 111f16e - Browse repository at this point
Copy the full SHA 111f16eView commit details
Commits on Jan 8, 2016
-
Merge pull request voxpupuli#286 from teoljungberg/patch-1
Remove ruby warnings
Configuration menu - View commit details
-
Copy full SHA for 4744d41 - Browse repository at this point
Copy the full SHA 4744d41View commit details -
Merge pull request voxpupuli#285 from iainbeeston/cache-normalized-uri
Redux: speed up JSON::Validator.validate
Configuration menu - View commit details
-
Copy full SHA for 6a1620e - Browse repository at this point
Copy the full SHA 6a1620eView commit details -
Iain Beeston committed
Jan 8, 2016 Configuration menu - View commit details
-
Copy full SHA for da77b70 - Browse repository at this point
Copy the full SHA da77b70View commit details -
Added ruby 2.3 to the travis build
Iain Beeston committedJan 8, 2016 Configuration menu - View commit details
-
Copy full SHA for f4183cf - Browse repository at this point
Copy the full SHA f4183cfView commit details -
Corrected ruby 2.3 build on travis
Iain Beeston committedJan 8, 2016 Configuration menu - View commit details
-
Copy full SHA for 0dc3510 - Browse repository at this point
Copy the full SHA 0dc3510View commit details -
Iain Beeston committed
Jan 8, 2016 Configuration menu - View commit details
-
Copy full SHA for 597952b - Browse repository at this point
Copy the full SHA 597952bView commit details
Commits on Jan 14, 2016
-
Made sure we include the module name for SchemaParseErrors
If you pass an unrecognized object for the schema, we should be raising a SchemaParseError, however instead right now a NameError is raised, beacuse we're not correctly qualifying the error class with it's module. I've corrected the class/module name and added tests. This fixes voxpupuli#292
Iain Beeston committedJan 14, 2016 2Configuration menu - View commit details
-
Copy full SHA for c3c46a6 - Browse repository at this point
Copy the full SHA c3c46a6View commit details -
Merge pull request voxpupuli#293 from iainbeeston/ensure-correct-modu…
…le-for-schema-parse-errors Made sure we include the module name for SchemaParseErrors
Configuration menu - View commit details
-
Copy full SHA for 28f0f49 - Browse repository at this point
Copy the full SHA 28f0f49View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbcf207 - Browse repository at this point
Copy the full SHA dbcf207View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2414110 - Browse repository at this point
Copy the full SHA 2414110View commit details
Commits on Feb 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 516ffb3 - Browse repository at this point
Copy the full SHA 516ffb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1e0aec - Browse repository at this point
Copy the full SHA a1e0aecView commit details
Commits on Feb 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 11bd6d9 - Browse repository at this point
Copy the full SHA 11bd6d9View commit details
Commits on Feb 17, 2016
-
Convert README.textile to markdown and improve format
This started as a straight up automated conversion via pandoc: pandoc README.textile -o README.md I then followed up by fixing the images it did not convert properly, removing extraneous backslashes that it added, and adding finced code blocks for syntax highlighting. I also replaced <code>...</code> with backticks and adjusted some whitespace.
Configuration menu - View commit details
-
Copy full SHA for 301c407 - Browse repository at this point
Copy the full SHA 301c407View commit details -
Merge pull request voxpupuli#302 from lencioni/readme
Convert readme to markdown
Configuration menu - View commit details
-
Copy full SHA for d600833 - Browse repository at this point
Copy the full SHA d600833View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7b542e - Browse repository at this point
Copy the full SHA f7b542eView commit details -
Making it a little easier to read the descriptions of the three validate methods.
Scott Kobewka committedFeb 17, 2016 Configuration menu - View commit details
-
Copy full SHA for 5d57af4 - Browse repository at this point
Copy the full SHA 5d57af4View commit details
Commits on Feb 18, 2016
-
Merge pull request voxpupuli#308 from ScottKbka/master
Update README.md
Configuration menu - View commit details
-
Copy full SHA for e16ab7a - Browse repository at this point
Copy the full SHA e16ab7aView commit details
Commits on Feb 26, 2016
-
Iain Beeston committed
Feb 26, 2016 Configuration menu - View commit details
-
Copy full SHA for 2ab0331 - Browse repository at this point
Copy the full SHA 2ab0331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 354490f - Browse repository at this point
Copy the full SHA 354490fView commit details
Commits on Mar 18, 2016
-
Reformatted the examples to make them easier to read
Iain Beeston committedMar 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 33b2b05 - Browse repository at this point
Copy the full SHA 33b2b05View commit details
Commits on Apr 15, 2016
-
Merge pull request voxpupuli#316 from iainbeeston/clearer-examples
Reformatted the examples to make them easier to read
Configuration menu - View commit details
-
Copy full SHA for cc9f4d0 - Browse repository at this point
Copy the full SHA cc9f4d0View commit details -
Made it possible to have refs that include URI-special characters
Turns out that before: * if you had a ref that included a colon, the text before the colon was treated as the scheme and the text after the colon as a path * the unescape_uri method was actually only parsing the path of the uri (therefore anything before a colon was being stripped when passed to unescape_uri) Fixes voxpupuli#319
Iain Beeston committedApr 15, 2016 Configuration menu - View commit details
-
Copy full SHA for b2e4fde - Browse repository at this point
Copy the full SHA b2e4fdeView commit details
Commits on May 13, 2016
-
Merge pull request voxpupuli#322 from iainbeeston/allow-special-chara…
…cters-in-refs Made it possible to have refs that include URI-special characters
Configuration menu - View commit details
-
Copy full SHA for a5a45c6 - Browse repository at this point
Copy the full SHA a5a45c6View commit details -
Iain Beeston committed
May 13, 2016 Configuration menu - View commit details
-
Copy full SHA for 96b10fc - Browse repository at this point
Copy the full SHA 96b10fcView commit details
Commits on Jun 22, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 0e279d9 - Browse repository at this point
Copy the full SHA 0e279d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d966140 - Browse repository at this point
Copy the full SHA d966140View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf3815 - Browse repository at this point
Copy the full SHA fdf3815View commit details -
Moved test-specific classes out of the global namespace
To avoid unintended side-effects
Configuration menu - View commit details
-
Copy full SHA for 03332fc - Browse repository at this point
Copy the full SHA 03332fcView commit details -
Merge pull request voxpupuli#290 from iainbeeston/tidy-tests
Tidy up tests
Configuration menu - View commit details
-
Copy full SHA for ab96e9a - Browse repository at this point
Copy the full SHA ab96e9aView commit details
Commits on Jun 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for eb58a3c - Browse repository at this point
Copy the full SHA eb58a3cView commit details -
Explictly set ruby 2.3.1 on travis
Travis doesn't support 2.3 yet
Configuration menu - View commit details
-
Copy full SHA for 2fc35df - Browse repository at this point
Copy the full SHA 2fc35dfView commit details
Commits on Jul 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 2172ab6 - Browse repository at this point
Copy the full SHA 2172ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 841e8b2 - Browse repository at this point
Copy the full SHA 841e8b2View commit details -
Reapply some changes from alternate backend removal PR and fix tests …
…after merge mistakes
Configuration menu - View commit details
-
Copy full SHA for 8e5e6dd - Browse repository at this point
Copy the full SHA 8e5e6ddView commit details