compact_index 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1dff2d41c3d78849c96c088dacb0a5239bd9f13c9529cbdad5bb851c5e6595ba
4
- data.tar.gz: daf89c33d1b78bc7c53d313f206855567fa82ed106cde6a6dd86c84d12291945
3
+ metadata.gz: 53388525df0047c065e1c9197e9021550c69e988629f624e53dc17b6128af505
4
+ data.tar.gz: 72e4f7887f5e43cf485f43f0e4d0d3c1789805707166afed428de0b9b63fde8a
5
5
  SHA512:
6
- metadata.gz: 7c22448a57539dae4f9fc99195aa0207ac801464803d02fbe765fb9480f170462cde8c4b8dd4beaba37ce909dfedfd9d5bb109080ad9fcee3d49ab11fdeb97b2
7
- data.tar.gz: 7d18839880faf6e772733afed6e132b732b3c83007ae6ba3fdda9fe6fa6565c2368aebe1a22be16d01c21b8ea40d4c8369122e92e9c9ee0c5b0e52d7c40a80c3
6
+ metadata.gz: 48d42cebf94bc355e676dedb986beb08c4d512d50295d00a3337ad95f3f3e9f24001311b46ebfc17a1e9043f1af1e9ad6feefd5a846d92086af9bde3d4686432
7
+ data.tar.gz: ffb5581d24c9089a0f06e7497369ed9b5064c7c826a99fcb0536f1d1026ccac83f6818a75774af5c4bb0e06dde7caa576bc4a3ed24f23856a693189f7fda39bb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+
2
+ ## 0.14.0 (May 25, 2020)
3
+
4
+ Enhancement:
5
+
6
+ - Add timestamp arg to version file create function
7
+
1
8
  ## 0.13.0 (May 25, 2020)
2
9
 
3
10
  Bugfix:
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  group :documentation do
9
- gem "redcarpet", "~> 2.3"
9
+ gem "redcarpet", "~> 3.5"
10
10
  gem "yard", "~> 0.9"
11
11
  end
12
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- compact_index (0.13.0)
4
+ compact_index (0.14.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -15,7 +15,7 @@ GEM
15
15
  rainbow (2.2.2)
16
16
  rake
17
17
  rake (13.0.1)
18
- redcarpet (2.3.0)
18
+ redcarpet (3.5.1)
19
19
  rspec (3.9.0)
20
20
  rspec-core (~> 3.9.0)
21
21
  rspec-expectations (~> 3.9.0)
@@ -46,7 +46,7 @@ PLATFORMS
46
46
  DEPENDENCIES
47
47
  compact_index!
48
48
  rake (~> 13.0)
49
- redcarpet (~> 2.3)
49
+ redcarpet (~> 3.5)
50
50
  rspec (~> 3)
51
51
  rubocop (~> 0.49.0)
52
52
  yard (~> 0.9)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompactIndex
4
- VERSION = "0.13.0".freeze
4
+ VERSION = "0.14.0".freeze
5
5
  end
@@ -24,11 +24,11 @@ module CompactIndex
24
24
  created_at_header(@path) || Time.at(0).to_datetime
25
25
  end
26
26
 
27
- def create(gems)
27
+ def create(gems, ts = Time.now.iso8601)
28
28
  gems.sort!
29
29
 
30
30
  File.open(@path, "w") do |io|
31
- io.write "created_at: #{Time.now.iso8601}\n---\n"
31
+ io.write "created_at: #{ts}\n---\n"
32
32
  io.write gem_lines(gems)
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compact_index
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felipe Tanus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2021-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.0.1
98
+ rubygems_version: 3.2.3
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Backend for compact index