rugged 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/ext/rugged/rugged_remote.c +1 -8
  3. data/ext/rugged/rugged_submodule_collection.c +3 -3
  4. data/lib/rugged/version.rb +1 -1
  5. data/vendor/libgit2/CMakeLists.txt +3 -1
  6. data/vendor/libgit2/include/git2/diff.h +19 -0
  7. data/vendor/libgit2/include/git2/errors.h +1 -12
  8. data/vendor/libgit2/include/git2/remote.h +9 -1
  9. data/vendor/libgit2/include/git2/repository.h +1 -1
  10. data/vendor/libgit2/include/git2/sys/config.h +1 -1
  11. data/vendor/libgit2/include/git2/sys/diff.h +4 -4
  12. data/vendor/libgit2/include/git2/sys/filter.h +4 -1
  13. data/vendor/libgit2/include/git2/sys/odb_backend.h +1 -1
  14. data/vendor/libgit2/include/git2/sys/refdb_backend.h +4 -3
  15. data/vendor/libgit2/include/git2/transport.h +14 -21
  16. data/vendor/libgit2/src/blame_git.c +10 -15
  17. data/vendor/libgit2/src/blob.c +6 -0
  18. data/vendor/libgit2/src/branch.c +1 -12
  19. data/vendor/libgit2/src/cache.c +4 -4
  20. data/vendor/libgit2/src/checkout.c +2 -2
  21. data/vendor/libgit2/src/clone.c +2 -2
  22. data/vendor/libgit2/src/common.h +13 -4
  23. data/vendor/libgit2/src/curl_stream.c +7 -7
  24. data/vendor/libgit2/src/describe.c +1 -1
  25. data/vendor/libgit2/src/diff.c +25 -0
  26. data/vendor/libgit2/src/errors.c +75 -40
  27. data/vendor/libgit2/src/filebuf.c +6 -1
  28. data/vendor/libgit2/src/filebuf.h +2 -0
  29. data/vendor/libgit2/src/filter.c +14 -9
  30. data/vendor/libgit2/src/global.c +25 -9
  31. data/vendor/libgit2/src/global.h +1 -0
  32. data/vendor/libgit2/src/index.c +75 -2
  33. data/vendor/libgit2/src/indexer.c +1 -1
  34. data/vendor/libgit2/src/iterator.c +6 -3
  35. data/vendor/libgit2/src/khash.h +1 -1
  36. data/vendor/libgit2/src/merge.c +3 -3
  37. data/vendor/libgit2/src/openssl_stream.c +5 -2
  38. data/vendor/libgit2/src/pack-objects.c +1 -1
  39. data/vendor/libgit2/src/pack.c +2 -2
  40. data/vendor/libgit2/src/path.c +25 -4
  41. data/vendor/libgit2/src/path.h +6 -1
  42. data/vendor/libgit2/src/push.h +3 -1
  43. data/vendor/libgit2/src/rebase.c +2 -2
  44. data/vendor/libgit2/src/refdb_fs.c +7 -0
  45. data/vendor/libgit2/src/remote.c +18 -9
  46. data/vendor/libgit2/src/revwalk.c +1 -1
  47. data/vendor/libgit2/src/stash.c +1 -1
  48. data/vendor/libgit2/src/stransport_stream.c +1 -1
  49. data/vendor/libgit2/src/submodule.c +12 -1
  50. data/vendor/libgit2/src/sysdir.c +22 -8
  51. data/vendor/libgit2/src/thread-utils.c +2 -0
  52. data/vendor/libgit2/src/transports/git.c +2 -0
  53. data/vendor/libgit2/src/transports/http.c +2 -2
  54. data/vendor/libgit2/src/transports/smart_pkt.c +1 -1
  55. data/vendor/libgit2/src/transports/ssh.c +4 -2
  56. data/vendor/libgit2/src/transports/winhttp.c +1 -1
  57. data/vendor/libgit2/src/util.c +48 -0
  58. data/vendor/libgit2/src/util.h +13 -5
  59. data/vendor/libgit2/src/win32/posix_w32.c +2 -0
  60. data/vendor/libgit2/src/win32/{buffer.c → w32_buffer.c} +1 -2
  61. data/vendor/libgit2/src/win32/{buffer.h → w32_buffer.h} +0 -0
  62. data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c +343 -0
  63. data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h +93 -0
  64. data/vendor/libgit2/src/win32/w32_stack.c +192 -0
  65. data/vendor/libgit2/src/win32/w32_stack.h +138 -0
  66. data/vendor/libgit2/src/xdiff/xdiff.h +10 -6
  67. data/vendor/libgit2/src/xdiff/xdiffi.c +46 -4
  68. data/vendor/libgit2/src/xdiff/xdiffi.h +1 -0
  69. data/vendor/libgit2/src/xdiff/xemit.c +43 -6
  70. data/vendor/libgit2/src/xdiff/xemit.h +1 -1
  71. data/vendor/libgit2/src/xdiff/xhistogram.c +1 -1
  72. data/vendor/libgit2/src/xdiff/xmerge.c +2 -2
  73. data/vendor/libgit2/src/xdiff/xpatience.c +1 -1
  74. data/vendor/libgit2/src/xdiff/xprepare.c +10 -11
  75. data/vendor/libgit2/src/xdiff/xutils.c +13 -29
  76. data/vendor/libgit2/src/xdiff/xutils.h +1 -0
  77. metadata +84 -80
@@ -328,10 +328,10 @@ int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
328
328
  xdalgoenv_t xenv;
329
329
  diffdata_t dd1, dd2;
330
330
 
331
- if (xpp->flags & XDF_PATIENCE_DIFF)
331
+ if (XDF_DIFF_ALG(xpp->flags) == XDF_PATIENCE_DIFF)
332
332
  return xdl_do_patience_diff(mf1, mf2, xpp, xe);
333
333
 
334
- if (xpp->flags & XDF_HISTOGRAM_DIFF)
334
+ if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF)
335
335
  return xdl_do_histogram_diff(mf1, mf2, xpp, xe);
336
336
 
337
337
  if (xdl_prepare_env(mf1, mf2, xpp, xe) < 0) {
@@ -394,6 +394,7 @@ static xdchange_t *xdl_add_change(xdchange_t *xscr, long i1, long i2, long chg1,
394
394
  xch->i2 = i2;
395
395
  xch->chg1 = chg1;
396
396
  xch->chg2 = chg2;
397
+ xch->ignore = 0;
397
398
 
398
399
  return xch;
399
400
  }
@@ -538,13 +539,51 @@ void xdl_free_script(xdchange_t *xscr) {
538
539
  }
539
540
  }
540
541
 
542
+ static int xdl_call_hunk_func(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
543
+ xdemitconf_t const *xecfg)
544
+ {
545
+ xdchange_t *xch, *xche;
546
+
547
+ (void)xe;
548
+
549
+ for (xch = xscr; xch; xch = xche->next) {
550
+ xche = xdl_get_hunk(&xch, xecfg);
551
+ if (!xch)
552
+ break;
553
+ if (xecfg->hunk_func(xch->i1, xche->i1 + xche->chg1 - xch->i1,
554
+ xch->i2, xche->i2 + xche->chg2 - xch->i2,
555
+ ecb->priv) < 0)
556
+ return -1;
557
+ }
558
+ return 0;
559
+ }
560
+
561
+ static void xdl_mark_ignorable(xdchange_t *xscr, xdfenv_t *xe, long flags)
562
+ {
563
+ xdchange_t *xch;
564
+
565
+ for (xch = xscr; xch; xch = xch->next) {
566
+ int ignore = 1;
567
+ xrecord_t **rec;
568
+ long i;
569
+
570
+ rec = &xe->xdf1.recs[xch->i1];
571
+ for (i = 0; i < xch->chg1 && ignore; i++)
572
+ ignore = xdl_blankline(rec[i]->ptr, rec[i]->size, flags);
573
+
574
+ rec = &xe->xdf2.recs[xch->i2];
575
+ for (i = 0; i < xch->chg2 && ignore; i++)
576
+ ignore = xdl_blankline(rec[i]->ptr, rec[i]->size, flags);
577
+
578
+ xch->ignore = ignore;
579
+ }
580
+ }
541
581
 
542
582
  int xdl_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
543
583
  xdemitconf_t const *xecfg, xdemitcb_t *ecb) {
544
584
  xdchange_t *xscr;
545
585
  xdfenv_t xe;
546
- emit_func_t ef = xecfg->emit_func ?
547
- (emit_func_t)xecfg->emit_func : xdl_emit_diff;
586
+ emit_func_t ef = xecfg->hunk_func ? xdl_call_hunk_func : xdl_emit_diff;
548
587
 
549
588
  if (xdl_do_diff(mf1, mf2, xpp, &xe) < 0) {
550
589
 
@@ -558,6 +597,9 @@ int xdl_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
558
597
  return -1;
559
598
  }
560
599
  if (xscr) {
600
+ if (xpp->flags & XDF_IGNORE_BLANK_LINES)
601
+ xdl_mark_ignorable(xscr, &xe, xpp->flags);
602
+
561
603
  if (ef(&xe, xscr, ecb, xecfg) < 0) {
562
604
 
563
605
  xdl_free_script(xscr);
@@ -41,6 +41,7 @@ typedef struct s_xdchange {
41
41
  struct s_xdchange *next;
42
42
  long i1, i2;
43
43
  long chg1, chg2;
44
+ int ignore;
44
45
  } xdchange_t;
45
46
 
46
47
 
@@ -56,16 +56,51 @@ static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *
56
56
  /*
57
57
  * Starting at the passed change atom, find the latest change atom to be included
58
58
  * inside the differential hunk according to the specified configuration.
59
+ * Also advance xscr if the first changes must be discarded.
59
60
  */
60
- xdchange_t *xdl_get_hunk(xdchange_t *xscr, xdemitconf_t const *xecfg) {
61
- xdchange_t *xch, *xchp;
61
+ xdchange_t *xdl_get_hunk(xdchange_t **xscr, xdemitconf_t const *xecfg)
62
+ {
63
+ xdchange_t *xch, *xchp, *lxch;
62
64
  long max_common = 2 * xecfg->ctxlen + xecfg->interhunkctxlen;
65
+ long max_ignorable = xecfg->ctxlen;
66
+ unsigned long ignored = 0; /* number of ignored blank lines */
67
+
68
+ /* remove ignorable changes that are too far before other changes */
69
+ for (xchp = *xscr; xchp && xchp->ignore; xchp = xchp->next) {
70
+ xch = xchp->next;
71
+
72
+ if (xch == NULL ||
73
+ xch->i1 - (xchp->i1 + xchp->chg1) >= max_ignorable)
74
+ *xscr = xch;
75
+ }
76
+
77
+ if (*xscr == NULL)
78
+ return NULL;
79
+
80
+ lxch = *xscr;
63
81
 
64
- for (xchp = xscr, xch = xscr->next; xch; xchp = xch, xch = xch->next)
65
- if (xch->i1 - (xchp->i1 + xchp->chg1) > max_common)
82
+ for (xchp = *xscr, xch = xchp->next; xch; xchp = xch, xch = xch->next) {
83
+ long distance = xch->i1 - (xchp->i1 + xchp->chg1);
84
+ if (distance > max_common)
66
85
  break;
67
86
 
68
- return xchp;
87
+ if (distance < max_ignorable && (!xch->ignore || lxch == xchp)) {
88
+ lxch = xch;
89
+ ignored = 0;
90
+ } else if (distance < max_ignorable && xch->ignore) {
91
+ ignored += xch->chg2;
92
+ } else if (lxch != xchp &&
93
+ xch->i1 + ignored - (lxch->i1 + lxch->chg1) > (unsigned long)max_common) {
94
+ break;
95
+ } else if (!xch->ignore) {
96
+ lxch = xch;
97
+ ignored = 0;
98
+ } else {
99
+ ignored += xch->chg2;
100
+ }
101
+ }
102
+
103
+ return lxch;
69
104
  }
70
105
 
71
106
 
@@ -144,7 +179,9 @@ int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
144
179
  return xdl_emit_common(xe, xscr, ecb, xecfg);
145
180
 
146
181
  for (xch = xscr; xch; xch = xche->next) {
147
- xche = xdl_get_hunk(xch, xecfg);
182
+ xche = xdl_get_hunk(&xch, xecfg);
183
+ if (!xch)
184
+ break;
148
185
 
149
186
  s1 = XDL_MAX(xch->i1 - xecfg->ctxlen, 0);
150
187
  s2 = XDL_MAX(xch->i2 - xecfg->ctxlen, 0);
@@ -27,7 +27,7 @@
27
27
  typedef int (*emit_func_t)(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
28
28
  xdemitconf_t const *xecfg);
29
29
 
30
- xdchange_t *xdl_get_hunk(xdchange_t *xscr, xdemitconf_t const *xecfg);
30
+ xdchange_t *xdl_get_hunk(xdchange_t **xscr, xdemitconf_t const *xecfg);
31
31
  int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
32
32
  xdemitconf_t const *xecfg);
33
33
 
@@ -258,7 +258,7 @@ static int fall_back_to_classic_diff(struct histindex *index,
258
258
  int line1, int count1, int line2, int count2)
259
259
  {
260
260
  xpparam_t xpp;
261
- xpp.flags = index->xpp->flags & ~XDF_HISTOGRAM_DIFF;
261
+ xpp.flags = index->xpp->flags & ~XDF_DIFF_ALGORITHM_MASK;
262
262
 
263
263
  return xdl_fall_back_diff(index->env, &xpp,
264
264
  line1, count1, line2, count2);
@@ -245,11 +245,11 @@ static int xdl_fill_merge_buffer(xdfenv_t *xe1, const char *name1,
245
245
  dest ? dest + size : NULL);
246
246
  /* Postimage from side #1 */
247
247
  if (m->mode & 1)
248
- size += xdl_recs_copy(xe1, m->i1, m->chg1, 1,
248
+ size += xdl_recs_copy(xe1, m->i1, m->chg1, (m->mode & 2),
249
249
  dest ? dest + size : NULL);
250
250
  /* Postimage from side #2 */
251
251
  if (m->mode & 2)
252
- size += xdl_recs_copy(xe2, m->i2, m->chg2, 1,
252
+ size += xdl_recs_copy(xe2, m->i2, m->chg2, 0,
253
253
  dest ? dest + size : NULL);
254
254
  } else
255
255
  continue;
@@ -288,7 +288,7 @@ static int fall_back_to_classic_diff(struct hashmap *map,
288
288
  int line1, int count1, int line2, int count2)
289
289
  {
290
290
  xpparam_t xpp;
291
- xpp.flags = map->xpp->flags & ~XDF_PATIENCE_DIFF;
291
+ xpp.flags = map->xpp->flags & ~XDF_DIFF_ALGORITHM_MASK;
292
292
 
293
293
  return xdl_fall_back_diff(map->env, &xpp,
294
294
  line1, count1, line2, count2);
@@ -181,7 +181,7 @@ static int xdl_prepare_ctx(unsigned int pass, mmfile_t *mf, long narec, xpparam_
181
181
  if (!(recs = (xrecord_t **) xdl_malloc(narec * sizeof(xrecord_t *))))
182
182
  goto abort;
183
183
 
184
- if (xpp->flags & XDF_HISTOGRAM_DIFF)
184
+ if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF)
185
185
  hbits = hsize = 0;
186
186
  else {
187
187
  hbits = xdl_hashbits((unsigned int) narec);
@@ -209,8 +209,8 @@ static int xdl_prepare_ctx(unsigned int pass, mmfile_t *mf, long narec, xpparam_
209
209
  crec->ha = hav;
210
210
  recs[nrec++] = crec;
211
211
 
212
- if (!(xpp->flags & XDF_HISTOGRAM_DIFF) &&
213
- xdl_classify_record(pass, cf, rhash, hbits, crec) < 0)
212
+ if ((XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) &&
213
+ xdl_classify_record(pass, cf, rhash, hbits, crec) < 0)
214
214
  goto abort;
215
215
  }
216
216
  }
@@ -273,16 +273,15 @@ int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
273
273
  * (nrecs) will be updated correctly anyway by
274
274
  * xdl_prepare_ctx().
275
275
  */
276
- sample = xpp->flags & XDF_HISTOGRAM_DIFF ? XDL_GUESS_NLINES2 : XDL_GUESS_NLINES1;
276
+ sample = (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF
277
+ ? XDL_GUESS_NLINES2 : XDL_GUESS_NLINES1);
277
278
 
278
279
  enl1 = xdl_guess_lines(mf1, sample) + 1;
279
280
  enl2 = xdl_guess_lines(mf2, sample) + 1;
280
281
 
281
- if (!(xpp->flags & XDF_HISTOGRAM_DIFF) &&
282
- xdl_init_classifier(&cf, enl1 + enl2 + 1, xpp->flags) < 0) {
283
-
282
+ if (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF &&
283
+ xdl_init_classifier(&cf, enl1 + enl2 + 1, xpp->flags) < 0)
284
284
  return -1;
285
- }
286
285
 
287
286
  if (xdl_prepare_ctx(1, mf1, enl1, xpp, &cf, &xe->xdf1) < 0) {
288
287
 
@@ -296,9 +295,9 @@ int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
296
295
  return -1;
297
296
  }
298
297
 
299
- if (!(xpp->flags & XDF_PATIENCE_DIFF) &&
300
- !(xpp->flags & XDF_HISTOGRAM_DIFF) &&
301
- xdl_optimize_ctxs(&cf, &xe->xdf1, &xe->xdf2) < 0) {
298
+ if ((XDF_DIFF_ALG(xpp->flags) != XDF_PATIENCE_DIFF) &&
299
+ (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) &&
300
+ xdl_optimize_ctxs(&cf, &xe->xdf1, &xe->xdf2) < 0) {
302
301
 
303
302
  xdl_free_ctx(&xe->xdf2);
304
303
  xdl_free_ctx(&xe->xdf1);
@@ -120,35 +120,6 @@ void *xdl_cha_alloc(chastore_t *cha) {
120
120
  return data;
121
121
  }
122
122
 
123
-
124
- void *xdl_cha_first(chastore_t *cha) {
125
- chanode_t *sncur;
126
-
127
- if (!(cha->sncur = sncur = cha->head))
128
- return NULL;
129
-
130
- cha->scurr = 0;
131
-
132
- return (char *) sncur + sizeof(chanode_t) + cha->scurr;
133
- }
134
-
135
-
136
- void *xdl_cha_next(chastore_t *cha) {
137
- chanode_t *sncur;
138
-
139
- if (!(sncur = cha->sncur))
140
- return NULL;
141
- cha->scurr += cha->isize;
142
- if (cha->scurr == sncur->icurr) {
143
- if (!(sncur = cha->sncur = sncur->next))
144
- return NULL;
145
- cha->scurr = 0;
146
- }
147
-
148
- return (char *) sncur + sizeof(chanode_t) + cha->scurr;
149
- }
150
-
151
-
152
123
  long xdl_guess_lines(mmfile_t *mf, long sample) {
153
124
  long nl = 0, size, tsize = 0;
154
125
  char const *data, *cur, *top;
@@ -170,6 +141,19 @@ long xdl_guess_lines(mmfile_t *mf, long sample) {
170
141
  return nl + 1;
171
142
  }
172
143
 
144
+ int xdl_blankline(const char *line, long size, long flags)
145
+ {
146
+ long i;
147
+
148
+ if (!(flags & XDF_WHITESPACE_FLAGS))
149
+ return (size <= 1);
150
+
151
+ for (i = 0; i < size && XDL_ISSPACE(line[i]); i++)
152
+ ;
153
+
154
+ return (i == size);
155
+ }
156
+
173
157
  int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags)
174
158
  {
175
159
  int i1, i2;
@@ -34,6 +34,7 @@ void *xdl_cha_alloc(chastore_t *cha);
34
34
  void *xdl_cha_first(chastore_t *cha);
35
35
  void *xdl_cha_next(chastore_t *cha);
36
36
  long xdl_guess_lines(mmfile_t *mf, long sample);
37
+ int xdl_blankline(const char *line, long size, long flags);
37
38
  int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags);
38
39
  unsigned long xdl_hash_record(char const **data, char const *top, long flags);
39
40
  unsigned int xdl_hashbits(unsigned int size);
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.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
@@ -9,50 +9,50 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-25 00:00:00.000000000 Z
12
+ date: 2015-08-11 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
- version: 3.0.0
48
+ version: '3.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
- version: 3.0.0
55
+ version: '3.0'
56
56
  description: |
57
57
  Rugged is a Ruby bindings to the libgit2 linkable C Git library. This is
58
58
  for testing and using the libgit2 library in a language that is awesome.
@@ -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
- - ext/rugged/extconf.rb
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
@@ -96,72 +117,12 @@ files:
96
117
  - ext/rugged/rugged_tag.c
97
118
  - ext/rugged/rugged_tag_collection.c
98
119
  - ext/rugged/rugged_tree.c
99
- - lib/rugged.rb
100
- - lib/rugged/attributes.rb
101
- - lib/rugged/blob.rb
102
- - lib/rugged/branch.rb
103
- - lib/rugged/commit.rb
104
- - lib/rugged/console.rb
105
- - lib/rugged/credentials.rb
106
- - lib/rugged/diff.rb
107
- - lib/rugged/diff/delta.rb
108
- - lib/rugged/diff/hunk.rb
109
- - lib/rugged/diff/line.rb
110
- - lib/rugged/index.rb
111
- - lib/rugged/object.rb
112
- - lib/rugged/patch.rb
113
- - lib/rugged/reference.rb
114
- - lib/rugged/remote.rb
115
- - lib/rugged/repository.rb
116
- - lib/rugged/submodule_collection.rb
117
- - lib/rugged/tag.rb
118
- - lib/rugged/tree.rb
119
- - lib/rugged/version.rb
120
- - lib/rugged/walker.rb
121
- - vendor/libgit2/AUTHORS
122
- - vendor/libgit2/CMakeLists.txt
123
- - vendor/libgit2/COPYING
124
- - vendor/libgit2/Makefile.embed
125
120
  - vendor/libgit2/cmake/Modules/AddCFlagIfSupported.cmake
126
121
  - vendor/libgit2/cmake/Modules/FindCoreFoundation.cmake
127
122
  - vendor/libgit2/cmake/Modules/FindGSSAPI.cmake
128
123
  - vendor/libgit2/cmake/Modules/FindHTTP_Parser.cmake
129
124
  - vendor/libgit2/cmake/Modules/FindIconv.cmake
130
125
  - 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
126
  - vendor/libgit2/include/git2/annotated_commit.h
166
127
  - vendor/libgit2/include/git2/attr.h
167
128
  - vendor/libgit2/include/git2/blame.h
@@ -236,7 +197,7 @@ files:
236
197
  - vendor/libgit2/include/git2/tree.h
237
198
  - vendor/libgit2/include/git2/types.h
238
199
  - vendor/libgit2/include/git2/version.h
239
- - vendor/libgit2/libgit2.pc.in
200
+ - vendor/libgit2/include/git2.h
240
201
  - vendor/libgit2/src/annotated_commit.c
241
202
  - vendor/libgit2/src/annotated_commit.h
242
203
  - vendor/libgit2/src/array.h
@@ -315,14 +276,14 @@ files:
315
276
  - vendor/libgit2/src/global.c
316
277
  - vendor/libgit2/src/global.h
317
278
  - vendor/libgit2/src/graph.c
318
- - vendor/libgit2/src/hash.c
319
- - vendor/libgit2/src/hash.h
320
279
  - vendor/libgit2/src/hash/hash_common_crypto.h
321
280
  - vendor/libgit2/src/hash/hash_generic.c
322
281
  - vendor/libgit2/src/hash/hash_generic.h
323
282
  - vendor/libgit2/src/hash/hash_openssl.h
324
283
  - vendor/libgit2/src/hash/hash_win32.c
325
284
  - vendor/libgit2/src/hash/hash_win32.h
285
+ - vendor/libgit2/src/hash.c
286
+ - vendor/libgit2/src/hash.h
326
287
  - vendor/libgit2/src/hashsig.c
327
288
  - vendor/libgit2/src/ident.c
328
289
  - vendor/libgit2/src/ignore.c
@@ -461,8 +422,6 @@ files:
461
422
  - vendor/libgit2/src/util.h
462
423
  - vendor/libgit2/src/vector.c
463
424
  - vendor/libgit2/src/vector.h
464
- - vendor/libgit2/src/win32/buffer.c
465
- - vendor/libgit2/src/win32/buffer.h
466
425
  - vendor/libgit2/src/win32/dir.c
467
426
  - vendor/libgit2/src/win32/dir.h
468
427
  - vendor/libgit2/src/win32/error.c
@@ -485,6 +444,12 @@ files:
485
444
  - vendor/libgit2/src/win32/utf-conv.c
486
445
  - vendor/libgit2/src/win32/utf-conv.h
487
446
  - vendor/libgit2/src/win32/version.h
447
+ - vendor/libgit2/src/win32/w32_buffer.c
448
+ - vendor/libgit2/src/win32/w32_buffer.h
449
+ - vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c
450
+ - vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h
451
+ - vendor/libgit2/src/win32/w32_stack.c
452
+ - vendor/libgit2/src/win32/w32_stack.h
488
453
  - vendor/libgit2/src/win32/w32_util.c
489
454
  - vendor/libgit2/src/win32/w32_util.h
490
455
  - vendor/libgit2/src/xdiff/xdiff.h
@@ -504,6 +469,45 @@ files:
504
469
  - vendor/libgit2/src/xdiff/xutils.h
505
470
  - vendor/libgit2/src/zstream.c
506
471
  - vendor/libgit2/src/zstream.h
472
+ - vendor/libgit2/deps/http-parser/http_parser.c
473
+ - vendor/libgit2/deps/http-parser/http_parser.h
474
+ - vendor/libgit2/deps/http-parser/LICENSE-MIT
475
+ - vendor/libgit2/deps/regex/config.h
476
+ - vendor/libgit2/deps/regex/regcomp.c
477
+ - vendor/libgit2/deps/regex/regex.c
478
+ - vendor/libgit2/deps/regex/regex.h
479
+ - vendor/libgit2/deps/regex/regex_internal.c
480
+ - vendor/libgit2/deps/regex/regex_internal.h
481
+ - vendor/libgit2/deps/regex/regexec.c
482
+ - vendor/libgit2/deps/winhttp/urlmon.h
483
+ - vendor/libgit2/deps/winhttp/winhttp.def
484
+ - vendor/libgit2/deps/winhttp/winhttp.h
485
+ - vendor/libgit2/deps/winhttp/winhttp64.def
486
+ - vendor/libgit2/deps/zlib/adler32.c
487
+ - vendor/libgit2/deps/zlib/crc32.c
488
+ - vendor/libgit2/deps/zlib/crc32.h
489
+ - vendor/libgit2/deps/zlib/deflate.c
490
+ - vendor/libgit2/deps/zlib/deflate.h
491
+ - vendor/libgit2/deps/zlib/infback.c
492
+ - vendor/libgit2/deps/zlib/inffast.c
493
+ - vendor/libgit2/deps/zlib/inffast.h
494
+ - vendor/libgit2/deps/zlib/inffixed.h
495
+ - vendor/libgit2/deps/zlib/inflate.c
496
+ - vendor/libgit2/deps/zlib/inflate.h
497
+ - vendor/libgit2/deps/zlib/inftrees.c
498
+ - vendor/libgit2/deps/zlib/inftrees.h
499
+ - vendor/libgit2/deps/zlib/trees.c
500
+ - vendor/libgit2/deps/zlib/trees.h
501
+ - vendor/libgit2/deps/zlib/zconf.h
502
+ - vendor/libgit2/deps/zlib/zlib.h
503
+ - vendor/libgit2/deps/zlib/zutil.c
504
+ - vendor/libgit2/deps/zlib/zutil.h
505
+ - vendor/libgit2/CMakeLists.txt
506
+ - vendor/libgit2/Makefile.embed
507
+ - vendor/libgit2/AUTHORS
508
+ - vendor/libgit2/COPYING
509
+ - vendor/libgit2/libgit2.pc.in
510
+ - ext/rugged/extconf.rb
507
511
  homepage: https://github.com/libgit2/rugged
508
512
  licenses:
509
513
  - MIT
@@ -514,17 +518,17 @@ require_paths:
514
518
  - lib
515
519
  required_ruby_version: !ruby/object:Gem::Requirement
516
520
  requirements:
517
- - - ">="
521
+ - - '>='
518
522
  - !ruby/object:Gem::Version
519
523
  version: 1.9.3
520
524
  required_rubygems_version: !ruby/object:Gem::Requirement
521
525
  requirements:
522
- - - ">="
526
+ - - '>='
523
527
  - !ruby/object:Gem::Version
524
528
  version: '0'
525
529
  requirements: []
526
530
  rubyforge_project:
527
- rubygems_version: 2.2.2
531
+ rubygems_version: 2.0.14
528
532
  signing_key:
529
533
  specification_version: 4
530
534
  summary: Rugged is a Ruby binding to the libgit2 linkable library