slack_hook 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +25 -0
- data/README.md +7 -0
- data/lib/slack_hook/version.rb +1 -1
- data/lib/slack_hook.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7656e880d5884053c247dd5bff11928ecda537aa
|
4
|
+
data.tar.gz: 85d822e2e4ee092ccb9bfb5adad69833bdf30630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac7724f80189a895665b6f86a34e6cbaa73924f3ee17f33a21e5e14ae793570aea187d768d33e3c1bcc2587d731a3216d7eda7d476f0ed1d543631a71e084947
|
7
|
+
data.tar.gz: 33912b15ce9c8f43920c2a27b38b6bacf13d86db745810fdcab7f29ff9040ba2e8d462907e876a4b47f6e8f3a54b35ae944bdb2a946c108fe6f76aadaa8d7d9c
|
@@ -0,0 +1,25 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.5-node
|
6
|
+
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
|
10
|
+
- restore_cache:
|
11
|
+
keys:
|
12
|
+
- slack-hook-bundle-v2-{{ checksum "slack_hook.gemspec" }}
|
13
|
+
|
14
|
+
- run:
|
15
|
+
name: Bundle Install
|
16
|
+
command: bundle check || bundle install
|
17
|
+
|
18
|
+
- save_cache:
|
19
|
+
key: slack-hook-bundle-v2-{{ checksum "slack_hook.gemspec" }}
|
20
|
+
paths:
|
21
|
+
- vendor/bundle
|
22
|
+
|
23
|
+
- run:
|
24
|
+
name: Run Rspec
|
25
|
+
command: bundle exec rspec
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# SlackHook
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/slack_hook.svg)](https://badge.fury.io/rb/slack_hook)
|
4
|
+
[![CircleCI](https://circleci.com/gh/kirillshevch/slack_hook.svg?style=svg)](https://circleci.com/gh/kirillshevch/slack_hook)
|
5
|
+
|
6
|
+
|
3
7
|
A Simple Interface to Slack Incoming Webhooks Integrations
|
4
8
|
|
5
9
|
## Installation
|
@@ -42,6 +46,9 @@ Slaсk currently provides two ways to format messages:
|
|
42
46
|
|
43
47
|
`SlackHook` support both approaches.
|
44
48
|
|
49
|
+
1. `{ text: 'hook text', attachments: []}`
|
50
|
+
1. `{ text: 'hook text', blocks: []}`
|
51
|
+
|
45
52
|
## Development
|
46
53
|
|
47
54
|
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.
|
data/lib/slack_hook/version.rb
CHANGED
data/lib/slack_hook.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack_hook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirill Shevchenko
|
@@ -87,6 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".circleci/config.yml"
|
90
91
|
- ".gitignore"
|
91
92
|
- ".rspec"
|
92
93
|
- ".rubocop.yml"
|