talentio-notifier 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Gemfile.lock +2 -1
- data/Makefile +1 -1
- data/bin/talentio-notifier +0 -0
- data/lib/talentio/notifier/slack.rb +1 -20
- data/lib/talentio/notifier/version.rb +1 -1
- data/manifests/cron.yml +2 -2
- data/talentio-notifier.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d692f8fa64aee6ed5011ca1b83af21889db2453344e7ac8244d50ba167d78c84
|
4
|
+
data.tar.gz: 5e78dc1348b81f6023c22c0e20711d6e285eb53287390fc97c941e4be89d603a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df52917e85f1bea92eb347e3f9379d60dbb66e412bcbb93a20aac23f30af9fa5c53c1d399b548dcfc2843e183d8ae085ddebb3fc1732529a2ac4adaf2ebabbe1
|
7
|
+
data.tar.gz: bb38de7ae9d594b63580847d363fc3243ffd126a74ff88e2eb18911bfb724a14a246ae13fb60d59c2f984c6c62a714a178e3d4216cfbf16306fd3c165085ae35
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
data/Makefile
CHANGED
data/bin/talentio-notifier
CHANGED
File without changes
|
@@ -3,7 +3,7 @@ require 'json'
|
|
3
3
|
require 'pp'
|
4
4
|
require 'slack'
|
5
5
|
require 'holiday_jp'
|
6
|
-
require '
|
6
|
+
require 'active_support/core_ext/module'
|
7
7
|
module Talentio
|
8
8
|
module Notifier
|
9
9
|
class Slack
|
@@ -47,25 +47,6 @@ module Talentio
|
|
47
47
|
conf.token = ENV['SLACK_APIKEY']
|
48
48
|
end
|
49
49
|
@client = ::Slack::Web::Client.new
|
50
|
-
@client.chat_postMessage(
|
51
|
-
channel: "U03Q3PPSX",
|
52
|
-
as_user: false,
|
53
|
-
text: "2020/07/27 15:00からの面接よろしくお願いします!!1",
|
54
|
-
attachments: [{
|
55
|
-
fields: [
|
56
|
-
{
|
57
|
-
title: '区分',
|
58
|
-
value: "圧倒的P山採用"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
title: 'url',
|
62
|
-
value: "dummy"
|
63
|
-
}
|
64
|
-
],
|
65
|
-
color: 'warning'
|
66
|
-
}]
|
67
|
-
)
|
68
|
-
|
69
50
|
if ENV['TALENTIO_TEST']
|
70
51
|
@client.define_singleton_method(:chat_postMessage) do |m|
|
71
52
|
puts m
|
data/manifests/cron.yml
CHANGED
@@ -10,7 +10,7 @@ spec:
|
|
10
10
|
spec:
|
11
11
|
containers:
|
12
12
|
- name: talentio-notifier
|
13
|
-
image: pyama/talentio-notifier:0.3.
|
13
|
+
image: pyama/talentio-notifier:0.3.1
|
14
14
|
env:
|
15
15
|
- name: LANG
|
16
16
|
value: C.UTF-8
|
@@ -44,7 +44,7 @@ spec:
|
|
44
44
|
spec:
|
45
45
|
containers:
|
46
46
|
- name: talentio-notifier
|
47
|
-
image: pyama/talentio-notifier:0.3.
|
47
|
+
image: pyama/talentio-notifier:0.3.1
|
48
48
|
env:
|
49
49
|
- name: TALENTIO_SKIP_STAGE
|
50
50
|
value: "3"
|
data/talentio-notifier.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talentio-notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pyama86
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
description: nofity command for talentio.
|
84
98
|
email:
|
85
99
|
- pyama@pepabo.com
|