teak_util 0.1.2 → 0.1.3

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: 92731ed522f798d250b3b9b317c92ba9f17eb3dba21574235fefe7d1938de729
4
- data.tar.gz: cad15ef3aa288b56a26574741d6bd22b2fe1377fcd3846656f7d9255ac5ba1d7
3
+ metadata.gz: 3e584658dc728de14032e9a66300a243cf9575faaf939da8a52ad8e4fb5fc557
4
+ data.tar.gz: ddd8a0b2fa4ed323c86240257c082a28315f534c92f16f57fd26c915d5d57708
5
5
  SHA512:
6
- metadata.gz: 1b6cd53052c02325944ce90f837c085e4fe0bf1ebc5b27c565f4714be5b84308405cec3b0a57fa4e05ad49c4ed9b7f6b803fbf6f96152eebffcc8340b47a625c
7
- data.tar.gz: 6cef854be60d4fdc20453e421f158bd4201eaae51c1ae165c392ce76f0171e27f9c81374284ccab7f59263c02db6edcb33dc9e697c588bab4c6f81c15139ea08
6
+ metadata.gz: 5397427c278a604b2d4326050c673a0f03c9b8f0a2b52379288862ae5d8b75aa396bb9dc9aea83fde2a75a2379518049afd04df9d8cc3b62b027a04b3b7086c5
7
+ data.tar.gz: 33150a644a227207e1c5db8308c64fd0e7acf2c7275a64baf3dce750d79a1b120249ee5bec9339af350e6aa24480b5e0288d5c4a6db046b15a37cd27eb817d1e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.1.3
2
+
3
+ ENHANCEMENTS:
4
+
5
+ * Added Storage::S3#bucket_name to read back configured bucket name.
6
+
1
7
  ## 0.1.2
2
8
 
3
9
  ENHANCEMENTS:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teak_util (0.1.2)
4
+ teak_util (0.1.3)
5
5
  aws-sdk-s3 (>= 1.102)
6
6
  business_flow (>= 0.18.0)
7
7
  mime-types (>= 3)
@@ -10,9 +10,9 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (7.1.2)
14
- activesupport (= 7.1.2)
15
- activesupport (7.1.2)
13
+ activemodel (7.1.3.2)
14
+ activesupport (= 7.1.3.2)
15
+ activesupport (7.1.3.2)
16
16
  base64
17
17
  bigdecimal
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -23,39 +23,38 @@ GEM
23
23
  mutex_m
24
24
  tzinfo (~> 2.0)
25
25
  aws-eventstream (1.3.0)
26
- aws-partitions (1.880.0)
27
- aws-sdk-core (3.190.2)
26
+ aws-partitions (1.925.0)
27
+ aws-sdk-core (3.194.2)
28
28
  aws-eventstream (~> 1, >= 1.3.0)
29
29
  aws-partitions (~> 1, >= 1.651.0)
30
30
  aws-sigv4 (~> 1.8)
31
31
  jmespath (~> 1, >= 1.6.1)
32
- aws-sdk-kms (1.76.0)
33
- aws-sdk-core (~> 3, >= 3.188.0)
32
+ aws-sdk-kms (1.80.0)
33
+ aws-sdk-core (~> 3, >= 3.193.0)
34
34
  aws-sigv4 (~> 1.1)
35
- aws-sdk-s3 (1.142.0)
36
- aws-sdk-core (~> 3, >= 3.189.0)
35
+ aws-sdk-s3 (1.149.1)
36
+ aws-sdk-core (~> 3, >= 3.194.0)
37
37
  aws-sdk-kms (~> 1)
38
38
  aws-sigv4 (~> 1.8)
39
39
  aws-sigv4 (1.8.0)
40
40
  aws-eventstream (~> 1, >= 1.0.2)
41
41
  base64 (0.2.0)
42
- bigdecimal (3.1.5)
43
- business_flow (0.19.3)
42
+ bigdecimal (3.1.8)
43
+ business_flow (0.19.4)
44
44
  activemodel (>= 4.2, < 8)
45
45
  activesupport (>= 4.2, < 8)
46
46
  concurrent-ruby (1.2.3)
47
47
  connection_pool (2.4.1)
48
48
  diff-lcs (1.5.0)
49
49
  docile (1.4.0)
50
- drb (2.2.0)
51
- ruby2_keywords
52
- i18n (1.14.1)
50
+ drb (2.2.1)
51
+ i18n (1.14.5)
53
52
  concurrent-ruby (~> 1.0)
54
53
  jmespath (1.6.2)
55
54
  mime-types (3.5.2)
56
55
  mime-types-data (~> 3.2015)
57
- mime-types-data (3.2023.1205)
58
- minitest (5.21.1)
56
+ mime-types-data (3.2024.0507)
57
+ minitest (5.22.3)
59
58
  mutex_m (0.2.0)
60
59
  rake (13.0.6)
61
60
  rspec (3.12.0)
@@ -71,7 +70,6 @@ GEM
71
70
  diff-lcs (>= 1.2.0, < 2.0)
72
71
  rspec-support (~> 3.12.0)
73
72
  rspec-support (3.12.1)
74
- ruby2_keywords (0.0.5)
75
73
  rubyzip (2.3.2)
76
74
  simplecov (0.22.0)
77
75
  docile (~> 1.1)
@@ -69,6 +69,11 @@ module TeakUtil
69
69
  @bucket.object(path).presigned_url(:get, expires_in: expires_in.to_i)
70
70
  end
71
71
 
72
+ # Returns the name of the bucket.
73
+ def bucket_name
74
+ @bucket.name
75
+ end
76
+
72
77
  private
73
78
 
74
79
  def prefixed_path(key)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeakUtil
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teak_util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Scarborough
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3