bibliotech 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: 0569649a33c1d1e8beefd3356bdad02c255a6651
4
- data.tar.gz: e5886669625ea859ac9517e71252839f22417874
3
+ metadata.gz: b9552ff1e32b9c14d8cbde2fe7281c62f52c195d
4
+ data.tar.gz: 4609e1b88f0e2e79e27b2a0464d46e3b23b8ecf8
5
5
  SHA512:
6
- metadata.gz: c0e52b37f2d456599bbef875e785b5b01d0a1fba566bbae1dad901da125bc723f44a049bab18d813ded874d609b34d77328ec4a1384c2dd142ad16c3381a4c7f
7
- data.tar.gz: 6c8cb30fa712665d5b86a14bccf062e7aab7af22fa5b17eee59ad96b38e4dbeedcce2968a534f5ade5cd1669d13360a579bb70ddeae5bdd326b339b6e505e637
6
+ metadata.gz: 0d056aff58cc52edb9c3bf9384cba9d97b2070d2279ce18af055d340b58c6686e464181ad9784cf00fee5ad00e21fcb42eb027935cf861d160f6635d66aa6cb7
7
+ data.tar.gz: 9dda9ab623eb889499d02ae8b49ceb5d876ad13ba0d98391d86ecab47fd6439d4d763a7c93042118a60ed991c46145f0fa0a6b428b482281184f3c469bcc54e5
@@ -51,7 +51,7 @@ module BiblioTech
51
51
  end
52
52
 
53
53
  def filename_for(time)
54
- PruneList.filename_for(time)
54
+ PruneList.filename_for(config.backup_name, time)
55
55
  end
56
56
 
57
57
  def pruneable
@@ -22,6 +22,10 @@ module BiblioTech
22
22
  }})
23
23
  end
24
24
 
25
+ it "should generate a filename for current time" do
26
+ expect(pruner.filename_for(Time.now.utc)).to match(/testing/)
27
+ end
28
+
25
29
  context "without existing files" do
26
30
  it "should return true from #backup_needed?" do
27
31
  expect(pruner.backup_needed?(Time.now.utc)).to be_truthy
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliotech
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Dorn
@@ -128,7 +128,7 @@ rdoc_options:
128
128
  - --main
129
129
  - doc/README
130
130
  - --title
131
- - bibliotech-0.2.4 Documentation
131
+ - bibliotech-0.2.5 Documentation
132
132
  require_paths:
133
133
  - lib/
134
134
  required_ruby_version: !ruby/object:Gem::Requirement