Commit Graph

60 Commits

Author SHA1 Message Date
Victor Alves e05bb135bf Fix README example issue #16 2017-10-26 06:04:17 +02:00
Steve Domino da3a159a46 added coverage report 2017-03-27 15:44:30 -06:00
Steve Domino d523441d3e Merge pull request #11 from abeMedia/patch-1
Fix mutex being copied & wrong mutex key
2017-03-27 15:27:50 -06:00
Adam Bouqdib 9cdf35aaef Fix mutex being copied & wrong mutex key
The get `getOrCreateMutex` function copies mutexes which the golang docs specifically tell us not to do: https://golang.org/pkg/sync/#Mutex

Also, the delete function was creating a mutex for the resource, not the collection.
2017-03-27 15:08:01 +02:00
Steve Domino e8f97ab321 Update README.md 2017-02-09 22:32:35 -07:00
Steve Domino 6e9fe094e8 Update README.md 2017-02-09 22:31:44 -07:00
Steve Domino 23325e28f2 updated go report card 2017-02-09 21:01:46 -07:00
Steve Domino 4bb85e5d15 removed go report card 2017-02-09 21:01:30 -07:00
Steve Domino 629b31217c gofmt -s 2017-02-09 20:50:15 -07:00
Steve Domino 5eb91537ce cleaned up some linting issues. Added some badges 2017-02-09 16:28:08 -07:00
Steve Domino 2a34006ba7 updated readme with contribution section 2016-03-11 16:59:00 -07:00
Steve Domino e941ae8fc9 turned down some logging 2016-03-07 19:29:06 -07:00
Steve Domino 472b936e03 updating readme 2015-12-17 17:20:20 -07:00
Steve Domino a99eef6876 Merge pull request #9 from nanobox-io/update/readme
updating readme to match how scribble actually works; there was a ref…
2015-12-17 17:18:03 -07:00
Steve Domino 3c16510465 fixing typo 2015-12-17 17:17:40 -07:00
Steve Domino cffdb3f127 updating readme to match how scribble actually works; there was a refactor not long ago and the readme never was updated. bump to 1.0.4 2015-12-17 17:13:27 -07:00
Steve Domino 689ffedfe6 cleaning up scribble new a bit from previous pull request. Updating/fixing tests 2015-11-23 11:37:37 -07:00
Steve Domino 77da6bf6a4 Merge pull request #8 from saromanov/new-options
Add options for New
2015-11-23 10:13:03 -07:00
Sergey Romanov 9be99d20fb Set experimental option ExistDir 2015-11-21 22:57:59 +05:00
Sergey Romanov 94c595be43 Add Options for New method 2015-11-21 22:36:00 +05:00
Steve Domino 840fee7a1f updating README 2015-11-21 10:32:17 -07:00
Steve Domino 9831494f39 Merge pull request #6 from nanobox-io/update/less-weird-mkDir-wrapper
updating the mkDir wrapper to be less weird
2015-11-16 10:49:23 -07:00
Steve Domino b43a2d16d2 updating some comments 2015-11-16 10:46:22 -07:00
Steve Domino f6d7310e91 updated some tests which uncovered some issues 2015-11-15 23:44:00 -07:00
Steve Domino 04b81d64d4 updating the mkDir wrapper to be less weird (you'll see what i mean) 2015-11-13 15:19:09 -07:00
Steve Domino 044c65b62e updating readme 2015-11-13 14:21:11 -07:00
Steve Domino cfe94ca72c removing hatchet 2015-11-13 11:54:31 -07:00
Steve Domino b14eeebb76 Merge pull request #5 from toashd/fix-sample
Fix sample code
---
Looks good, thanks for catching that.
2015-11-04 14:54:19 -07:00
Tobias Schmid 999627cfd4 Fix sample code 2015-11-04 22:45:28 +01:00
Steve Domino 50598c2090 bump to 1.0.1 2015-10-29 11:30:35 -06:00
Daniel Barney bbc07fd24c Merge pull request #4 from nanobox-io/fix/read-write-match
matched the format of the write function
2015-10-29 11:27:18 -06:00
Daniel Barney 0301461505 matched the format of the write function 2015-10-29 11:22:23 -06:00
Steve Domino a2e31af24c adding a mutex to getOrCreateMutex to avoid race conditions (per @chrhlnd pr) 2015-10-20 11:06:33 -06:00
Steve Domino 9d6df7eff7 cleaned up some logic, using filepath library when working with paths to have better support for windows (per @chrhlnd pull request). added tests to test looking for empty files/directories 2015-10-19 15:01:40 -06:00
Steve Domino a117d7d71e updating readme 2015-10-12 17:13:44 -06:00
Steve Domino 77a7709b42 fixing some issues with how scribble was reading/writing. added tests 2015-10-12 17:12:29 -06:00
Steve Domino c2b94817bc cleaning up file paths 2015-10-12 13:44:49 -06:00
Steve Domino 08724b339d removing transactions as really they are unneccessary and just adding unneeded complexity 2015-10-12 13:30:50 -06:00
Steve Domino bc1d1e667f actions are now a constant rather than a string 2015-10-12 12:14:54 -06:00
Steve Domino fdc13448a7 missed merge confilct corrected 2015-10-12 12:05:06 -06:00
Steve Domino 3047240dd0 updating readme 2015-10-12 10:14:36 -06:00
Steve Domino 72d475ae14 updating readme 2015-10-12 10:06:42 -06:00
Steve Domino 11d33b62b2 updating file permissions to 0644 from 0666 2015-10-08 09:39:27 -06:00
Steve Domino 2103f90a48 Merge pull request #2 from nanobox-io/fix/file-names
all names need to have the .json postfix
2015-10-07 15:25:55 -06:00
Daniel Barney 68e15df63e all names need to have the .json postfix 2015-10-07 15:22:50 -06:00
Steve Domino cf862b12ad Merge pull request #1 from nanobox-io/fix/cleanup
Fix/cleanup
2015-10-07 11:50:37 -06:00
Daniel Barney dec87937ca changed how the mutexes were handled, aka fixed some possible deadlocks 2015-10-07 11:36:38 -06:00
Daniel Barney 9a5e133820 the file should be written to a tmp location first 2015-10-07 11:24:38 -06:00
Lyon Hill 7e68364fd4 modify documentation 2015-09-29 09:15:17 -06:00
Lyon Hill 86ed632d52 update scribble with new repos 2015-09-29 09:12:55 -06:00