miteru 2.0.2 → 2.0.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: c5c223747e06cb6d010f4a5e3157b1a4999662761ccaef108521b1627489b800
4
- data.tar.gz: 403ed81289db89582add2420290b6f8c343da88babf2c548940871f0791655dd
3
+ metadata.gz: 4133dc72d0d07c5719999c526b8534a2dd7b5db5fe74172042b747c5cc557d4a
4
+ data.tar.gz: d2f59be0a18bdaee1b74633a58b8ed59a396862defd4b80dff4ae8ae9d8199f4
5
5
  SHA512:
6
- metadata.gz: 255a86779cdb3473ba4b7683159b1290b0774eae7863db2cd9e770610b6a14f1397ff1a07823132009daafc5b0c75aea2489cd39c051067311242cf30535517d
7
- data.tar.gz: 3662c8946aba747ad6dcda2fbedc1dc34b0cba8fd680e9d573b3a1c24114b5658f5029ecb3bf5e222c2d4cced01dd0f6f1542d4878566fab0880456bb500997e
6
+ metadata.gz: 4a311f7ffa407ed11951f8f3b7ce696510ba31f8888dff459d3a04e4a19ec892f6f7e5651b7616e70a4482cf07d92f657dc4765ef17b6f42e66a3b526c7e1e26
7
+ data.tar.gz: 70b43504f29dc3646a343a87029e5c7a785d777099352717a4d2c2f26801879d2541d90ec5568f04d56c6635a35067397c4042e64a3177b6375cb74e51b5eae3
@@ -3,9 +3,6 @@
3
3
  module Miteru
4
4
  class Feeds
5
5
  class Ayashige < Base
6
- HOST = "ayashige.herokuapp.com"
7
- URL = "https://#{HOST}".freeze
8
-
9
6
  def initialize(base_url = "https://ayashige.herokuapp.com")
10
7
  super(base_url)
11
8
  end
@@ -87,7 +87,7 @@ module Miteru
87
87
  end
88
88
 
89
89
  def callable?
90
- !Miteru.config.slack_webhook_url.nil?
90
+ !slack_webhook_url.nil?
91
91
  end
92
92
 
93
93
  private
@@ -40,7 +40,14 @@ module Miteru
40
40
  Miteru.logger.warn("Feed:#{feed.source} failed - #{result.failure}")
41
41
  end
42
42
  end
43
- end.flatten
43
+ end.flatten.uniq(&:url)
44
+ end
45
+
46
+ #
47
+ # @return [Array<Miteru::Feeds::Base>]
48
+ #
49
+ def feeds
50
+ Miteru.feeds.map(&:new)
44
51
  end
45
52
 
46
53
  private
@@ -52,12 +59,5 @@ module Miteru
52
59
  def verbose?
53
60
  Miteru.config.verbose
54
61
  end
55
-
56
- #
57
- # @return [Array<Miteru::Feeds::Base>]
58
- #
59
- def feeds
60
- Miteru.feeds.map(&:new)
61
- end
62
62
  end
63
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Miteru
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
  end
data/miteru.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'mysql2', '~> 0.5'
33
33
  spec.add_development_dependency 'pg', '~> 1.5'
34
34
  spec.add_development_dependency 'rake', '~> 13.1'
35
- spec.add_development_dependency 'rspec', '~> 3.12'
35
+ spec.add_development_dependency 'rspec', '~> 3.13'
36
36
  spec.add_development_dependency 'simplecov-lcov', '~> 0.8'
37
37
  spec.add_development_dependency 'standard', '~> 1.33'
38
38
  spec.add_development_dependency 'test-prof', '~> 1.3'
@@ -47,12 +47,12 @@ Gem::Specification.new do |spec|
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'
50
- spec.add_dependency 'http', '5.1.1'
50
+ spec.add_dependency 'http', '5.2.0'
51
51
  spec.add_dependency 'memo_wise', '1.8.0'
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.8'
55
+ spec.add_dependency 'rack', '3.0.9'
56
56
  spec.add_dependency 'rack-session', '2.0.0'
57
57
  spec.add_dependency 'rackup', '2.1.0'
58
58
  spec.add_dependency 'semantic_logger', '4.15.0'
@@ -60,7 +60,7 @@ Gem::Specification.new do |spec|
60
60
  spec.add_dependency 'sentry-sidekiq', '5.16.1'
61
61
  spec.add_dependency 'sidekiq', '7.2.1'
62
62
  spec.add_dependency 'slack-notifier', '2.4.0'
63
- spec.add_dependency 'sqlite3', '1.7.1'
63
+ spec.add_dependency 'sqlite3', '1.7.2'
64
64
  spec.add_dependency 'thor', '1.3.0'
65
65
  spec.add_dependency 'thor-hollaback', '0.2.1'
66
66
  spec.add_dependency 'uuidtools', '2.2.0'
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.0.2
4
+ version: 2.0.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-01-29 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.12'
117
+ version: '3.13'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.12'
124
+ version: '3.13'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov-lcov
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -310,14 +310,14 @@ dependencies:
310
310
  requirements:
311
311
  - - '='
312
312
  - !ruby/object:Gem::Version
313
- version: 5.1.1
313
+ version: 5.2.0
314
314
  type: :runtime
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - '='
319
319
  - !ruby/object:Gem::Version
320
- version: 5.1.1
320
+ version: 5.2.0
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: memo_wise
323
323
  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.8
383
+ version: 3.0.9
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.8
390
+ version: 3.0.9
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: rack-session
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -492,14 +492,14 @@ dependencies:
492
492
  requirements:
493
493
  - - '='
494
494
  - !ruby/object:Gem::Version
495
- version: 1.7.1
495
+ version: 1.7.2
496
496
  type: :runtime
497
497
  prerelease: false
498
498
  version_requirements: !ruby/object:Gem::Requirement
499
499
  requirements:
500
500
  - - '='
501
501
  - !ruby/object:Gem::Version
502
- version: 1.7.1
502
+ version: 1.7.2
503
503
  - !ruby/object:Gem::Dependency
504
504
  name: thor
505
505
  requirement: !ruby/object:Gem::Requirement
@@ -600,7 +600,6 @@ files:
600
600
  - lib/miteru/website.rb
601
601
  - miteru.gemspec
602
602
  - renovate.json
603
- - screenshots/slack.png
604
603
  homepage: https://github.com/ninoseki/miteru
605
604
  licenses:
606
605
  - MIT
Binary file