gollum-rugged_adapter 0.99.6 → 1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b52a878c106ae3c5aee6eb2871ddf060117c6eaaff0a33a101b29704be75e9b9
4
- data.tar.gz: f652fe0afa40f2e2bd93f823d813afe5d4dc218b5f52754c09d3899d715966bd
3
+ metadata.gz: 41048f9ef000824ddc69c6ea7d19180a084196555a23f3b8b7b27f478b202a75
4
+ data.tar.gz: 9e138f803bf6e0fded927550774883bee65f7a5ca2c509ed8b6b84b2c8209add
5
5
  SHA512:
6
- metadata.gz: 43e6d20d1c1959208331dd36643e6f2384b72e530fdfc09d13bdffee5ef69734924bd12244f04b2588fc66ab80f33b8aaebe87a039b3001a2e93c6dca3d35d9c
7
- data.tar.gz: 43cb1739e0b909fae184a5857dd7971d0582e9b3a883df7b6fbf49d00edcbca0bc458399f73e94a8984767ea6651abfbaa2e18460a505b33675e979487f73503
6
+ metadata.gz: 37b12c6de2893ca81c7e16c4c6046b08a85fcc9fcd5d54cb788b6caf391807218f502d0f39f2e3dacf1fe40818ce6b0a3d0ce80e4225b287dc7e22efa3f92c30
7
+ data.tar.gz: 545c73d272a832edfdba8fbe95c6f29763add83212a3ed37b2ca0e04796d32c362158bcea30b9c576876a61b6ef44b1135cf9bd7e255d12740c8e34ac5853236
@@ -19,15 +19,16 @@ module Gollum
19
19
 
20
20
  class Actor
21
21
 
22
- attr_accessor :name, :email
22
+ attr_accessor :name, :email, :time
23
23
 
24
24
  def self.default_actor
25
25
  self.new("Gollum", "Gollum@wiki")
26
26
  end
27
27
 
28
- def initialize(name, email)
28
+ def initialize(name, email, time = nil)
29
29
  @name = name
30
30
  @email = email
31
+ @time = time
31
32
  end
32
33
 
33
34
  def output(time)
@@ -42,7 +43,7 @@ module Gollum
42
43
  end
43
44
 
44
45
  def to_h
45
- {:name => @name, :email => @email}
46
+ {:name => @name, :email => @email, :time => @time}
46
47
  end
47
48
 
48
49
  end
@@ -367,7 +368,7 @@ module Gollum
367
368
  # This is a commit we care about, unless we haven't skipped enough
368
369
  # yet
369
370
  skipped += 1
370
-
371
+
371
372
  commits.push(Gollum::Git::Commit.new(c, track_pathnames ? renamed_path : nil)) if skipped > offset
372
373
  renamed_path = current_path.nil? ? nil : current_path.dup
373
374
  end
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
2
  module Lib
3
3
  module Git
4
- VERSION = '0.99.6'
4
+ VERSION = '1.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-rugged_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.6
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Kamphorst, Dawa Ometto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-15 00:00:00.000000000 Z
11
+ date: 2020-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged