Tom Hughes
5d67fa3908
Fix some Naming/AccessorMethodName rubocop warnings
2022-03-08 19:10:05 +00:00
Tom Hughes
d3c800fdb4
Fix new rubocop warnings
2021-06-29 18:29:00 +01:00
Tom Hughes
582402ba8f
Prefer keyword arguments when method has optional boolean arguments
2020-11-13 10:22:55 +00:00
Tom Hughes
0e2a66e8de
Fix new rubocop warnings
2020-08-06 18:42:16 +01:00
Tom Hughes
9f57f60b87
Fix new rubocop warnings
2019-04-23 09:33:34 +01:00
Tom Hughes
6142980d07
Fix new rubocop warnings
2018-10-31 19:14:39 +00:00
Tom Hughes
a83030dab7
Fix new rubocop warnings
2018-01-22 18:55:45 +00:00
Tom Hughes
8dae890a76
Fix rubocop warnings
2017-10-05 19:18:38 +01:00
Tom Hughes
282ff4936c
Fix rubocop warnings
2016-10-31 21:24:10 +00:00
Tom Hughes
5d3ecffa28
Fix new rubocop warnings
2016-02-05 13:35:26 +00:00
Tom Hughes
8fe1899596
Fix rubocop warnings
2016-01-19 09:51:24 +00:00
Tom Hughes
c9d35839be
Fix new rubocopy warnings
2015-08-18 20:57:14 +01:00
Tom Hughes
957d75295b
Fix warnings from rubocop update
2015-06-08 15:59:17 +01:00
Tom Hughes
dc2a2c8ebd
Standardise on double quoted strings
2015-02-20 19:47:26 +00:00
Tom Hughes
baf10cd392
Fix rubocop lint issues
2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c
Fix most auto-correctable rubocop issues
2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456
Cleanup trailing whitespace
2015-02-20 08:56:16 +00:00
Bryan Housel
068471fc0e
Don't raise APIAlreadyDeletedError when deleting with if-unused
...
related: openstreetmap/iD#2475
2014-12-15 23:39:46 -05:00
Matt Amos
9105a7e66d
Updated to libxml-ruby 2.0.5 and fixed code accordingly.
...
I've tested this through the unit tests and by hitting it with
bulk_upload.py and neither fail or cause the server to crash or
go into an infinite loop. Both of these things happened randomly
with 1.1.3/4 due to an apparent early deregistration of the
expanded nodes.
2011-05-21 17:36:58 +01:00
Tom Hughes
2d937f94d5
Add support for conditional deletes in changeset uploads
...
A delete element in an osmChange upload can now have an if-unused
attribute to indicate that the delete should not be done if the
object is still in use.
2010-12-15 23:59:06 +00:00
Tom Hughes
140455c0f8
Correct some exception names
2010-07-19 12:24:05 +01:00
Matt Amos
d073d9bc75
Added a consistency check that both ids are valid and match. Fixed diff upload code where this wasn't being set.
2009-05-13 19:21:04 +00:00
Matt Amos
3e9b6845d3
Fixed 'raw' raises by converting them to the appropriate OSM::APIError type. Made the error messages for placeholder fixing more informative. Added tests for these.
2009-04-29 10:07:35 +00:00
Tom Hughes
c8ee135104
Merge 12304:14009 from trunk.
2009-03-08 13:02:37 +00:00
Matt Amos
5143fbcd5b
Test and fix for #1567 , for teh betterer osmChange compliance.
2009-02-08 16:54:28 +00:00
Matt Amos
12b779f0b4
Test and fix for issue #1568 . Wasn't testing for end element in the right place.
2009-02-08 16:33:48 +00:00
Matt Amos
c54471ee33
Fix for #1565 . Added a couple of tests and fixed another issue with re-used placeholder IDs.
2009-02-08 08:28:01 +00:00
Frederik Ramm
b64fc35140
make diff upload result a "diffResult" rather than "osm" document
2008-11-09 11:30:03 +00:00
Frederik Ramm
79420631ce
fix version number return for "modify" sections of diff uploads
2008-11-08 19:43:31 +00:00
Matt Amos
02fbcf5f06
Added first attempt at bounding box support in changesets and tests for the same.
2008-11-04 15:52:22 +00:00
Shaun McDonald
183ffc7864
Adding an extra test to make sure that the correct response is returned when an invalid changeset action is uploaded.
2008-11-03 18:54:19 +00:00
Matt Amos
dc2a959037
Added tests for changeset upload code. Refactored diff reading code and put it into /lib. Changed the route of a changeset upload to explicitly refer to the changeset it applies to (i.e: resource).
2008-10-23 15:14:17 +00:00