swa 0.8.1 → 0.8.2

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: dc012c238e6f8addd7891b70044fa5958d8ce541b0a8f835a5dc565199532c9f
4
- data.tar.gz: 89190ad304d311425e0daa21509b3821e057ca2b411f9599740f152ec0fbd079
3
+ metadata.gz: 5395b32bb927c4ec8f2ce5d25a63ee6b63050e84a8e0d45495a93bb7c44255c2
4
+ data.tar.gz: ac4ca651c8331b4504e8631f50ed04422fed4d0bf64d463493ee1ae2cdf0fefa
5
5
  SHA512:
6
- metadata.gz: 489ad35514b0bbfbdb6b82693c351610fced3582cb5f2b93c559298d3bac19abf73d7ae3240ee50daf26dd9e432a8671d37bed10828218aeaa399c339554f879
7
- data.tar.gz: a4334e5402813b7cbe3baa7bbfccb88d2f4588578b6ec1f316282a6eb62d2d4d732692a3cdddb8d9066df73656bf563c0d893d1b536bd121309a51532f00bcfc
6
+ metadata.gz: 1c7236e0302c1877965f1343676d51ac383e0f78fd7221521782c5a2569fc0b6aa1e005d10028189652b1173b748adbb0f6c9f3ea50568bb79b3380d345b8593
7
+ data.tar.gz: 38219530e62eaa9aae49150dd249265565d738d0981ae6ed1f39f52f4573fdec9011185fb55ec3639069f9a4445ad4c2fb6c2d84d581d12d0c883ae9f56ceb21
@@ -106,6 +106,18 @@ module Swa
106
106
 
107
107
  end
108
108
 
109
+ subcommand ["versions"], "Show versions" do
110
+
111
+ include CollectionBehaviour
112
+
113
+ protected
114
+
115
+ def collection
116
+ bucket.object_versions(:prefix => object_key)
117
+ end
118
+
119
+ end
120
+
109
121
  protected
110
122
 
111
123
  def object
data/lib/swa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Swa
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler