slack_notifiee 0.1.0

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
+ SHA256:
3
+ metadata.gz: 4f701da47e6f5b1232d4735f562f39828c4b18cb0f3b600daf2d01bb811b51dd
4
+ data.tar.gz: 8ea90a4ba1f2694b4d67b5ababbc47181225ebdb2dd6cdab97680a827fb6bc29
5
+ SHA512:
6
+ metadata.gz: 911e96bcc49f3be7a041c5e5ca17adada82b6d03b41c45dbd7188a160712171fa0245564ba52b2dade4144675f18ead17c08f55e00ecf6ac68727c4953091e25
7
+ data.tar.gz: 742914f895ff0c3c36e15e74adc075a7fba5bb2eabb3638012fa4cf6cb068871efe151b1ca4daedb1ab501c09de3a2925c6f3e9f47350dd091ad0f9a15f11868
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,37 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 2.7
7
+ NewCops: enable
8
+
9
+ Layout/LineLength:
10
+ Max: 120
11
+ Exclude:
12
+ - slack_notifiee.gemspec
13
+
14
+ Metrics/BlockLength:
15
+ Exclude:
16
+ - spec/**/*.rb
17
+ - slack_notifiee.gemspec
18
+
19
+ Metrics/MethodLength:
20
+ Max: 12
21
+
22
+ RSpec/ExampleLength:
23
+ Enabled: false
24
+
25
+ RSpec/MultipleExpectations:
26
+ Enabled: false
27
+
28
+ Style/Documentation:
29
+ Enabled: false
30
+
31
+ Style/StringLiterals:
32
+ Enabled: true
33
+ EnforcedStyle: single_quotes
34
+
35
+ Style/StringLiteralsInInterpolation:
36
+ Enabled: true
37
+ EnforcedStyle: single_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/).
6
+
7
+ ## [Unreleased]
8
+ ### Added
9
+
10
+ ### Changed
11
+
12
+ ### Deprecated
13
+
14
+ ### Removed
15
+
16
+ ### Fixed
17
+
18
+ ### Security
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at yamat47.thirddown@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,66 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ slack_notifiee (0.1.0)
5
+ slack-notifier
6
+ ulid
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.2)
12
+ diff-lcs (1.5.0)
13
+ parallel (1.21.0)
14
+ parser (3.1.0.0)
15
+ ast (~> 2.4.1)
16
+ rainbow (3.1.1)
17
+ rake (13.0.6)
18
+ regexp_parser (2.2.1)
19
+ rexml (3.2.5)
20
+ rspec (3.11.0)
21
+ rspec-core (~> 3.11.0)
22
+ rspec-expectations (~> 3.11.0)
23
+ rspec-mocks (~> 3.11.0)
24
+ rspec-core (3.11.0)
25
+ rspec-support (~> 3.11.0)
26
+ rspec-expectations (3.11.0)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.11.0)
29
+ rspec-mocks (3.11.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.11.0)
32
+ rspec-support (3.11.0)
33
+ rubocop (1.25.1)
34
+ parallel (~> 1.10)
35
+ parser (>= 3.1.0.0)
36
+ rainbow (>= 2.2.2, < 4.0)
37
+ regexp_parser (>= 1.8, < 3.0)
38
+ rexml
39
+ rubocop-ast (>= 1.15.1, < 2.0)
40
+ ruby-progressbar (~> 1.7)
41
+ unicode-display_width (>= 1.4.0, < 3.0)
42
+ rubocop-ast (1.15.2)
43
+ parser (>= 3.0.1.1)
44
+ rubocop-rake (0.6.0)
45
+ rubocop (~> 1.0)
46
+ rubocop-rspec (2.8.0)
47
+ rubocop (~> 1.19)
48
+ ruby-progressbar (1.11.0)
49
+ slack-notifier (2.4.0)
50
+ ulid (1.3.0)
51
+ unicode-display_width (2.1.0)
52
+
53
+ PLATFORMS
54
+ arm64-darwin-21
55
+ x86_64-linux
56
+
57
+ DEPENDENCIES
58
+ rake
59
+ rspec
60
+ rubocop
61
+ rubocop-rake
62
+ rubocop-rspec
63
+ slack_notifiee!
64
+
65
+ BUNDLED WITH
66
+ 2.3.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Yamaguchi Takuya
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # SlackNotifiee
2
+ SlackNotifiee is a debugging and testing tool for [slack-notifier/slack-notifier](https://github.com/slack-notifier/slack-notifier). Using this gem, you can access the notifications sent by slack-notifier in your code (without Slack App).
3
+
4
+ ## Installation
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'slack_notifiee'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ ```
14
+ $ bundle install
15
+ ```
16
+
17
+ Or install it yourself as:
18
+
19
+ ```
20
+ $ gem install slack_notifiee
21
+ ```
22
+
23
+ ## Usage
24
+ ```ruby
25
+ require 'slack-notifier'
26
+ require 'slack_notifiee'
27
+
28
+ # Enable this gem before using slack-notifier.
29
+ SlackNotifiee.enable
30
+
31
+ # Send a notification. (Accutually, all notifications are not sent to slack but stored local file.)
32
+ notifier = Slack::Notifier.new('https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX')
33
+ notifier.ping 'Hello, world!'
34
+
35
+ # You can view all notifications via `SlackNotifiee.notifications`.
36
+ SlackNotifiee.notifications.count #=> 1
37
+ SlackNotifiee.notifications.first.text #=> 'Hello, world!'
38
+ ```
39
+
40
+ `SlackNotifiee.notifications` returns an array of `SlackNotifiee::Notification` objects sorted by notified time. `SlackNotifiee::Notification#attributes` contains:
41
+
42
+ * `webhook_url`
43
+ * `username`
44
+ * `channel`
45
+ * `attachments`
46
+ * `blocks`
47
+ * `text`
48
+ * `icon_emoji`
49
+ * `icon_url`
50
+ * `datetime`
51
+
52
+ ## Development
53
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
54
+
55
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
56
+
57
+ ## Contributing
58
+ Bug reports and pull requests are welcome on GitHub at https://github.com/yamat47/slack_notifiee. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/slack_notifiee/blob/main/CODE_OF_CONDUCT.md).
59
+
60
+ ## License
61
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
62
+
63
+ ## Code of Conduct
64
+ Everyone interacting in the SlackNotifiee project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yamat47/slack_notifiee/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'slack_notifiee'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'time'
4
+
5
+ module SlackNotifiee
6
+ module HttpClient
7
+ def post(uri, params)
8
+ payload = JSON.parse(params[:payload])
9
+ notification_content = payload.merge(webhook_url: uri, datetime: Time.now.iso8601(6))
10
+
11
+ SlackNotifiee.store_notification(notification_content)
12
+ end
13
+
14
+ module_function :post
15
+ end
16
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'json'
4
+ require 'time'
5
+ require 'uri'
6
+
7
+ module SlackNotifiee
8
+ class Notification
9
+ attr_reader :webhook_url, :username, :channel, :attachments, :blocks, :text, :icon_emoji, :icon_url, :datetime
10
+
11
+ def self.build_from_json(json)
12
+ attributes = ::JSON.parse(json)
13
+
14
+ new(
15
+ webhook_url: ::URI.parse(attributes['webhook_url']),
16
+ username: attributes['username'],
17
+ channel: attributes['channel'],
18
+ attachments: attributes['attachments'],
19
+ blocks: attributes['blocks'],
20
+ text: attributes['text'],
21
+ icon_emoji: attributes['icon_emoji'],
22
+ icon_url: attributes['icon_url'].nil? ? nil : ::URI.parse(attributes['icon_url']),
23
+ datetime: ::Time.parse(attributes['datetime'])
24
+ )
25
+ end
26
+
27
+ def initialize(**attributes)
28
+ @webhook_url = attributes[:webhook_url]
29
+ @username = attributes[:username]
30
+ @channel = attributes[:channel]
31
+ @attachments = attributes[:attachments]
32
+ @blocks = attributes[:blocks]
33
+ @text = attributes[:text]
34
+ @icon_emoji = attributes[:icon_emoji]
35
+ @icon_url = attributes[:icon_url]
36
+ @datetime = attributes[:datetime]
37
+ end
38
+
39
+ def attributes
40
+ {
41
+ webhook_url: webhook_url,
42
+ username: username,
43
+ channel: channel,
44
+ attachments: attachments,
45
+ blocks: blocks,
46
+ text: text,
47
+ icon_emoji: icon_emoji,
48
+ icon_url: icon_url,
49
+ datetime: datetime
50
+ }
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'http_client'
4
+
5
+ module SlackNotifiee
6
+ module SlackNotifierExtension
7
+ def initialize(webhook_url, options = {}, &block)
8
+ http_client = ::SlackNotifiee::HttpClient
9
+ options.merge!(http_client: http_client)
10
+
11
+ super(webhook_url, options, &block)
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SlackNotifiee
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'fileutils'
4
+ require 'pathname'
5
+ require 'ulid'
6
+
7
+ require_relative 'slack_notifiee/notification'
8
+ require_relative 'slack_notifiee/slack_notifier_extension'
9
+ require_relative 'slack_notifiee/version'
10
+
11
+ module SlackNotifiee
12
+ def enable
13
+ _reset_storage
14
+ _override_http_client
15
+ end
16
+
17
+ def store_notification(notification)
18
+ filepath = _storage_path + "#{ULID.generate}.json"
19
+ File.open(filepath, 'w') { |file| JSON.dump(notification, file) }
20
+ end
21
+
22
+ def notifications
23
+ _storage_path.children.sort.map(&:read).map do |notification_content|
24
+ ::SlackNotifiee::Notification.build_from_json(notification_content)
25
+ end
26
+ end
27
+
28
+ def _storage_path
29
+ Pathname('tmp/slack-notifiee')
30
+ end
31
+
32
+ def _reset_storage
33
+ ::FileUtils.mkdir_p(_storage_path)
34
+ ::FileUtils.rm_f(_storage_path.children)
35
+ end
36
+
37
+ def _override_http_client
38
+ ::Slack::Notifier.class_eval { prepend ::SlackNotifiee::SlackNotifierExtension }
39
+ end
40
+
41
+ module_function :enable, :store_notification, :notifications, :_storage_path, :_reset_storage, :_override_http_client
42
+ private_class_method :_storage_path, :_reset_storage, :_override_http_client
43
+ end
@@ -0,0 +1,4 @@
1
+ module SlackNotifiee
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/slack_notifiee/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'slack_notifiee'
7
+ spec.version = SlackNotifiee::VERSION
8
+ spec.authors = ['Yamaguchi Takuya']
9
+ spec.email = ['yamat47.thirddown@gmail.com']
10
+
11
+ spec.summary = 'Notifications store and accessor for slack-notifier/slack-notifier.'
12
+ spec.description = 'SlackNotifiee is a gem that allows you to access the notifications from slack-notifier in your code without Slack App.'
13
+ spec.homepage = 'https://github.com/yamat47/slack_notifiee'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.7.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/yamat47/slack_notifiee'
19
+ spec.metadata['changelog_uri'] = 'https://github.com/yamat47/slack_notifiee/blob/main/CHANGELOG.md'
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = 'exe'
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency 'slack-notifier'
34
+ spec.add_dependency 'ulid'
35
+ spec.add_development_dependency 'rake'
36
+ spec.add_development_dependency 'rspec'
37
+ spec.add_development_dependency 'rubocop'
38
+ spec.add_development_dependency 'rubocop-rake'
39
+ spec.add_development_dependency 'rubocop-rspec'
40
+
41
+ spec.metadata['rubygems_mfa_required'] = 'true'
42
+ end
metadata ADDED
@@ -0,0 +1,164 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: slack_notifiee
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Yamaguchi Takuya
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: slack-notifier
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ulid
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: SlackNotifiee is a gem that allows you to access the notifications from
112
+ slack-notifier in your code without Slack App.
113
+ email:
114
+ - yamat47.thirddown@gmail.com
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".rspec"
120
+ - ".rubocop.yml"
121
+ - CHANGELOG.md
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - Gemfile.lock
125
+ - LICENSE.txt
126
+ - README.md
127
+ - Rakefile
128
+ - bin/console
129
+ - bin/setup
130
+ - lib/slack_notifiee.rb
131
+ - lib/slack_notifiee/http_client.rb
132
+ - lib/slack_notifiee/notification.rb
133
+ - lib/slack_notifiee/slack_notifier_extension.rb
134
+ - lib/slack_notifiee/version.rb
135
+ - sig/slack_notifiee.rbs
136
+ - slack_notifiee.gemspec
137
+ homepage: https://github.com/yamat47/slack_notifiee
138
+ licenses:
139
+ - MIT
140
+ metadata:
141
+ homepage_uri: https://github.com/yamat47/slack_notifiee
142
+ source_code_uri: https://github.com/yamat47/slack_notifiee
143
+ changelog_uri: https://github.com/yamat47/slack_notifiee/blob/main/CHANGELOG.md
144
+ rubygems_mfa_required: 'true'
145
+ post_install_message:
146
+ rdoc_options: []
147
+ require_paths:
148
+ - lib
149
+ required_ruby_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 2.7.0
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ requirements: []
160
+ rubygems_version: 3.3.3
161
+ signing_key:
162
+ specification_version: 4
163
+ summary: Notifications store and accessor for slack-notifier/slack-notifier.
164
+ test_files: []