miteru 2.2.2 → 2.2.3

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: 62cde56f6eff0777959ebcadb72619505b63d7fc88cde3a362effd9a707f364d
4
- data.tar.gz: e3e0011791ab52b700f2fa824ee37285d1306426ec0cc54f5ca48f0e5bde8489
3
+ metadata.gz: ef0f7be4745e537ba70aa893d53cc2feba75aa2216181fedc70a90a1ca61d61c
4
+ data.tar.gz: 8199f226be26efa86e0bb01baa7ee1233e2bbb1476d32967359d090a3e01312a
5
5
  SHA512:
6
- metadata.gz: ebbf6663d3b6b07486c19f5dd56b2119e33ccafebe6f57ea5cf4629fa74a7ece9309ff6e8e900881d4bfe30d9f12e3d9cd5315f79ddec6b2f8e221ad824222dd
7
- data.tar.gz: 63abffb3e35ab8f631188d2c116ab43c21535fbab9fb4c24d7cf304317f383e0cbc48dca01c17c600f67eeafa1a23cb93915f520eed92ff1997141b16e492be9
6
+ metadata.gz: ff0cb9a02102696c4fd22ff41894be87c6fa14415fac141bb07915d70920963d2229f5a7483133417c1fc4f162bdc4d7fadab24d6972d2c50cf60b8b04d650ed
7
+ data.tar.gz: f772d4fa43d0659532752c187b7613887a41cf0b58e3b996530d6aea84ac9be1ed21b7fbb0385423f677a8f3c81d8cf61d4f1461f66e9eec9718ce92d8cec28f
data/lib/miteru/kit.rb CHANGED
@@ -75,8 +75,7 @@ module Miteru
75
75
  def filename_with_size
76
76
  return filename unless filesize
77
77
 
78
- kb = (filesize.to_f / 1024.0).ceil
79
- "#{filename}(#{kb}KB)"
78
+ "#{filename} (#{filesize.kilobytes}KB)"
80
79
  end
81
80
 
82
81
  def id
@@ -83,7 +83,7 @@ module Miteru
83
83
  return unless callable?
84
84
 
85
85
  attachment = SlackAttachment.new(kit.url)
86
- notifier.post(text: kit.basename, attachments: attachment.to_a)
86
+ notifier.post(text: kit.filename_with_size, attachments: attachment.to_a)
87
87
  end
88
88
 
89
89
  def callable?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Miteru
4
- VERSION = "2.2.2"
4
+ VERSION = "2.2.3"
5
5
  end
data/miteru.gemspec CHANGED
@@ -37,13 +37,13 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "standard", "~> 1.34"
38
38
  spec.add_development_dependency "test-prof", "~> 1.3"
39
39
  spec.add_development_dependency "vcr", "~> 6.2"
40
- spec.add_development_dependency "webmock", "~> 3.20"
40
+ spec.add_development_dependency "webmock", "~> 3.23"
41
41
 
42
- spec.add_dependency "activerecord", "7.1.3"
42
+ spec.add_dependency "activerecord", "7.1.3.2"
43
43
  spec.add_dependency "addressable", "2.8.6"
44
44
  spec.add_dependency "anyway_config", "2.6.3"
45
45
  spec.add_dependency "colorize", "1.1.0"
46
- spec.add_dependency "dotenv", "3.0.0"
46
+ spec.add_dependency "dotenv", "3.1.0"
47
47
  spec.add_dependency "down", "5.4.1"
48
48
  spec.add_dependency "dry-files", "1.1.0"
49
49
  spec.add_dependency "dry-monads", "1.6.0"
@@ -52,17 +52,17 @@ Gem::Specification.new do |spec|
52
52
  spec.add_dependency "oga", "3.4"
53
53
  spec.add_dependency "parallel", "1.24.0"
54
54
  spec.add_dependency "puma", "6.4.2"
55
- spec.add_dependency "rack", "3.0.9"
55
+ spec.add_dependency "rack", "3.0.9.1"
56
56
  spec.add_dependency "rack-session", "2.0.0"
57
57
  spec.add_dependency "rackup", "2.1.0"
58
58
  spec.add_dependency "redis", "5.1.0"
59
59
  spec.add_dependency "semantic_logger", "4.15.0"
60
60
  spec.add_dependency "sentry-ruby", "5.16.1"
61
61
  spec.add_dependency "sentry-sidekiq", "5.16.1"
62
- spec.add_dependency "sidekiq", "7.2.1"
62
+ spec.add_dependency "sidekiq", "7.2.2"
63
63
  spec.add_dependency "slack-notifier", "2.4.0"
64
64
  spec.add_dependency "sqlite3", "1.7.2"
65
- spec.add_dependency "thor", "1.3.0"
65
+ spec.add_dependency "thor", "1.3.1"
66
66
  spec.add_dependency "thor-hollaback", "0.2.1"
67
67
  spec.add_dependency "uuidtools", "2.2.0"
68
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miteru
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-14 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -184,28 +184,28 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '3.20'
187
+ version: '3.23'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '3.20'
194
+ version: '3.23'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: activerecord
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - '='
200
200
  - !ruby/object:Gem::Version
201
- version: 7.1.3
201
+ version: 7.1.3.2
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
- version: 7.1.3
208
+ version: 7.1.3.2
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: addressable
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -254,14 +254,14 @@ dependencies:
254
254
  requirements:
255
255
  - - '='
256
256
  - !ruby/object:Gem::Version
257
- version: 3.0.0
257
+ version: 3.1.0
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - '='
263
263
  - !ruby/object:Gem::Version
264
- version: 3.0.0
264
+ version: 3.1.0
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: down
267
267
  requirement: !ruby/object:Gem::Requirement
@@ -380,14 +380,14 @@ dependencies:
380
380
  requirements:
381
381
  - - '='
382
382
  - !ruby/object:Gem::Version
383
- version: 3.0.9
383
+ version: 3.0.9.1
384
384
  type: :runtime
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - '='
389
389
  - !ruby/object:Gem::Version
390
- version: 3.0.9
390
+ version: 3.0.9.1
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: rack-session
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -478,14 +478,14 @@ dependencies:
478
478
  requirements:
479
479
  - - '='
480
480
  - !ruby/object:Gem::Version
481
- version: 7.2.1
481
+ version: 7.2.2
482
482
  type: :runtime
483
483
  prerelease: false
484
484
  version_requirements: !ruby/object:Gem::Requirement
485
485
  requirements:
486
486
  - - '='
487
487
  - !ruby/object:Gem::Version
488
- version: 7.2.1
488
+ version: 7.2.2
489
489
  - !ruby/object:Gem::Dependency
490
490
  name: slack-notifier
491
491
  requirement: !ruby/object:Gem::Requirement
@@ -520,14 +520,14 @@ dependencies:
520
520
  requirements:
521
521
  - - '='
522
522
  - !ruby/object:Gem::Version
523
- version: 1.3.0
523
+ version: 1.3.1
524
524
  type: :runtime
525
525
  prerelease: false
526
526
  version_requirements: !ruby/object:Gem::Requirement
527
527
  requirements:
528
528
  - - '='
529
529
  - !ruby/object:Gem::Version
530
- version: 1.3.0
530
+ version: 1.3.1
531
531
  - !ruby/object:Gem::Dependency
532
532
  name: thor-hollaback
533
533
  requirement: !ruby/object:Gem::Requirement