tarsnap_pruner 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d3f5182330f65d131f09aca83bbd3e7cb6629843
4
+ data.tar.gz: a5f8f9e2758f93b48dd3d7dae45248e1455d7500
5
+ SHA512:
6
+ metadata.gz: 1625accd0cfc12222f87f00aa9094598350721ef8933ae5fde0b083ea95fdaf7685f08b562f535ce699efd245dded8ae26ab2fcaf42901bd225b74390db5f7db
7
+ data.tar.gz: 4812057b94c53417b2f1f5cf7bdad4feb65cbc6eeb26e3a92acb84493a29d7299fa7d6ee88d70971360b95bbd8580d6eea6e346191f01c2b7cc386b2f22618ec
@@ -2,7 +2,7 @@ module TarsnapPruner
2
2
 
3
3
  class Scheduler
4
4
 
5
- def initialize(archives, daily_boundary=182, weekly_boundary=730)
5
+ def initialize(archives, daily_boundary=90, weekly_boundary=365)
6
6
  @archives = archives.sort_by(&:date)
7
7
  @daily_boundary = daily_boundary
8
8
  @weekly_boundary = weekly_boundary
@@ -1,3 +1,3 @@
1
1
  module TarsnapPruner
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarsnap_pruner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Scott Woods
9
8
  autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: dotenv
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.10'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.10'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '10.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '10.0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: timecop
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: The Tarsnap backup service charges based on storage and bandwith. This
@@ -101,10 +90,10 @@ executables:
101
90
  extensions: []
102
91
  extra_rdoc_files: []
103
92
  files:
104
- - .dotenv.rspec
105
- - .gitignore
106
- - .rspec
107
- - .travis.yml
93
+ - ".dotenv.rspec"
94
+ - ".gitignore"
95
+ - ".rspec"
96
+ - ".travis.yml"
108
97
  - CODE_OF_CONDUCT.md
109
98
  - Gemfile
110
99
  - LICENSE.txt
@@ -124,26 +113,25 @@ files:
124
113
  homepage: https://github.com/westarete/tarsnap_pruner
125
114
  licenses:
126
115
  - MIT
116
+ metadata: {}
127
117
  post_install_message:
128
118
  rdoc_options: []
129
119
  require_paths:
130
120
  - lib
131
121
  required_ruby_version: !ruby/object:Gem::Requirement
132
- none: false
133
122
  requirements:
134
- - - ! '>='
123
+ - - ">="
135
124
  - !ruby/object:Gem::Version
136
125
  version: '0'
137
126
  required_rubygems_version: !ruby/object:Gem::Requirement
138
- none: false
139
127
  requirements:
140
- - - ! '>='
128
+ - - ">="
141
129
  - !ruby/object:Gem::Version
142
130
  version: '0'
143
131
  requirements: []
144
132
  rubyforge_project:
145
- rubygems_version: 1.8.23
133
+ rubygems_version: 2.4.5.1
146
134
  signing_key:
147
- specification_version: 3
135
+ specification_version: 4
148
136
  summary: A method of deleting old tarsnap backups.
149
137
  test_files: []