rugged 0.1.2 → 0.16.0b1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -36
- data/Rakefile +20 -98
- data/ext/rugged/extconf.rb +44 -4
- data/ext/rugged/remote.c +215 -0
- data/ext/rugged/rugged.c +171 -0
- data/ext/rugged/rugged.h +126 -0
- data/ext/rugged/rugged_blob.c +99 -0
- data/ext/rugged/rugged_commit.c +224 -0
- data/ext/rugged/rugged_config.c +238 -0
- data/ext/rugged/rugged_index.c +440 -0
- data/ext/rugged/rugged_object.c +203 -0
- data/ext/rugged/rugged_reference.c +401 -0
- data/ext/rugged/rugged_repo.c +482 -0
- data/ext/rugged/rugged_revwalk.c +138 -0
- data/ext/rugged/rugged_signature.c +80 -0
- data/ext/rugged/rugged_tag.c +216 -0
- data/ext/rugged/rugged_tree.c +322 -0
- data/ext/rugged/vendor/libgit2-dist.tar.gz +0 -0
- data/ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.c +1778 -0
- data/ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.h +267 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/adler32.c +169 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.c +442 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.h +441 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.c +1834 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.h +342 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.c +340 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.h +11 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inffixed.h +94 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.c +1480 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.h +122 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.c +330 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.h +62 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/trees.c +1244 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/trees.h +128 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zconf.h +54 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zlib.h +1613 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.c +318 -0
- data/ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.h +274 -0
- data/ext/rugged/vendor/libgit2-dist/examples/general.c +451 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/common.h +14 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/fetch.c +97 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/git2.c +58 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/index-pack.c +47 -0
- data/ext/rugged/vendor/libgit2-dist/examples/network/ls-remote.c +76 -0
- data/ext/rugged/vendor/libgit2-dist/examples/showindex.c +43 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2.h +44 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/blob.h +120 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/branch.h +15 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/commit.h +263 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/common.h +103 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/config.h +278 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/errors.h +144 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/index.h +306 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/indexer.h +76 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/inttypes.h +305 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/net.h +51 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/object.h +173 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/odb.h +331 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/odb_backend.h +100 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/oid.h +218 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/reflog.h +128 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/refs.h +309 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/refspec.h +60 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/remote.h +176 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/repository.h +290 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/revwalk.h +169 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/signature.h +65 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/status.h +63 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/stdint.h +247 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/tag.h +279 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/threads.h +48 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/tree.h +318 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/types.h +169 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/version.h +15 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/windows.h +59 -0
- data/ext/rugged/vendor/libgit2-dist/include/git2/zlib.h +40 -0
- data/ext/rugged/vendor/libgit2-dist/src/blob.c +135 -0
- data/ext/rugged/vendor/libgit2-dist/src/blob.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/bswap.h +97 -0
- data/ext/rugged/vendor/libgit2-dist/src/buffer.c +113 -0
- data/ext/rugged/vendor/libgit2-dist/src/buffer.h +32 -0
- data/ext/rugged/vendor/libgit2-dist/src/cache.c +111 -0
- data/ext/rugged/vendor/libgit2-dist/src/cache.h +64 -0
- data/ext/rugged/vendor/libgit2-dist/src/cc-compat.h +67 -0
- data/ext/rugged/vendor/libgit2-dist/src/commit.c +299 -0
- data/ext/rugged/vendor/libgit2-dist/src/commit.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/common.h +64 -0
- data/ext/rugged/vendor/libgit2-dist/src/config.c +418 -0
- data/ext/rugged/vendor/libgit2-dist/src/config.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/config_file.c +1210 -0
- data/ext/rugged/vendor/libgit2-dist/src/delta-apply.c +115 -0
- data/ext/rugged/vendor/libgit2-dist/src/delta-apply.h +33 -0
- data/ext/rugged/vendor/libgit2-dist/src/dir.h +47 -0
- data/ext/rugged/vendor/libgit2-dist/src/errors.c +104 -0
- data/ext/rugged/vendor/libgit2-dist/src/fetch.c +172 -0
- data/ext/rugged/vendor/libgit2-dist/src/fetch.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/filebuf.c +400 -0
- data/ext/rugged/vendor/libgit2-dist/src/filebuf.h +72 -0
- data/ext/rugged/vendor/libgit2-dist/src/fileops.c +358 -0
- data/ext/rugged/vendor/libgit2-dist/src/fileops.h +151 -0
- data/ext/rugged/vendor/libgit2-dist/src/global.c +134 -0
- data/ext/rugged/vendor/libgit2-dist/src/global.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/hash.c +74 -0
- data/ext/rugged/vendor/libgit2-dist/src/hash.h +29 -0
- data/ext/rugged/vendor/libgit2-dist/src/hashtable.c +243 -0
- data/ext/rugged/vendor/libgit2-dist/src/hashtable.h +80 -0
- data/ext/rugged/vendor/libgit2-dist/src/index.c +918 -0
- data/ext/rugged/vendor/libgit2-dist/src/index.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/indexer.c +401 -0
- data/ext/rugged/vendor/libgit2-dist/src/map.h +37 -0
- data/ext/rugged/vendor/libgit2-dist/src/mwindow.c +272 -0
- data/ext/rugged/vendor/libgit2-dist/src/mwindow.h +45 -0
- data/ext/rugged/vendor/libgit2-dist/src/netops.c +198 -0
- data/ext/rugged/vendor/libgit2-dist/src/netops.h +36 -0
- data/ext/rugged/vendor/libgit2-dist/src/object.c +295 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb.c +672 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb.h +43 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb_loose.c +855 -0
- data/ext/rugged/vendor/libgit2-dist/src/odb_pack.c +485 -0
- data/ext/rugged/vendor/libgit2-dist/src/oid.c +388 -0
- data/ext/rugged/vendor/libgit2-dist/src/pack.c +788 -0
- data/ext/rugged/vendor/libgit2-dist/src/pack.h +99 -0
- data/ext/rugged/vendor/libgit2-dist/src/path.c +270 -0
- data/ext/rugged/vendor/libgit2-dist/src/path.h +84 -0
- data/ext/rugged/vendor/libgit2-dist/src/pkt.c +426 -0
- data/ext/rugged/vendor/libgit2-dist/src/pkt.h +77 -0
- data/ext/rugged/vendor/libgit2-dist/src/posix.c +94 -0
- data/ext/rugged/vendor/libgit2-dist/src/posix.h +69 -0
- data/ext/rugged/vendor/libgit2-dist/src/ppc/sha1.c +70 -0
- data/ext/rugged/vendor/libgit2-dist/src/ppc/sha1.h +26 -0
- data/ext/rugged/vendor/libgit2-dist/src/pqueue.c +141 -0
- data/ext/rugged/vendor/libgit2-dist/src/pqueue.h +81 -0
- data/ext/rugged/vendor/libgit2-dist/src/protocol.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/src/protocol.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/reflog.c +318 -0
- data/ext/rugged/vendor/libgit2-dist/src/reflog.h +34 -0
- data/ext/rugged/vendor/libgit2-dist/src/refs.c +1693 -0
- data/ext/rugged/vendor/libgit2-dist/src/refs.h +58 -0
- data/ext/rugged/vendor/libgit2-dist/src/refspec.c +95 -0
- data/ext/rugged/vendor/libgit2-dist/src/refspec.h +23 -0
- data/ext/rugged/vendor/libgit2-dist/src/remote.c +339 -0
- data/ext/rugged/vendor/libgit2-dist/src/remote.h +25 -0
- data/ext/rugged/vendor/libgit2-dist/src/repository.c +849 -0
- data/ext/rugged/vendor/libgit2-dist/src/repository.h +60 -0
- data/ext/rugged/vendor/libgit2-dist/src/revwalk.c +569 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1.c +280 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1.h +21 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1_lookup.c +177 -0
- data/ext/rugged/vendor/libgit2-dist/src/sha1_lookup.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/signature.c +335 -0
- data/ext/rugged/vendor/libgit2-dist/src/signature.h +18 -0
- data/ext/rugged/vendor/libgit2-dist/src/status.c +696 -0
- data/ext/rugged/vendor/libgit2-dist/src/tag.c +446 -0
- data/ext/rugged/vendor/libgit2-dist/src/tag.h +28 -0
- data/ext/rugged/vendor/libgit2-dist/src/thread-utils.c +55 -0
- data/ext/rugged/vendor/libgit2-dist/src/thread-utils.h +108 -0
- data/ext/rugged/vendor/libgit2-dist/src/transport.c +85 -0
- data/ext/rugged/vendor/libgit2-dist/src/transport.h +110 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/git.c +502 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/http.c +756 -0
- data/ext/rugged/vendor/libgit2-dist/src/transports/local.c +235 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree-cache.c +201 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree-cache.h +31 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree.c +758 -0
- data/ext/rugged/vendor/libgit2-dist/src/tree.h +37 -0
- data/ext/rugged/vendor/libgit2-dist/src/tsort.c +365 -0
- data/ext/rugged/vendor/libgit2-dist/src/unix/map.c +70 -0
- data/ext/rugged/vendor/libgit2-dist/src/unix/posix.h +25 -0
- data/ext/rugged/vendor/libgit2-dist/src/util.c +381 -0
- data/ext/rugged/vendor/libgit2-dist/src/util.h +137 -0
- data/ext/rugged/vendor/libgit2-dist/src/vector.c +174 -0
- data/ext/rugged/vendor/libgit2-dist/src/vector.h +45 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/dir.c +115 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.c +180 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.h +27 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/map.c +131 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/mingw-compat.h +24 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/msvc-compat.h +38 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/posix.h +53 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/posix_w32.c +404 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/pthread.c +65 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/pthread.h +40 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.c +88 -0
- data/ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.h +17 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/buf/basic.c +29 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay.h +187 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay_libgit2.h +28 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/clay_main.c +1073 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/add.c +37 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/new.c +36 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/read.c +209 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/stress.c +39 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/config/write.c +77 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/dirent.c +222 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/filebuf.c +106 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/oid.c +18 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/path.c +139 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/rmdir.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/string.c +28 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/strtol.c +37 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/core/vector.c +66 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/index/rename.c +60 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/network/remotes.c +50 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/chars.c +52 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/compare.c +124 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/convert.c +75 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/data.h +323 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/fromstr.c +30 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/hash.c +162 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/short.c +94 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/size.c +13 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/type2string.c +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/object/tree/frompath.c +75 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose.c +84 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose_data.h +522 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/pack_data.h +151 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/packed.c +78 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/odb/sorting.c +71 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/getters.c +68 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/init.c +104 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/repo/open.c +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/single.c +38 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/status_data.h +48 -0
- data/ext/rugged/vendor/libgit2-dist/tests-clay/status/worktree.c +124 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t00-core.c +628 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t01-data.h +322 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t01-rawobj.c +638 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t03-data.h +344 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t03-objwrite.c +255 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t04-commit.c +788 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t05-revwalk.c +140 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t06-index.c +219 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t07-hashtable.c +192 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t08-tag.c +357 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t09-tree.c +221 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t10-refs.c +1294 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t12-repo.c +174 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t13-threads.c +41 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t17-bufs.c +61 -0
- data/ext/rugged/vendor/libgit2-dist/tests/t18-status.c +448 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_helpers.c +310 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_helpers.h +83 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_lib.c +198 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_lib.h +54 -0
- data/ext/rugged/vendor/libgit2-dist/tests/test_main.c +89 -0
- data/lib/rugged.rb +4 -3
- data/lib/rugged/index.rb +0 -8
- data/lib/rugged/objects.rb +45 -0
- data/lib/rugged/repository.rb +29 -0
- data/lib/rugged/tree.rb +16 -6
- data/lib/rugged/version.rb +1 -1
- data/lib/rugged/walker.rb +5 -0
- data/test/blob_test.rb +18 -14
- data/test/commit_test.rb +28 -26
- data/test/coverage/HEAD.json +1 -0
- data/test/coverage/cover.rb +106 -0
- data/test/fixtures/testrepo.git/refs/heads/new_name +1 -0
- data/test/index_test.rb +101 -78
- data/test/lib_test.rb +4 -4
- data/test/object_test.rb +3 -3
- data/test/reference_test.rb +75 -0
- data/test/remote_test.rb +19 -0
- data/test/repo_pack_test.rb +4 -4
- data/test/repo_test.rb +44 -15
- data/test/tag_test.rb +7 -17
- data/test/test_helper.rb +24 -5
- data/test/tree_test.rb +30 -12
- data/test/walker_test.rb +40 -31
- metadata +273 -50
- data/lib/rugged/person.rb +0 -20
- data/lib/rugged/tree_entry.rb +0 -9
- data/test/fixtures/testrepo.git/objects/1d/83f106355e4309a293e42ad2a2c4b8bdbe77ae +0 -0
- data/test/fixtures/testrepo.git/objects/2f/3321418db5b2a841375b8b70880a8ab5a4148f +0 -0
- data/test/fixtures/testrepo.git/objects/36/9b00a7700cca3a506d79e301d6ad8bf735d9ee +0 -3
- data/test/fixtures/testrepo.git/objects/3d/b1b5ceace59ff65279757003763046fd4cbbe6 +0 -0
- data/test/fixtures/testrepo.git/objects/4c/d1604907792e2c43e03dcec1216f99d63e68c4 +0 -3
- data/test/fixtures/testrepo.git/objects/e0/f46d77041c149296549b01ed4a18b02c4b7400 +0 -0
data/test/tag_test.rb
CHANGED
@@ -7,28 +7,18 @@ context "Rugged::Tag tests" do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
test "can read the tag data" do
|
10
|
-
|
11
|
-
obj = @repo.lookup(
|
10
|
+
oid = "0c37a5391bbff43c37f0d0371823a5509eed5b1d"
|
11
|
+
obj = @repo.lookup(oid)
|
12
12
|
|
13
|
-
assert_equal
|
13
|
+
assert_equal oid, obj.oid
|
14
14
|
assert_equal "tag", obj.type
|
15
15
|
assert_equal "test tag message\n", obj.message
|
16
16
|
assert_equal "v1.0", obj.name
|
17
|
-
assert_equal "5b5b025afb0b4c913b4c338a42934a3863bf3644", obj.target.
|
17
|
+
assert_equal "5b5b025afb0b4c913b4c338a42934a3863bf3644", obj.target.oid
|
18
18
|
assert_equal "commit", obj.target_type
|
19
19
|
c = obj.tagger
|
20
|
-
assert_equal "Scott Chacon", c
|
21
|
-
assert_equal 1288114383, c
|
22
|
-
assert_equal "schacon@gmail.com", c
|
20
|
+
assert_equal "Scott Chacon", c[:name]
|
21
|
+
assert_equal 1288114383, c[:time].to_i
|
22
|
+
assert_equal "schacon@gmail.com", c[:email]
|
23
23
|
end
|
24
|
-
|
25
|
-
test "can write the tag data" do
|
26
|
-
sha = "0c37a5391bbff43c37f0d0371823a5509eed5b1d"
|
27
|
-
obj = @repo.lookup(sha)
|
28
|
-
obj.message = 'new messages'
|
29
|
-
obj.write
|
30
|
-
assert_equal "3213a37f636b81c3f91c77c6dbeab47c1d38490a", obj.sha
|
31
|
-
rm_loose('3213a37f636b81c3f91c77c6dbeab47c1d38490a')
|
32
|
-
end
|
33
|
-
|
34
24
|
end
|
data/test/test_helper.rb
CHANGED
@@ -24,12 +24,31 @@ def context(*args, &block)
|
|
24
24
|
end
|
25
25
|
(class << klass; self end).send(:define_method, :name) { name.gsub(/\W/,'_') }
|
26
26
|
klass.class_eval &block
|
27
|
+
($contexts ||= []) << klass # make sure klass doesn't get GC'd
|
28
|
+
klass
|
27
29
|
end
|
28
30
|
|
29
|
-
def rm_loose(
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
31
|
+
def rm_loose(oid)
|
32
|
+
|
33
|
+
base_path = File.join(@path, "objects", oid[0, 2])
|
34
|
+
|
35
|
+
file = File.join(base_path, oid[2, 38])
|
36
|
+
dir_contents = File.join(base_path, "*")
|
37
|
+
|
38
|
+
File.delete(file)
|
39
|
+
|
40
|
+
if Dir[dir_contents].empty?
|
41
|
+
Dir.delete(base_path)
|
42
|
+
end
|
34
43
|
end
|
35
44
|
|
45
|
+
def with_default_encoding(encoding, &block)
|
46
|
+
old_encoding = Encoding.default_internal
|
47
|
+
|
48
|
+
new_encoding = Encoding.find(encoding)
|
49
|
+
Encoding.default_internal = new_encoding
|
50
|
+
|
51
|
+
yield new_encoding
|
52
|
+
|
53
|
+
Encoding.default_internal = old_encoding
|
54
|
+
end
|
data/test/tree_test.rb
CHANGED
@@ -4,34 +4,52 @@ context "Rugged::Tree tests" do
|
|
4
4
|
setup do
|
5
5
|
path = File.dirname(__FILE__) + '/fixtures/testrepo.git/'
|
6
6
|
@repo = Rugged::Repository.new(path)
|
7
|
-
@
|
8
|
-
@tree = @repo.lookup(@
|
7
|
+
@oid = "c4dc1555e4d4fa0e0c9c3fc46734c7c35b3ce90b"
|
8
|
+
@tree = @repo.lookup(@oid)
|
9
9
|
end
|
10
10
|
|
11
11
|
test "can read the tree data" do
|
12
|
-
assert_equal @
|
12
|
+
assert_equal @oid, @tree.oid
|
13
13
|
assert_equal "tree", @tree.type
|
14
|
-
assert_equal 3, @tree.
|
15
|
-
assert_equal "1385f264afb75a56a5bec74243be9b367ba4ca08", @tree[0]
|
16
|
-
assert_equal "fa49b077972391ad58037050f2a75f74e3671e92", @tree[1]
|
14
|
+
assert_equal 3, @tree.count
|
15
|
+
assert_equal "1385f264afb75a56a5bec74243be9b367ba4ca08", @tree[0][:oid]
|
16
|
+
assert_equal "fa49b077972391ad58037050f2a75f74e3671e92", @tree[1][:oid]
|
17
17
|
end
|
18
18
|
|
19
19
|
test "can read the tree entry data" do
|
20
20
|
bent = @tree[0]
|
21
21
|
tent = @tree[2]
|
22
22
|
|
23
|
-
assert_equal "README", bent
|
24
|
-
assert_equal bent.to_object.sha, bent.sha
|
23
|
+
assert_equal "README", bent[:name]
|
25
24
|
# assert_equal 33188, bent.attributes
|
26
25
|
|
27
|
-
assert_equal "subdir", tent
|
28
|
-
assert_equal "619f9935957e010c419cb9d15621916ddfcc0b96", tent
|
29
|
-
assert_equal "tree", tent.
|
26
|
+
assert_equal "subdir", tent[:name]
|
27
|
+
assert_equal "619f9935957e010c419cb9d15621916ddfcc0b96", tent[:oid]
|
28
|
+
assert_equal "tree", @repo.lookup(tent[:oid]).type
|
30
29
|
end
|
31
30
|
|
32
31
|
test "can iterate over the tree" do
|
33
|
-
enum_test = @tree.sort { |a, b| a
|
32
|
+
enum_test = @tree.sort { |a, b| a[:oid] <=> b[:oid] }.map { |e| e[:name] }.join(':')
|
34
33
|
assert_equal "README:subdir:new.txt", enum_test
|
34
|
+
|
35
|
+
enum = @tree.each
|
36
|
+
assert enum.kind_of? Enumerable
|
37
|
+
end
|
38
|
+
|
39
|
+
test "can walk the tree, yielding only trees" do
|
40
|
+
@tree.walk_trees {|root, entry| assert_equal :tree, entry[:type]}
|
41
|
+
end
|
42
|
+
|
43
|
+
test "can walk the tree, yielding only blobs" do
|
44
|
+
@tree.walk_blobs {|root, entry| assert_equal :blob, entry[:type]}
|
45
|
+
end
|
46
|
+
|
47
|
+
test "can iterate over the subtrees a tree" do
|
48
|
+
@tree.each_tree {|tree| assert_equal :tree, tree[:type]}
|
49
|
+
end
|
50
|
+
|
51
|
+
test "can iterate over the subtrees a tree" do
|
52
|
+
@tree.each_blob {|tree| assert_equal :blob, tree[:type]}
|
35
53
|
end
|
36
54
|
|
37
55
|
xtest "can write the tree data" do
|
data/test/walker_test.rb
CHANGED
@@ -10,50 +10,59 @@ context "Rugged::Walker stuff" do
|
|
10
10
|
|
11
11
|
test "can walk a simple revlist" do
|
12
12
|
@walker.push("9fd738e8f7967c078dceed8190330fc8648ee56a")
|
13
|
-
data =
|
14
|
-
|
15
|
-
|
16
|
-
end
|
17
|
-
shas = data.sort.map {|a| a[0,5]}.join('.')
|
18
|
-
assert_equal "4a202.5b5b0.84960.9fd73", shas
|
19
|
-
assert_equal false, @walker.next
|
13
|
+
data = @walker.each.to_a
|
14
|
+
oids = data.sort { |a, b| a.oid <=> b.oid }.map {|a| a.oid[0,5]}.join('.')
|
15
|
+
assert_equal "4a202.5b5b0.84960.9fd73", oids
|
20
16
|
end
|
21
17
|
|
22
18
|
test "can walk a part of a revlist" do
|
23
|
-
|
24
|
-
@walker.push(
|
25
|
-
|
26
|
-
assert_equal
|
19
|
+
oid = "8496071c1b46c854b31185ea97743be6a8774479"
|
20
|
+
@walker.push(oid)
|
21
|
+
walk = @walker.each.to_a
|
22
|
+
assert_equal oid, walk[0].oid
|
23
|
+
assert_equal 1, walk.count
|
27
24
|
end
|
28
25
|
|
29
26
|
test "can hide part of a list" do
|
30
27
|
@walker.push("9fd738e8f7967c078dceed8190330fc8648ee56a")
|
31
28
|
@walker.hide("5b5b025afb0b4c913b4c338a42934a3863bf3644")
|
32
|
-
2
|
33
|
-
assert_equal false, @walker.next
|
29
|
+
assert_equal 2, @walker.each.count
|
34
30
|
end
|
35
31
|
|
36
32
|
# resetting a walker emtpies the walking queue
|
37
33
|
test "can reset a walker" do
|
38
|
-
|
39
|
-
@walker.push(
|
40
|
-
|
41
|
-
assert_equal
|
34
|
+
oid = "8496071c1b46c854b31185ea97743be6a8774479"
|
35
|
+
@walker.push(oid)
|
36
|
+
walk = @walker.each.to_a
|
37
|
+
assert_equal oid, walk[0].oid
|
38
|
+
assert_equal 1, walk.count
|
42
39
|
@walker.reset
|
43
|
-
|
44
|
-
|
45
|
-
assert_equal sha, @walker.next.sha
|
40
|
+
walk = @walker.each.to_a
|
41
|
+
assert_equal 0, walk.count
|
46
42
|
end
|
47
43
|
|
48
|
-
|
49
|
-
|
44
|
+
test "can enumerable" do
|
45
|
+
@walker.push("9fd738e8f7967c078dceed8190330fc8648ee56a")
|
46
|
+
enum = @walker.sort { |a, b| a.oid <=> b.oid }.map { |a| a.oid[0, 4] }.join('.')
|
47
|
+
assert_equal "4a20.5b5b.8496.9fd7", enum
|
48
|
+
end
|
49
|
+
|
50
|
+
def do_sort(sorting)
|
51
|
+
oid = "a4a7dce85cf63874e984719f4fdd239f5145052f"
|
50
52
|
@walker.sorting(sorting)
|
51
|
-
@walker.push(
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
@walker.push(oid)
|
54
|
+
@walker.each.to_a
|
55
|
+
end
|
56
|
+
|
57
|
+
def revlist_with_sorting(sorting)
|
58
|
+
data = do_sort sorting
|
59
|
+
oids = data.map {|a| a.oid[0,5] if a }.join('.')
|
60
|
+
end
|
61
|
+
|
62
|
+
def is_toposorted(list)
|
63
|
+
list.all? do |commit|
|
64
|
+
commit.parents.all? { |parent| list.index(commit) < list.index(parent) }
|
55
65
|
end
|
56
|
-
shas = data.map {|a| a.sha[0,5] if a }.join('.')
|
57
66
|
end
|
58
67
|
|
59
68
|
test "can sort order by date" do
|
@@ -62,8 +71,8 @@ context "Rugged::Walker stuff" do
|
|
62
71
|
end
|
63
72
|
|
64
73
|
test "can sort order by topo" do
|
65
|
-
|
66
|
-
assert_equal
|
74
|
+
sort_list = do_sort(Rugged::SORT_TOPO)
|
75
|
+
assert_equal is_toposorted(sort_list), true
|
67
76
|
end
|
68
77
|
|
69
78
|
test "can sort order by date reversed" do
|
@@ -72,8 +81,8 @@ context "Rugged::Walker stuff" do
|
|
72
81
|
end
|
73
82
|
|
74
83
|
test "can sort order by topo reversed" do
|
75
|
-
|
76
|
-
assert_equal
|
84
|
+
sort_list = do_sort(Rugged::SORT_TOPO | Rugged::SORT_REVERSE).reverse
|
85
|
+
assert_equal is_toposorted(sort_list), true
|
77
86
|
end
|
78
87
|
|
79
88
|
end
|
metadata
CHANGED
@@ -1,48 +1,43 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rugged
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 0.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.16.0b1
|
5
|
+
prerelease: 6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Scott Chacon
|
14
9
|
- Vicent Marti
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2010-11-29 00:00:00 -08:00
|
20
|
-
default_executable:
|
13
|
+
date: 2011-11-29 00:00:00.000000000Z
|
21
14
|
dependencies: []
|
15
|
+
description: ! 'Rugged is a Ruby bindings to the libgit2 linkable C Git library. This
|
16
|
+
is
|
22
17
|
|
23
|
-
description: |
|
24
|
-
Rugged is a Ruby bindings to the libgit2 linkable C Git library. This is
|
25
18
|
for testing and using the libgit2 library in a language that is awesome.
|
26
19
|
|
20
|
+
'
|
27
21
|
email: schacon@gmail.com
|
28
22
|
executables: []
|
29
|
-
|
30
|
-
extensions:
|
23
|
+
extensions:
|
31
24
|
- ext/rugged/extconf.rb
|
32
25
|
extra_rdoc_files: []
|
33
|
-
|
34
|
-
files:
|
26
|
+
files:
|
35
27
|
- README.md
|
36
28
|
- Rakefile
|
37
29
|
- LICENSE
|
38
30
|
- lib/rugged/index.rb
|
39
|
-
- lib/rugged/
|
31
|
+
- lib/rugged/objects.rb
|
32
|
+
- lib/rugged/repository.rb
|
40
33
|
- lib/rugged/tree.rb
|
41
|
-
- lib/rugged/tree_entry.rb
|
42
34
|
- lib/rugged/version.rb
|
35
|
+
- lib/rugged/walker.rb
|
43
36
|
- lib/rugged.rb
|
44
37
|
- test/blob_test.rb
|
45
38
|
- test/commit_test.rb
|
39
|
+
- test/coverage/cover.rb
|
40
|
+
- test/coverage/HEAD.json
|
46
41
|
- test/fixtures/testrepo.git/config
|
47
42
|
- test/fixtures/testrepo.git/description
|
48
43
|
- test/fixtures/testrepo.git/HEAD
|
@@ -54,15 +49,10 @@ files:
|
|
54
49
|
- test/fixtures/testrepo.git/objects/13/85f264afb75a56a5bec74243be9b367ba4ca08
|
55
50
|
- test/fixtures/testrepo.git/objects/18/1037049a54a1eb5fab404658a3a250b44335d7
|
56
51
|
- test/fixtures/testrepo.git/objects/18/10dff58d8a660512d4832e740f692884338ccd
|
57
|
-
- test/fixtures/testrepo.git/objects/1d/83f106355e4309a293e42ad2a2c4b8bdbe77ae
|
58
52
|
- test/fixtures/testrepo.git/objects/2d/2eff63372b08adf0a9eb84109ccf7d19e2f3a2
|
59
|
-
- test/fixtures/testrepo.git/objects/2f/3321418db5b2a841375b8b70880a8ab5a4148f
|
60
53
|
- test/fixtures/testrepo.git/objects/36/060c58702ed4c2a40832c51758d5344201d89a
|
61
|
-
- test/fixtures/testrepo.git/objects/36/9b00a7700cca3a506d79e301d6ad8bf735d9ee
|
62
|
-
- test/fixtures/testrepo.git/objects/3d/b1b5ceace59ff65279757003763046fd4cbbe6
|
63
54
|
- test/fixtures/testrepo.git/objects/45/b983be36b73c0788dc9cbcb76cbb80fc7bb057
|
64
55
|
- test/fixtures/testrepo.git/objects/4a/202b346bb0fb0db7eff3cffeb3c70babbd2045
|
65
|
-
- test/fixtures/testrepo.git/objects/4c/d1604907792e2c43e03dcec1216f99d63e68c4
|
66
56
|
- test/fixtures/testrepo.git/objects/5b/5b025afb0b4c913b4c338a42934a3863bf3644
|
67
57
|
- test/fixtures/testrepo.git/objects/61/9f9935957e010c419cb9d15621916ddfcc0b96
|
68
58
|
- test/fixtures/testrepo.git/objects/75/057dd4114e74cca1d750d0aee1647c903cb60a
|
@@ -75,7 +65,6 @@ files:
|
|
75
65
|
- test/fixtures/testrepo.git/objects/be/3563ae3f795b2b4353bcce3a527ad0a4f7f644
|
76
66
|
- test/fixtures/testrepo.git/objects/c4/7800c7266a2be04c571c04d5a6614691ea99bd
|
77
67
|
- test/fixtures/testrepo.git/objects/c4/dc1555e4d4fa0e0c9c3fc46734c7c35b3ce90b
|
78
|
-
- test/fixtures/testrepo.git/objects/e0/f46d77041c149296549b01ed4a18b02c4b7400
|
79
68
|
- test/fixtures/testrepo.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
|
80
69
|
- test/fixtures/testrepo.git/objects/f6/0079018b664e4e79329a7ef9559c8d9e0378d1
|
81
70
|
- test/fixtures/testrepo.git/objects/fa/49b077972391ad58037050f2a75f74e3671e92
|
@@ -84,51 +73,285 @@ files:
|
|
84
73
|
- test/fixtures/testrepo.git/objects/pack/pack-d7c6adf9f61318f041845b01440d09aa7a91e1b5.pack
|
85
74
|
- test/fixtures/testrepo.git/packed-refs
|
86
75
|
- test/fixtures/testrepo.git/refs/heads/master
|
76
|
+
- test/fixtures/testrepo.git/refs/heads/new_name
|
87
77
|
- test/fixtures/testrepo.git/refs/tags/v0.9
|
88
78
|
- test/fixtures/testrepo.git/refs/tags/v1.0
|
89
79
|
- test/index_test.rb
|
90
80
|
- test/lib_test.rb
|
91
81
|
- test/object_test.rb
|
82
|
+
- test/reference_test.rb
|
83
|
+
- test/remote_test.rb
|
92
84
|
- test/repo_pack_test.rb
|
93
85
|
- test/repo_test.rb
|
94
86
|
- test/tag_test.rb
|
95
87
|
- test/test_helper.rb
|
96
88
|
- test/tree_test.rb
|
97
89
|
- test/walker_test.rb
|
90
|
+
- ext/rugged/remote.c
|
91
|
+
- ext/rugged/rugged.c
|
92
|
+
- ext/rugged/rugged_blob.c
|
93
|
+
- ext/rugged/rugged_commit.c
|
94
|
+
- ext/rugged/rugged_config.c
|
95
|
+
- ext/rugged/rugged_index.c
|
96
|
+
- ext/rugged/rugged_object.c
|
97
|
+
- ext/rugged/rugged_reference.c
|
98
|
+
- ext/rugged/rugged_repo.c
|
99
|
+
- ext/rugged/rugged_revwalk.c
|
100
|
+
- ext/rugged/rugged_signature.c
|
101
|
+
- ext/rugged/rugged_tag.c
|
102
|
+
- ext/rugged/rugged_tree.c
|
103
|
+
- ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.c
|
104
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/adler32.c
|
105
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.c
|
106
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.c
|
107
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.c
|
108
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.c
|
109
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.c
|
110
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/trees.c
|
111
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.c
|
112
|
+
- ext/rugged/vendor/libgit2-dist/examples/general.c
|
113
|
+
- ext/rugged/vendor/libgit2-dist/examples/network/fetch.c
|
114
|
+
- ext/rugged/vendor/libgit2-dist/examples/network/git2.c
|
115
|
+
- ext/rugged/vendor/libgit2-dist/examples/network/index-pack.c
|
116
|
+
- ext/rugged/vendor/libgit2-dist/examples/network/ls-remote.c
|
117
|
+
- ext/rugged/vendor/libgit2-dist/examples/showindex.c
|
118
|
+
- ext/rugged/vendor/libgit2-dist/src/blob.c
|
119
|
+
- ext/rugged/vendor/libgit2-dist/src/buffer.c
|
120
|
+
- ext/rugged/vendor/libgit2-dist/src/cache.c
|
121
|
+
- ext/rugged/vendor/libgit2-dist/src/commit.c
|
122
|
+
- ext/rugged/vendor/libgit2-dist/src/config.c
|
123
|
+
- ext/rugged/vendor/libgit2-dist/src/config_file.c
|
124
|
+
- ext/rugged/vendor/libgit2-dist/src/delta-apply.c
|
125
|
+
- ext/rugged/vendor/libgit2-dist/src/errors.c
|
126
|
+
- ext/rugged/vendor/libgit2-dist/src/fetch.c
|
127
|
+
- ext/rugged/vendor/libgit2-dist/src/filebuf.c
|
128
|
+
- ext/rugged/vendor/libgit2-dist/src/fileops.c
|
129
|
+
- ext/rugged/vendor/libgit2-dist/src/global.c
|
130
|
+
- ext/rugged/vendor/libgit2-dist/src/hash.c
|
131
|
+
- ext/rugged/vendor/libgit2-dist/src/hashtable.c
|
132
|
+
- ext/rugged/vendor/libgit2-dist/src/index.c
|
133
|
+
- ext/rugged/vendor/libgit2-dist/src/indexer.c
|
134
|
+
- ext/rugged/vendor/libgit2-dist/src/mwindow.c
|
135
|
+
- ext/rugged/vendor/libgit2-dist/src/netops.c
|
136
|
+
- ext/rugged/vendor/libgit2-dist/src/object.c
|
137
|
+
- ext/rugged/vendor/libgit2-dist/src/odb.c
|
138
|
+
- ext/rugged/vendor/libgit2-dist/src/odb_loose.c
|
139
|
+
- ext/rugged/vendor/libgit2-dist/src/odb_pack.c
|
140
|
+
- ext/rugged/vendor/libgit2-dist/src/oid.c
|
141
|
+
- ext/rugged/vendor/libgit2-dist/src/pack.c
|
142
|
+
- ext/rugged/vendor/libgit2-dist/src/path.c
|
143
|
+
- ext/rugged/vendor/libgit2-dist/src/pkt.c
|
144
|
+
- ext/rugged/vendor/libgit2-dist/src/posix.c
|
145
|
+
- ext/rugged/vendor/libgit2-dist/src/ppc/sha1.c
|
146
|
+
- ext/rugged/vendor/libgit2-dist/src/pqueue.c
|
147
|
+
- ext/rugged/vendor/libgit2-dist/src/protocol.c
|
148
|
+
- ext/rugged/vendor/libgit2-dist/src/reflog.c
|
149
|
+
- ext/rugged/vendor/libgit2-dist/src/refs.c
|
150
|
+
- ext/rugged/vendor/libgit2-dist/src/refspec.c
|
151
|
+
- ext/rugged/vendor/libgit2-dist/src/remote.c
|
152
|
+
- ext/rugged/vendor/libgit2-dist/src/repository.c
|
153
|
+
- ext/rugged/vendor/libgit2-dist/src/revwalk.c
|
154
|
+
- ext/rugged/vendor/libgit2-dist/src/sha1.c
|
155
|
+
- ext/rugged/vendor/libgit2-dist/src/sha1_lookup.c
|
156
|
+
- ext/rugged/vendor/libgit2-dist/src/signature.c
|
157
|
+
- ext/rugged/vendor/libgit2-dist/src/status.c
|
158
|
+
- ext/rugged/vendor/libgit2-dist/src/tag.c
|
159
|
+
- ext/rugged/vendor/libgit2-dist/src/thread-utils.c
|
160
|
+
- ext/rugged/vendor/libgit2-dist/src/transport.c
|
161
|
+
- ext/rugged/vendor/libgit2-dist/src/transports/git.c
|
162
|
+
- ext/rugged/vendor/libgit2-dist/src/transports/http.c
|
163
|
+
- ext/rugged/vendor/libgit2-dist/src/transports/local.c
|
164
|
+
- ext/rugged/vendor/libgit2-dist/src/tree-cache.c
|
165
|
+
- ext/rugged/vendor/libgit2-dist/src/tree.c
|
166
|
+
- ext/rugged/vendor/libgit2-dist/src/tsort.c
|
167
|
+
- ext/rugged/vendor/libgit2-dist/src/unix/map.c
|
168
|
+
- ext/rugged/vendor/libgit2-dist/src/util.c
|
169
|
+
- ext/rugged/vendor/libgit2-dist/src/vector.c
|
170
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/dir.c
|
171
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.c
|
172
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/map.c
|
173
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/posix_w32.c
|
174
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/pthread.c
|
175
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.c
|
176
|
+
- ext/rugged/vendor/libgit2-dist/tests/t00-core.c
|
177
|
+
- ext/rugged/vendor/libgit2-dist/tests/t01-rawobj.c
|
178
|
+
- ext/rugged/vendor/libgit2-dist/tests/t03-objwrite.c
|
179
|
+
- ext/rugged/vendor/libgit2-dist/tests/t04-commit.c
|
180
|
+
- ext/rugged/vendor/libgit2-dist/tests/t05-revwalk.c
|
181
|
+
- ext/rugged/vendor/libgit2-dist/tests/t06-index.c
|
182
|
+
- ext/rugged/vendor/libgit2-dist/tests/t07-hashtable.c
|
183
|
+
- ext/rugged/vendor/libgit2-dist/tests/t08-tag.c
|
184
|
+
- ext/rugged/vendor/libgit2-dist/tests/t09-tree.c
|
185
|
+
- ext/rugged/vendor/libgit2-dist/tests/t10-refs.c
|
186
|
+
- ext/rugged/vendor/libgit2-dist/tests/t12-repo.c
|
187
|
+
- ext/rugged/vendor/libgit2-dist/tests/t13-threads.c
|
188
|
+
- ext/rugged/vendor/libgit2-dist/tests/t17-bufs.c
|
189
|
+
- ext/rugged/vendor/libgit2-dist/tests/t18-status.c
|
190
|
+
- ext/rugged/vendor/libgit2-dist/tests/test_helpers.c
|
191
|
+
- ext/rugged/vendor/libgit2-dist/tests/test_lib.c
|
192
|
+
- ext/rugged/vendor/libgit2-dist/tests/test_main.c
|
193
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/buf/basic.c
|
194
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/clay_main.c
|
195
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/config/add.c
|
196
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/config/new.c
|
197
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/config/read.c
|
198
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/config/stress.c
|
199
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/config/write.c
|
200
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/dirent.c
|
201
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/filebuf.c
|
202
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/oid.c
|
203
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/path.c
|
204
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/rmdir.c
|
205
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/string.c
|
206
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/strtol.c
|
207
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/core/vector.c
|
208
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/index/rename.c
|
209
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/network/remotes.c
|
210
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/chars.c
|
211
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/compare.c
|
212
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/convert.c
|
213
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/fromstr.c
|
214
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/hash.c
|
215
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/short.c
|
216
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/size.c
|
217
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/type2string.c
|
218
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/tree/frompath.c
|
219
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose.c
|
220
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/odb/packed.c
|
221
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/odb/sorting.c
|
222
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/repo/getters.c
|
223
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/repo/init.c
|
224
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/repo/open.c
|
225
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/status/single.c
|
226
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/status/worktree.c
|
227
|
+
- ext/rugged/rugged.h
|
228
|
+
- ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.h
|
229
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.h
|
230
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.h
|
231
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.h
|
232
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inffixed.h
|
233
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.h
|
234
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.h
|
235
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/trees.h
|
236
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/zconf.h
|
237
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/zlib.h
|
238
|
+
- ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.h
|
239
|
+
- ext/rugged/vendor/libgit2-dist/examples/network/common.h
|
240
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/blob.h
|
241
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/branch.h
|
242
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/commit.h
|
243
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/common.h
|
244
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/config.h
|
245
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/errors.h
|
246
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/index.h
|
247
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/indexer.h
|
248
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/inttypes.h
|
249
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/net.h
|
250
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/object.h
|
251
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/odb.h
|
252
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/odb_backend.h
|
253
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/oid.h
|
254
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/reflog.h
|
255
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/refs.h
|
256
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/refspec.h
|
257
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/remote.h
|
258
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/repository.h
|
259
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/revwalk.h
|
260
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/signature.h
|
261
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/status.h
|
262
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/stdint.h
|
263
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/tag.h
|
264
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/threads.h
|
265
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/tree.h
|
266
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/types.h
|
267
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/version.h
|
268
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/windows.h
|
269
|
+
- ext/rugged/vendor/libgit2-dist/include/git2/zlib.h
|
270
|
+
- ext/rugged/vendor/libgit2-dist/include/git2.h
|
271
|
+
- ext/rugged/vendor/libgit2-dist/src/blob.h
|
272
|
+
- ext/rugged/vendor/libgit2-dist/src/bswap.h
|
273
|
+
- ext/rugged/vendor/libgit2-dist/src/buffer.h
|
274
|
+
- ext/rugged/vendor/libgit2-dist/src/cache.h
|
275
|
+
- ext/rugged/vendor/libgit2-dist/src/cc-compat.h
|
276
|
+
- ext/rugged/vendor/libgit2-dist/src/commit.h
|
277
|
+
- ext/rugged/vendor/libgit2-dist/src/common.h
|
278
|
+
- ext/rugged/vendor/libgit2-dist/src/config.h
|
279
|
+
- ext/rugged/vendor/libgit2-dist/src/delta-apply.h
|
280
|
+
- ext/rugged/vendor/libgit2-dist/src/dir.h
|
281
|
+
- ext/rugged/vendor/libgit2-dist/src/fetch.h
|
282
|
+
- ext/rugged/vendor/libgit2-dist/src/filebuf.h
|
283
|
+
- ext/rugged/vendor/libgit2-dist/src/fileops.h
|
284
|
+
- ext/rugged/vendor/libgit2-dist/src/global.h
|
285
|
+
- ext/rugged/vendor/libgit2-dist/src/hash.h
|
286
|
+
- ext/rugged/vendor/libgit2-dist/src/hashtable.h
|
287
|
+
- ext/rugged/vendor/libgit2-dist/src/index.h
|
288
|
+
- ext/rugged/vendor/libgit2-dist/src/map.h
|
289
|
+
- ext/rugged/vendor/libgit2-dist/src/mwindow.h
|
290
|
+
- ext/rugged/vendor/libgit2-dist/src/netops.h
|
291
|
+
- ext/rugged/vendor/libgit2-dist/src/odb.h
|
292
|
+
- ext/rugged/vendor/libgit2-dist/src/pack.h
|
293
|
+
- ext/rugged/vendor/libgit2-dist/src/path.h
|
294
|
+
- ext/rugged/vendor/libgit2-dist/src/pkt.h
|
295
|
+
- ext/rugged/vendor/libgit2-dist/src/posix.h
|
296
|
+
- ext/rugged/vendor/libgit2-dist/src/ppc/sha1.h
|
297
|
+
- ext/rugged/vendor/libgit2-dist/src/pqueue.h
|
298
|
+
- ext/rugged/vendor/libgit2-dist/src/protocol.h
|
299
|
+
- ext/rugged/vendor/libgit2-dist/src/reflog.h
|
300
|
+
- ext/rugged/vendor/libgit2-dist/src/refs.h
|
301
|
+
- ext/rugged/vendor/libgit2-dist/src/refspec.h
|
302
|
+
- ext/rugged/vendor/libgit2-dist/src/remote.h
|
303
|
+
- ext/rugged/vendor/libgit2-dist/src/repository.h
|
304
|
+
- ext/rugged/vendor/libgit2-dist/src/sha1.h
|
305
|
+
- ext/rugged/vendor/libgit2-dist/src/sha1_lookup.h
|
306
|
+
- ext/rugged/vendor/libgit2-dist/src/signature.h
|
307
|
+
- ext/rugged/vendor/libgit2-dist/src/tag.h
|
308
|
+
- ext/rugged/vendor/libgit2-dist/src/thread-utils.h
|
309
|
+
- ext/rugged/vendor/libgit2-dist/src/transport.h
|
310
|
+
- ext/rugged/vendor/libgit2-dist/src/tree-cache.h
|
311
|
+
- ext/rugged/vendor/libgit2-dist/src/tree.h
|
312
|
+
- ext/rugged/vendor/libgit2-dist/src/unix/posix.h
|
313
|
+
- ext/rugged/vendor/libgit2-dist/src/util.h
|
314
|
+
- ext/rugged/vendor/libgit2-dist/src/vector.h
|
315
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/fnmatch.h
|
316
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/mingw-compat.h
|
317
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/msvc-compat.h
|
318
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/posix.h
|
319
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/pthread.h
|
320
|
+
- ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.h
|
321
|
+
- ext/rugged/vendor/libgit2-dist/tests/t01-data.h
|
322
|
+
- ext/rugged/vendor/libgit2-dist/tests/t03-data.h
|
323
|
+
- ext/rugged/vendor/libgit2-dist/tests/test_helpers.h
|
324
|
+
- ext/rugged/vendor/libgit2-dist/tests/test_lib.h
|
325
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/clay.h
|
326
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/clay_libgit2.h
|
327
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/object/raw/data.h
|
328
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/odb/loose_data.h
|
329
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/odb/pack_data.h
|
330
|
+
- ext/rugged/vendor/libgit2-dist/tests-clay/status/status_data.h
|
331
|
+
- ext/rugged/vendor/libgit2-dist.tar.gz
|
98
332
|
- ext/rugged/extconf.rb
|
99
|
-
has_rdoc: true
|
100
333
|
homepage: http://github.com/libgit2/rugged
|
101
334
|
licenses: []
|
102
|
-
|
103
335
|
post_install_message:
|
104
336
|
rdoc_options: []
|
105
|
-
|
106
|
-
require_paths:
|
337
|
+
require_paths:
|
107
338
|
- lib
|
108
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
339
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
340
|
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
|
114
|
-
|
115
|
-
- 0
|
116
|
-
version: "0"
|
117
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
341
|
+
requirements:
|
342
|
+
- - ! '>='
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
version: '0'
|
345
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
346
|
none: false
|
119
|
-
requirements:
|
120
|
-
- -
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
|
123
|
-
segments:
|
124
|
-
- 0
|
125
|
-
version: "0"
|
347
|
+
requirements:
|
348
|
+
- - ! '>'
|
349
|
+
- !ruby/object:Gem::Version
|
350
|
+
version: 1.3.1
|
126
351
|
requirements: []
|
127
|
-
|
128
352
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.
|
353
|
+
rubygems_version: 1.8.6
|
130
354
|
signing_key:
|
131
355
|
specification_version: 3
|
132
356
|
summary: Rugged is a Ruby binding to the libgit2 linkable library
|
133
357
|
test_files: []
|
134
|
-
|