git 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of git might be problematic. Click here for more details.

@@ -18,6 +18,7 @@ module Git
18
18
  @skip = nil
19
19
  @until = nil
20
20
  @between = nil
21
+ @cherry = nil
21
22
  end
22
23
 
23
24
  def object(objectish)
@@ -67,6 +68,12 @@ module Git
67
68
  @between = [sha1, sha2]
68
69
  return self
69
70
  end
71
+
72
+ def cherry
73
+ dirty_log
74
+ @cherry = true
75
+ return self
76
+ end
70
77
 
71
78
  def to_s
72
79
  self.map { |c| c.to_s }.join("\n")
@@ -119,7 +126,7 @@ module Git
119
126
  log = @base.lib.full_log_commits(:count => @count, :object => @object,
120
127
  :path_limiter => @path, :since => @since,
121
128
  :author => @author, :grep => @grep, :skip => @skip,
122
- :until => @until, :between => @between)
129
+ :until => @until, :between => @between, :cherry => @cherry)
123
130
  @commits = log.map { |c| Git::Object::Commit.new(@base, c['sha'], c) }
124
131
  end
125
132
 
@@ -104,7 +104,7 @@ module Git
104
104
  end
105
105
 
106
106
  def pretty_file(file)
107
- <<-FILE.strip_heredoc
107
+ <<~FILE
108
108
  #{file.path}
109
109
  \tsha(r) #{file.sha_repo} #{file.mode_repo}
110
110
  \tsha(i) #{file.sha_index} #{file.mode_index}
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  # The current gem version
3
3
  # @return [String] the current gem version.
4
- VERSION='1.7.0'
4
+ VERSION='1.8.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon and others
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rchardet
@@ -25,59 +25,99 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.8'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: minitar
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.9'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.9'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rdoc
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: test-unit
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: redcarpet
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
60
81
  - !ruby/object:Gem::Version
61
- version: '2'
62
- - - "<"
82
+ version: '3.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: yard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
63
88
  - !ruby/object:Gem::Version
64
- version: '4'
89
+ version: '0.9'
65
90
  type: :development
66
91
  prerelease: false
67
92
  version_requirements: !ruby/object:Gem::Requirement
68
93
  requirements:
69
- - - ">="
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.9'
97
+ - !ruby/object:Gem::Dependency
98
+ name: yardstick
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
70
102
  - !ruby/object:Gem::Version
71
- version: '2'
72
- - - "<"
103
+ version: '0.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
73
109
  - !ruby/object:Gem::Version
74
- version: '4'
75
- description:
110
+ version: '0.9'
111
+ description: |
112
+ The Git Gem provides an API that can be used to create, read, and manipulate
113
+ Git repositories by wrapping system calls to the `git` binary. The API can be
114
+ used for working with Git in complex interactions including branching and
115
+ merging, object inspection and manipulation, history, patch generation and
116
+ more.
76
117
  email: schacon@gmail.com
77
118
  executables: []
78
119
  extensions: []
79
- extra_rdoc_files:
80
- - README.md
120
+ extra_rdoc_files: []
81
121
  files:
82
122
  - CHANGELOG.md
83
123
  - CONTRIBUTING.md
@@ -107,17 +147,19 @@ files:
107
147
  homepage: http://github.com/ruby-git/ruby-git
108
148
  licenses:
109
149
  - MIT
110
- metadata: {}
111
- post_install_message:
112
- rdoc_options:
113
- - "--charset=UTF-8"
150
+ metadata:
151
+ homepage_uri: http://github.com/ruby-git/ruby-git
152
+ source_code_uri: http://github.com/ruby-git/ruby-git
153
+ changelog_uri: http://rubydoc.info/gems/git/file.CHANGELOG.html
154
+ post_install_message:
155
+ rdoc_options: []
114
156
  require_paths:
115
157
  - lib
116
158
  required_ruby_version: !ruby/object:Gem::Requirement
117
159
  requirements:
118
160
  - - ">="
119
161
  - !ruby/object:Gem::Version
120
- version: '1.9'
162
+ version: '2.3'
121
163
  required_rubygems_version: !ruby/object:Gem::Requirement
122
164
  requirements:
123
165
  - - ">="
@@ -125,9 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
167
  version: '0'
126
168
  requirements:
127
169
  - git 1.6.0.0, or greater
128
- rubygems_version: 3.1.2
129
- signing_key:
170
+ rubygems_version: 3.1.4
171
+ signing_key:
130
172
  specification_version: 4
131
- summary: Ruby/Git is a Ruby library that can be used to create, read and manipulate
132
- Git repositories by wrapping system calls to the git binary.
173
+ summary: An API to create, read, and manipulate Git repositories
133
174
  test_files: []