rugged 0.25.0b10 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rugged/extconf.rb +5 -0
- data/ext/rugged/rugged.c +3 -20
- data/ext/rugged/rugged.h +3 -20
- data/ext/rugged/rugged_backend.c +3 -20
- data/ext/rugged/rugged_blame.c +7 -24
- data/ext/rugged/rugged_blob.c +5 -22
- data/ext/rugged/rugged_branch.c +3 -20
- data/ext/rugged/rugged_branch_collection.c +3 -20
- data/ext/rugged/rugged_commit.c +37 -24
- data/ext/rugged/rugged_config.c +3 -20
- data/ext/rugged/rugged_cred.c +3 -20
- data/ext/rugged/rugged_diff.c +3 -20
- data/ext/rugged/rugged_diff_delta.c +3 -20
- data/ext/rugged/rugged_diff_hunk.c +3 -20
- data/ext/rugged/rugged_diff_line.c +3 -20
- data/ext/rugged/rugged_index.c +38 -149
- data/ext/rugged/rugged_note.c +3 -20
- data/ext/rugged/rugged_object.c +3 -20
- data/ext/rugged/rugged_patch.c +4 -22
- data/ext/rugged/rugged_rebase.c +3 -20
- data/ext/rugged/rugged_reference.c +4 -21
- data/ext/rugged/rugged_reference_collection.c +3 -20
- data/ext/rugged/rugged_remote.c +4 -21
- data/ext/rugged/rugged_remote_collection.c +3 -20
- data/ext/rugged/rugged_repo.c +5 -22
- data/ext/rugged/rugged_revwalk.c +4 -21
- data/ext/rugged/rugged_settings.c +3 -20
- data/ext/rugged/rugged_signature.c +3 -20
- data/ext/rugged/rugged_submodule.c +4 -21
- data/ext/rugged/rugged_submodule_collection.c +3 -20
- data/ext/rugged/rugged_tag.c +3 -20
- data/ext/rugged/rugged_tag_collection.c +3 -20
- data/ext/rugged/rugged_tree.c +56 -183
- data/lib/rugged.rb +5 -0
- data/lib/rugged/attributes.rb +5 -0
- data/lib/rugged/blob.rb +5 -0
- data/lib/rugged/branch.rb +6 -1
- data/lib/rugged/commit.rb +5 -0
- data/lib/rugged/console.rb +5 -0
- data/lib/rugged/credentials.rb +5 -0
- data/lib/rugged/diff.rb +5 -0
- data/lib/rugged/diff/delta.rb +5 -0
- data/lib/rugged/diff/hunk.rb +5 -0
- data/lib/rugged/diff/line.rb +5 -0
- data/lib/rugged/index.rb +120 -0
- data/lib/rugged/object.rb +5 -0
- data/lib/rugged/patch.rb +5 -0
- data/lib/rugged/reference.rb +5 -0
- data/lib/rugged/remote.rb +5 -0
- data/lib/rugged/repository.rb +6 -1
- data/lib/rugged/submodule_collection.rb +5 -0
- data/lib/rugged/tag.rb +5 -0
- data/lib/rugged/tree.rb +156 -1
- data/lib/rugged/version.rb +6 -1
- data/lib/rugged/walker.rb +5 -0
- data/vendor/libgit2/include/git2/common.h +20 -1
- data/vendor/libgit2/include/git2/describe.h +5 -2
- data/vendor/libgit2/include/git2/patch.h +1 -1
- data/vendor/libgit2/include/git2/proxy.h +1 -1
- data/vendor/libgit2/include/git2/remote.h +4 -4
- data/vendor/libgit2/include/git2/transaction.h +9 -0
- data/vendor/libgit2/include/git2/version.h +3 -3
- data/vendor/libgit2/src/apply.c +1 -1
- data/vendor/libgit2/src/branch.c +5 -4
- data/vendor/libgit2/src/checkout.c +2 -2
- data/vendor/libgit2/src/commit.c +4 -3
- data/vendor/libgit2/src/common.h +2 -1
- data/vendor/libgit2/src/curl_stream.c +19 -2
- data/vendor/libgit2/src/diff_stats.c +18 -10
- data/vendor/libgit2/src/fetchhead.c +8 -8
- data/vendor/libgit2/src/fileops.c +9 -1
- data/vendor/libgit2/src/fileops.h +2 -2
- data/vendor/libgit2/src/global.c +19 -4
- data/vendor/libgit2/src/global.h +6 -0
- data/vendor/libgit2/src/graph.c +1 -1
- data/vendor/libgit2/src/index.c +1 -1
- data/vendor/libgit2/src/iterator.c +1 -1
- data/vendor/libgit2/src/merge.c +1 -1
- data/vendor/libgit2/src/odb.c +1 -1
- data/vendor/libgit2/src/odb_mempack.c +1 -1
- data/vendor/libgit2/src/openssl_stream.c +45 -26
- data/vendor/libgit2/src/openssl_stream.h +106 -0
- data/vendor/libgit2/src/pack.c +12 -7
- data/vendor/libgit2/src/patch_generate.c +1 -1
- data/vendor/libgit2/src/patch_parse.c +28 -26
- data/vendor/libgit2/src/path.c +5 -2
- data/vendor/libgit2/src/pqueue.c +3 -2
- data/vendor/libgit2/src/rebase.c +1 -1
- data/vendor/libgit2/src/refdb.c +4 -2
- data/vendor/libgit2/src/refdb_fs.c +82 -54
- data/vendor/libgit2/src/repository.c +9 -6
- data/vendor/libgit2/src/revwalk.c +1 -1
- data/vendor/libgit2/src/settings.c +2 -0
- data/vendor/libgit2/src/signature.c +1 -1
- data/vendor/libgit2/src/sortedcache.c +14 -5
- data/vendor/libgit2/src/sysdir.c +1 -1
- data/vendor/libgit2/src/transports/http.c +1 -1
- data/vendor/libgit2/src/transports/smart_protocol.c +11 -7
- data/vendor/libgit2/src/tree.c +13 -5
- data/vendor/libgit2/src/unix/pthread.h +2 -0
- data/vendor/libgit2/src/win32/thread.c +18 -0
- data/vendor/libgit2/src/win32/thread.h +2 -0
- data/vendor/libgit2/src/win32/w32_util.h +1 -1
- data/vendor/libgit2/src/zstream.c +1 -1
- metadata +76 -76
@@ -410,7 +410,7 @@ static int find_repo(
|
|
410
410
|
break;
|
411
411
|
}
|
412
412
|
}
|
413
|
-
else if (S_ISREG(st.st_mode)) {
|
413
|
+
else if (S_ISREG(st.st_mode) && git__suffixcmp(path.ptr, "/" DOT_GIT) == 0) {
|
414
414
|
error = read_gitfile(&repo_link, path.ptr);
|
415
415
|
if (error < 0)
|
416
416
|
break;
|
@@ -613,9 +613,10 @@ static int _git_repository_open_ext_from_env(
|
|
613
613
|
git_repository_set_odb(repo, odb);
|
614
614
|
|
615
615
|
error = git__getenv(&alts_buf, "GIT_ALTERNATE_OBJECT_DIRECTORIES");
|
616
|
-
if (error == GIT_ENOTFOUND)
|
616
|
+
if (error == GIT_ENOTFOUND) {
|
617
617
|
giterr_clear();
|
618
|
-
|
618
|
+
error = 0;
|
619
|
+
} else if (error < 0)
|
619
620
|
goto error;
|
620
621
|
else {
|
621
622
|
const char *end;
|
@@ -638,9 +639,11 @@ static int _git_repository_open_ext_from_env(
|
|
638
639
|
}
|
639
640
|
}
|
640
641
|
|
641
|
-
|
642
|
-
|
643
|
-
|
642
|
+
if (git_buf_len(&namespace_buf)) {
|
643
|
+
error = git_repository_set_namespace(repo, git_buf_cstr(&namespace_buf));
|
644
|
+
if (error < 0)
|
645
|
+
goto error;
|
646
|
+
}
|
644
647
|
|
645
648
|
git_repository_set_index(repo, index);
|
646
649
|
|
@@ -290,7 +290,7 @@ static void mark_parents_uninteresting(git_commit_list_node *commit)
|
|
290
290
|
|
291
291
|
|
292
292
|
while (parents) {
|
293
|
-
|
293
|
+
commit = git_commit_list_pop(&parents);
|
294
294
|
|
295
295
|
while (commit) {
|
296
296
|
if (commit->uninteresting)
|
@@ -29,7 +29,9 @@ int git_libgit2_features(void)
|
|
29
29
|
#ifdef GIT_THREADS
|
30
30
|
| GIT_FEATURE_THREADS
|
31
31
|
#endif
|
32
|
+
#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)
|
32
33
|
| GIT_FEATURE_HTTPS
|
34
|
+
#endif
|
33
35
|
#if defined(GIT_SSH)
|
34
36
|
| GIT_FEATURE_SSH
|
35
37
|
#endif
|
@@ -251,7 +251,7 @@ int git_signature__parse(git_signature *sig, const char **buffer_out,
|
|
251
251
|
* only store timezone if it's not overflowing;
|
252
252
|
* see http://www.worldtimezone.com/faq.html
|
253
253
|
*/
|
254
|
-
if (hours
|
254
|
+
if (hours <= 14 && mins <= 59) {
|
255
255
|
sig->when.offset = (hours * 60) + mins;
|
256
256
|
if (tz_start[0] == '-')
|
257
257
|
sig->when.offset = -sig->when.offset;
|
@@ -200,6 +200,7 @@ void git_sortedcache_runlock(git_sortedcache *sc)
|
|
200
200
|
int git_sortedcache_lockandload(git_sortedcache *sc, git_buf *buf)
|
201
201
|
{
|
202
202
|
int error, fd;
|
203
|
+
struct stat st;
|
203
204
|
|
204
205
|
if ((error = git_sortedcache_wlock(sc)) < 0)
|
205
206
|
return error;
|
@@ -207,19 +208,27 @@ int git_sortedcache_lockandload(git_sortedcache *sc, git_buf *buf)
|
|
207
208
|
if ((error = git_futils_filestamp_check(&sc->stamp, sc->path)) <= 0)
|
208
209
|
goto unlock;
|
209
210
|
|
210
|
-
if (
|
211
|
-
|
211
|
+
if ((fd = git_futils_open_ro(sc->path)) < 0) {
|
212
|
+
error = fd;
|
213
|
+
goto unlock;
|
214
|
+
}
|
215
|
+
|
216
|
+
if (p_fstat(fd, &st) < 0) {
|
217
|
+
giterr_set(GITERR_OS, "failed to stat file");
|
212
218
|
error = -1;
|
219
|
+
(void)p_close(fd);
|
213
220
|
goto unlock;
|
214
221
|
}
|
215
222
|
|
216
|
-
if ((
|
217
|
-
|
223
|
+
if (!git__is_sizet(st.st_size)) {
|
224
|
+
giterr_set(GITERR_INVALID, "Unable to load file larger than size_t");
|
225
|
+
error = -1;
|
226
|
+
(void)p_close(fd);
|
218
227
|
goto unlock;
|
219
228
|
}
|
220
229
|
|
221
230
|
if (buf)
|
222
|
-
error = git_futils_readbuffer_fd(buf, fd, (size_t)
|
231
|
+
error = git_futils_readbuffer_fd(buf, fd, (size_t)st.st_size);
|
223
232
|
|
224
233
|
(void)p_close(fd);
|
225
234
|
|
data/vendor/libgit2/src/sysdir.c
CHANGED
@@ -171,7 +171,7 @@ int git_sysdir_set(git_sysdir_t which, const char *search_path)
|
|
171
171
|
expand_path = strstr(search_path, PATH_MAGIC);
|
172
172
|
|
173
173
|
/* reset the default if this path has been cleared */
|
174
|
-
if (!search_path
|
174
|
+
if (!search_path)
|
175
175
|
git_sysdir__dirs[which].guess(&git_sysdir__dirs[which].buf);
|
176
176
|
|
177
177
|
/* if $PATH is not referenced, then just set the path */
|
@@ -208,7 +208,7 @@ static int gen_request(
|
|
208
208
|
|
209
209
|
git_buf_printf(buf, "%s %s%s HTTP/1.1\r\n", s->verb, path, s->service_url);
|
210
210
|
|
211
|
-
git_buf_printf(buf, "User-Agent: git/
|
211
|
+
git_buf_printf(buf, "User-Agent: git/2.0 (%s)\r\n", user_agent());
|
212
212
|
git_buf_printf(buf, "Host: %s\r\n", t->connection_data.host);
|
213
213
|
|
214
214
|
if (s->chunked || content_length > 0) {
|
@@ -50,7 +50,7 @@ int git_smart__store_refs(transport_smart *t, int flushes)
|
|
50
50
|
if ((recvd = gitno_recv(buf)) < 0)
|
51
51
|
return recvd;
|
52
52
|
|
53
|
-
if (recvd == 0
|
53
|
+
if (recvd == 0) {
|
54
54
|
giterr_set(GITERR_NET, "early EOF");
|
55
55
|
return GIT_EEOF;
|
56
56
|
}
|
@@ -222,8 +222,12 @@ static int recv_pkt(git_pkt **out, gitno_buffer *buf)
|
|
222
222
|
if (error < 0 && error != GIT_EBUFS)
|
223
223
|
return error;
|
224
224
|
|
225
|
-
if ((ret = gitno_recv(buf)) < 0)
|
225
|
+
if ((ret = gitno_recv(buf)) < 0) {
|
226
226
|
return ret;
|
227
|
+
} else if (ret == 0) {
|
228
|
+
giterr_set(GITERR_NET, "early EOF");
|
229
|
+
return GIT_EEOF;
|
230
|
+
}
|
227
231
|
} while (error);
|
228
232
|
|
229
233
|
gitno_consume(buf, line_end);
|
@@ -408,12 +412,12 @@ int git_smart__negotiate_fetch(git_transport *transport, git_repository *repo, c
|
|
408
412
|
|
409
413
|
if (i % 20 == 0 && t->rpc) {
|
410
414
|
git_pkt_ack *pkt;
|
411
|
-
unsigned int
|
415
|
+
unsigned int j;
|
412
416
|
|
413
417
|
if ((error = git_pkt_buffer_wants(wants, count, &t->caps, &data)) < 0)
|
414
418
|
goto on_error;
|
415
419
|
|
416
|
-
git_vector_foreach(&t->common,
|
420
|
+
git_vector_foreach(&t->common, j, pkt) {
|
417
421
|
if ((error = git_pkt_buffer_have(&pkt->oid, &data)) < 0)
|
418
422
|
goto on_error;
|
419
423
|
}
|
@@ -428,12 +432,12 @@ int git_smart__negotiate_fetch(git_transport *transport, git_repository *repo, c
|
|
428
432
|
/* Tell the other end that we're done negotiating */
|
429
433
|
if (t->rpc && t->common.length > 0) {
|
430
434
|
git_pkt_ack *pkt;
|
431
|
-
unsigned int
|
435
|
+
unsigned int j;
|
432
436
|
|
433
437
|
if ((error = git_pkt_buffer_wants(wants, count, &t->caps, &data)) < 0)
|
434
438
|
goto on_error;
|
435
439
|
|
436
|
-
git_vector_foreach(&t->common,
|
440
|
+
git_vector_foreach(&t->common, j, pkt) {
|
437
441
|
if ((error = git_pkt_buffer_have(&pkt->oid, &data)) < 0)
|
438
442
|
goto on_error;
|
439
443
|
}
|
@@ -724,7 +728,7 @@ static int add_push_report_pkt(git_push *push, git_pkt *pkt)
|
|
724
728
|
static int add_push_report_sideband_pkt(git_push *push, git_pkt_data *data_pkt, git_buf *data_pkt_buf)
|
725
729
|
{
|
726
730
|
git_pkt *pkt;
|
727
|
-
const char *line, *line_end;
|
731
|
+
const char *line, *line_end = NULL;
|
728
732
|
size_t line_len;
|
729
733
|
int error;
|
730
734
|
int reading_from_buf = data_pkt_buf->size > 0;
|
data/vendor/libgit2/src/tree.c
CHANGED
@@ -447,7 +447,12 @@ int git_tree__parse(void *_tree, git_odb_object *odb_obj)
|
|
447
447
|
if ((nul = memchr(buffer, 0, buffer_end - buffer)) == NULL)
|
448
448
|
return tree_error("Failed to parse tree. Object is corrupted", NULL);
|
449
449
|
|
450
|
-
filename_len = nul - buffer
|
450
|
+
if ((filename_len = nul - buffer) == 0)
|
451
|
+
return tree_error("Failed to parse tree. Can't parse filename", NULL);
|
452
|
+
|
453
|
+
if ((buffer_end - (nul + 1)) < GIT_OID_RAWSZ)
|
454
|
+
return tree_error("Failed to parse tree. Can't parse OID", NULL);
|
455
|
+
|
451
456
|
/* Allocate the entry */
|
452
457
|
{
|
453
458
|
entry = git_array_alloc(tree->entries);
|
@@ -912,7 +917,7 @@ int git_tree_entry_bypath(
|
|
912
917
|
|
913
918
|
if (entry == NULL) {
|
914
919
|
giterr_set(GITERR_TREE,
|
915
|
-
"the path '%.*s' does not exist in the given tree", filename_len, path);
|
920
|
+
"the path '%.*s' does not exist in the given tree", (int) filename_len, path);
|
916
921
|
return GIT_ENOTFOUND;
|
917
922
|
}
|
918
923
|
|
@@ -922,7 +927,7 @@ int git_tree_entry_bypath(
|
|
922
927
|
* then this entry *must* be a tree */
|
923
928
|
if (!git_tree_entry__is_tree(entry)) {
|
924
929
|
giterr_set(GITERR_TREE,
|
925
|
-
"the path '%.*s' exists but is not a tree", filename_len, path);
|
930
|
+
"the path '%.*s' exists but is not a tree", (int) filename_len, path);
|
926
931
|
return GIT_ENOTFOUND;
|
927
932
|
}
|
928
933
|
|
@@ -1159,8 +1164,8 @@ int git_tree_create_updated(git_oid *out, git_repository *repo, git_tree *baseli
|
|
1159
1164
|
goto cleanup;
|
1160
1165
|
|
1161
1166
|
for (i = 0; i < nupdates; i++) {
|
1162
|
-
const git_tree_update *last_update = i == 0 ? NULL : &
|
1163
|
-
const git_tree_update *update = &
|
1167
|
+
const git_tree_update *last_update = i == 0 ? NULL : git_vector_get(&entries, i-1);
|
1168
|
+
const git_tree_update *update = git_vector_get(&entries, i);
|
1164
1169
|
size_t common_prefix = 0, steps_up, j;
|
1165
1170
|
const char *path;
|
1166
1171
|
|
@@ -1195,6 +1200,9 @@ int git_tree_create_updated(git_oid *out, git_repository *repo, git_tree *baseli
|
|
1195
1200
|
|
1196
1201
|
last = git_array_last(stack);
|
1197
1202
|
entry = last->tree ? git_tree_entry_byname(last->tree, component.ptr) : NULL;
|
1203
|
+
if (!entry)
|
1204
|
+
entry = treebuilder_get(last->bld, component.ptr);
|
1205
|
+
|
1198
1206
|
if (entry && git_tree_entry_type(entry) != GIT_OBJ_TREE) {
|
1199
1207
|
giterr_set(GITERR_TREE, "D/F conflict when updating tree");
|
1200
1208
|
error = -1;
|
@@ -17,6 +17,8 @@ typedef struct {
|
|
17
17
|
pthread_create(&(git_thread_ptr)->thread, NULL, start_routine, arg)
|
18
18
|
#define git_thread_join(git_thread_ptr, status) \
|
19
19
|
pthread_join((git_thread_ptr)->thread, status)
|
20
|
+
#define git_thread_currentid() ((size_t)(pthread_self()))
|
21
|
+
#define git_thread_exit(retval) pthread_exit(retval)
|
20
22
|
|
21
23
|
/* Git Mutex */
|
22
24
|
#define git_mutex pthread_mutex_t
|
@@ -26,6 +26,9 @@ static DWORD WINAPI git_win32__threadproc(LPVOID lpParameter)
|
|
26
26
|
{
|
27
27
|
git_thread *thread = lpParameter;
|
28
28
|
|
29
|
+
/* Set the current thread for `git_thread_exit` */
|
30
|
+
GIT_GLOBAL->current_thread = thread;
|
31
|
+
|
29
32
|
thread->result = thread->proc(thread->param);
|
30
33
|
|
31
34
|
git__free_tls_data();
|
@@ -95,6 +98,21 @@ int git_thread_join(
|
|
95
98
|
return 0;
|
96
99
|
}
|
97
100
|
|
101
|
+
void git_thread_exit(void *value)
|
102
|
+
{
|
103
|
+
assert(GIT_GLOBAL->current_thread);
|
104
|
+
GIT_GLOBAL->current_thread->result = value;
|
105
|
+
|
106
|
+
git__free_tls_data();
|
107
|
+
|
108
|
+
ExitThread(CLEAN_THREAD_EXIT);
|
109
|
+
}
|
110
|
+
|
111
|
+
size_t git_thread_currentid(void)
|
112
|
+
{
|
113
|
+
return GetCurrentThreadId();
|
114
|
+
}
|
115
|
+
|
98
116
|
int git_mutex_init(git_mutex *GIT_RESTRICT mutex)
|
99
117
|
{
|
100
118
|
InitializeCriticalSection(mutex);
|
@@ -41,6 +41,8 @@ int git_thread_create(git_thread *GIT_RESTRICT,
|
|
41
41
|
void *(*) (void *),
|
42
42
|
void *GIT_RESTRICT);
|
43
43
|
int git_thread_join(git_thread *, void **);
|
44
|
+
size_t git_thread_currentid(void);
|
45
|
+
void git_thread_exit(void *);
|
44
46
|
|
45
47
|
int git_mutex_init(git_mutex *GIT_RESTRICT mutex);
|
46
48
|
int git_mutex_free(git_mutex *);
|
@@ -174,7 +174,7 @@ GIT_INLINE(int) git_win32__file_attribute_to_stat(
|
|
174
174
|
/* st_size gets the UTF-8 length of the target name, in bytes,
|
175
175
|
* not counting the NULL terminator */
|
176
176
|
if ((st->st_size = git__utf16_to_8(NULL, 0, target)) < 0) {
|
177
|
-
giterr_set(GITERR_OS, "Could not convert reparse point name for '%
|
177
|
+
giterr_set(GITERR_OS, "Could not convert reparse point name for '%ls'", path);
|
178
178
|
return -1;
|
179
179
|
}
|
180
180
|
}
|
@@ -21,7 +21,7 @@ static int zstream_seterr(git_zstream *zs)
|
|
21
21
|
if (zs->zerr == Z_MEM_ERROR)
|
22
22
|
giterr_set_oom();
|
23
23
|
else if (zs->z.msg)
|
24
|
-
|
24
|
+
giterr_set_str(GITERR_ZLIB, zs->z.msg);
|
25
25
|
else
|
26
26
|
giterr_set(GITERR_ZLIB, "Unknown compression error");
|
27
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rugged
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Chacon
|
@@ -9,48 +9,48 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.9.0
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.9.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: pry
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - '>='
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: minitest
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '5.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '5.0'
|
56
56
|
description: |
|
@@ -62,9 +62,30 @@ extensions:
|
|
62
62
|
- ext/rugged/extconf.rb
|
63
63
|
extra_rdoc_files: []
|
64
64
|
files:
|
65
|
-
- LICENSE
|
66
65
|
- README.md
|
67
|
-
-
|
66
|
+
- LICENSE
|
67
|
+
- lib/rugged/attributes.rb
|
68
|
+
- lib/rugged/blob.rb
|
69
|
+
- lib/rugged/branch.rb
|
70
|
+
- lib/rugged/commit.rb
|
71
|
+
- lib/rugged/console.rb
|
72
|
+
- lib/rugged/credentials.rb
|
73
|
+
- lib/rugged/diff/delta.rb
|
74
|
+
- lib/rugged/diff/hunk.rb
|
75
|
+
- lib/rugged/diff/line.rb
|
76
|
+
- lib/rugged/diff.rb
|
77
|
+
- lib/rugged/index.rb
|
78
|
+
- lib/rugged/object.rb
|
79
|
+
- lib/rugged/patch.rb
|
80
|
+
- lib/rugged/reference.rb
|
81
|
+
- lib/rugged/remote.rb
|
82
|
+
- lib/rugged/repository.rb
|
83
|
+
- lib/rugged/submodule_collection.rb
|
84
|
+
- lib/rugged/tag.rb
|
85
|
+
- lib/rugged/tree.rb
|
86
|
+
- lib/rugged/version.rb
|
87
|
+
- lib/rugged/walker.rb
|
88
|
+
- lib/rugged.rb
|
68
89
|
- ext/rugged/rugged.c
|
69
90
|
- ext/rugged/rugged.h
|
70
91
|
- ext/rugged/rugged_backend.c
|
@@ -97,71 +118,12 @@ files:
|
|
97
118
|
- ext/rugged/rugged_tag.c
|
98
119
|
- ext/rugged/rugged_tag_collection.c
|
99
120
|
- ext/rugged/rugged_tree.c
|
100
|
-
- lib/rugged.rb
|
101
|
-
- lib/rugged/attributes.rb
|
102
|
-
- lib/rugged/blob.rb
|
103
|
-
- lib/rugged/branch.rb
|
104
|
-
- lib/rugged/commit.rb
|
105
|
-
- lib/rugged/console.rb
|
106
|
-
- lib/rugged/credentials.rb
|
107
|
-
- lib/rugged/diff.rb
|
108
|
-
- lib/rugged/diff/delta.rb
|
109
|
-
- lib/rugged/diff/hunk.rb
|
110
|
-
- lib/rugged/diff/line.rb
|
111
|
-
- lib/rugged/index.rb
|
112
|
-
- lib/rugged/object.rb
|
113
|
-
- lib/rugged/patch.rb
|
114
|
-
- lib/rugged/reference.rb
|
115
|
-
- lib/rugged/remote.rb
|
116
|
-
- lib/rugged/repository.rb
|
117
|
-
- lib/rugged/submodule_collection.rb
|
118
|
-
- lib/rugged/tag.rb
|
119
|
-
- lib/rugged/tree.rb
|
120
|
-
- lib/rugged/version.rb
|
121
|
-
- lib/rugged/walker.rb
|
122
|
-
- vendor/libgit2/AUTHORS
|
123
|
-
- vendor/libgit2/CMakeLists.txt
|
124
|
-
- vendor/libgit2/COPYING
|
125
121
|
- vendor/libgit2/cmake/Modules/AddCFlagIfSupported.cmake
|
126
122
|
- vendor/libgit2/cmake/Modules/FindCoreFoundation.cmake
|
127
123
|
- vendor/libgit2/cmake/Modules/FindGSSAPI.cmake
|
128
124
|
- vendor/libgit2/cmake/Modules/FindHTTP_Parser.cmake
|
129
125
|
- vendor/libgit2/cmake/Modules/FindIconv.cmake
|
130
126
|
- vendor/libgit2/cmake/Modules/FindSecurity.cmake
|
131
|
-
- vendor/libgit2/deps/http-parser/LICENSE-MIT
|
132
|
-
- vendor/libgit2/deps/http-parser/http_parser.c
|
133
|
-
- vendor/libgit2/deps/http-parser/http_parser.h
|
134
|
-
- vendor/libgit2/deps/regex/config.h
|
135
|
-
- vendor/libgit2/deps/regex/regcomp.c
|
136
|
-
- vendor/libgit2/deps/regex/regex.c
|
137
|
-
- vendor/libgit2/deps/regex/regex.h
|
138
|
-
- vendor/libgit2/deps/regex/regex_internal.c
|
139
|
-
- vendor/libgit2/deps/regex/regex_internal.h
|
140
|
-
- vendor/libgit2/deps/regex/regexec.c
|
141
|
-
- vendor/libgit2/deps/winhttp/urlmon.h
|
142
|
-
- vendor/libgit2/deps/winhttp/winhttp.def
|
143
|
-
- vendor/libgit2/deps/winhttp/winhttp.h
|
144
|
-
- vendor/libgit2/deps/winhttp/winhttp64.def
|
145
|
-
- vendor/libgit2/deps/zlib/adler32.c
|
146
|
-
- vendor/libgit2/deps/zlib/crc32.c
|
147
|
-
- vendor/libgit2/deps/zlib/crc32.h
|
148
|
-
- vendor/libgit2/deps/zlib/deflate.c
|
149
|
-
- vendor/libgit2/deps/zlib/deflate.h
|
150
|
-
- vendor/libgit2/deps/zlib/infback.c
|
151
|
-
- vendor/libgit2/deps/zlib/inffast.c
|
152
|
-
- vendor/libgit2/deps/zlib/inffast.h
|
153
|
-
- vendor/libgit2/deps/zlib/inffixed.h
|
154
|
-
- vendor/libgit2/deps/zlib/inflate.c
|
155
|
-
- vendor/libgit2/deps/zlib/inflate.h
|
156
|
-
- vendor/libgit2/deps/zlib/inftrees.c
|
157
|
-
- vendor/libgit2/deps/zlib/inftrees.h
|
158
|
-
- vendor/libgit2/deps/zlib/trees.c
|
159
|
-
- vendor/libgit2/deps/zlib/trees.h
|
160
|
-
- vendor/libgit2/deps/zlib/zconf.h
|
161
|
-
- vendor/libgit2/deps/zlib/zlib.h
|
162
|
-
- vendor/libgit2/deps/zlib/zutil.c
|
163
|
-
- vendor/libgit2/deps/zlib/zutil.h
|
164
|
-
- vendor/libgit2/include/git2.h
|
165
127
|
- vendor/libgit2/include/git2/annotated_commit.h
|
166
128
|
- vendor/libgit2/include/git2/attr.h
|
167
129
|
- vendor/libgit2/include/git2/blame.h
|
@@ -240,7 +202,7 @@ files:
|
|
240
202
|
- vendor/libgit2/include/git2/tree.h
|
241
203
|
- vendor/libgit2/include/git2/types.h
|
242
204
|
- vendor/libgit2/include/git2/version.h
|
243
|
-
- vendor/libgit2/
|
205
|
+
- vendor/libgit2/include/git2.h
|
244
206
|
- vendor/libgit2/src/annotated_commit.c
|
245
207
|
- vendor/libgit2/src/annotated_commit.h
|
246
208
|
- vendor/libgit2/src/apply.c
|
@@ -322,14 +284,14 @@ files:
|
|
322
284
|
- vendor/libgit2/src/global.c
|
323
285
|
- vendor/libgit2/src/global.h
|
324
286
|
- vendor/libgit2/src/graph.c
|
325
|
-
- vendor/libgit2/src/hash.c
|
326
|
-
- vendor/libgit2/src/hash.h
|
327
287
|
- vendor/libgit2/src/hash/hash_common_crypto.h
|
328
288
|
- vendor/libgit2/src/hash/hash_generic.c
|
329
289
|
- vendor/libgit2/src/hash/hash_generic.h
|
330
290
|
- vendor/libgit2/src/hash/hash_openssl.h
|
331
291
|
- vendor/libgit2/src/hash/hash_win32.c
|
332
292
|
- vendor/libgit2/src/hash/hash_win32.h
|
293
|
+
- vendor/libgit2/src/hash.c
|
294
|
+
- vendor/libgit2/src/hash.h
|
333
295
|
- vendor/libgit2/src/hashsig.c
|
334
296
|
- vendor/libgit2/src/ident.c
|
335
297
|
- vendor/libgit2/src/idxmap.h
|
@@ -531,6 +493,44 @@ files:
|
|
531
493
|
- vendor/libgit2/src/xdiff/xutils.h
|
532
494
|
- vendor/libgit2/src/zstream.c
|
533
495
|
- vendor/libgit2/src/zstream.h
|
496
|
+
- vendor/libgit2/deps/http-parser/http_parser.c
|
497
|
+
- vendor/libgit2/deps/http-parser/http_parser.h
|
498
|
+
- vendor/libgit2/deps/http-parser/LICENSE-MIT
|
499
|
+
- vendor/libgit2/deps/regex/config.h
|
500
|
+
- vendor/libgit2/deps/regex/regcomp.c
|
501
|
+
- vendor/libgit2/deps/regex/regex.c
|
502
|
+
- vendor/libgit2/deps/regex/regex.h
|
503
|
+
- vendor/libgit2/deps/regex/regex_internal.c
|
504
|
+
- vendor/libgit2/deps/regex/regex_internal.h
|
505
|
+
- vendor/libgit2/deps/regex/regexec.c
|
506
|
+
- vendor/libgit2/deps/winhttp/urlmon.h
|
507
|
+
- vendor/libgit2/deps/winhttp/winhttp.def
|
508
|
+
- vendor/libgit2/deps/winhttp/winhttp.h
|
509
|
+
- vendor/libgit2/deps/winhttp/winhttp64.def
|
510
|
+
- vendor/libgit2/deps/zlib/adler32.c
|
511
|
+
- vendor/libgit2/deps/zlib/crc32.c
|
512
|
+
- vendor/libgit2/deps/zlib/crc32.h
|
513
|
+
- vendor/libgit2/deps/zlib/deflate.c
|
514
|
+
- vendor/libgit2/deps/zlib/deflate.h
|
515
|
+
- vendor/libgit2/deps/zlib/infback.c
|
516
|
+
- vendor/libgit2/deps/zlib/inffast.c
|
517
|
+
- vendor/libgit2/deps/zlib/inffast.h
|
518
|
+
- vendor/libgit2/deps/zlib/inffixed.h
|
519
|
+
- vendor/libgit2/deps/zlib/inflate.c
|
520
|
+
- vendor/libgit2/deps/zlib/inflate.h
|
521
|
+
- vendor/libgit2/deps/zlib/inftrees.c
|
522
|
+
- vendor/libgit2/deps/zlib/inftrees.h
|
523
|
+
- vendor/libgit2/deps/zlib/trees.c
|
524
|
+
- vendor/libgit2/deps/zlib/trees.h
|
525
|
+
- vendor/libgit2/deps/zlib/zconf.h
|
526
|
+
- vendor/libgit2/deps/zlib/zlib.h
|
527
|
+
- vendor/libgit2/deps/zlib/zutil.c
|
528
|
+
- vendor/libgit2/deps/zlib/zutil.h
|
529
|
+
- vendor/libgit2/CMakeLists.txt
|
530
|
+
- vendor/libgit2/AUTHORS
|
531
|
+
- vendor/libgit2/COPYING
|
532
|
+
- vendor/libgit2/libgit2.pc.in
|
533
|
+
- ext/rugged/extconf.rb
|
534
534
|
homepage: https://github.com/libgit2/rugged
|
535
535
|
licenses:
|
536
536
|
- MIT
|
@@ -541,17 +541,17 @@ require_paths:
|
|
541
541
|
- lib
|
542
542
|
required_ruby_version: !ruby/object:Gem::Requirement
|
543
543
|
requirements:
|
544
|
-
- -
|
544
|
+
- - '>='
|
545
545
|
- !ruby/object:Gem::Version
|
546
546
|
version: 1.9.3
|
547
547
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
548
548
|
requirements:
|
549
|
-
- -
|
549
|
+
- - '>='
|
550
550
|
- !ruby/object:Gem::Version
|
551
|
-
version:
|
551
|
+
version: '0'
|
552
552
|
requirements: []
|
553
553
|
rubyforge_project:
|
554
|
-
rubygems_version: 2.
|
554
|
+
rubygems_version: 2.0.14.1
|
555
555
|
signing_key:
|
556
556
|
specification_version: 4
|
557
557
|
summary: Rugged is a Ruby binding to the libgit2 linkable library
|