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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81698a2c0c5687a69552609c6101dd56286da60b0e38a0a8e17fa0e2a9b299fd
4
- data.tar.gz: 0b6f458718883c8d195691b28d15428839932557e9107caa1296e467aa9c8843
3
+ metadata.gz: d692f8fa64aee6ed5011ca1b83af21889db2453344e7ac8244d50ba167d78c84
4
+ data.tar.gz: 5e78dc1348b81f6023c22c0e20711d6e285eb53287390fc97c941e4be89d603a
5
5
  SHA512:
6
- metadata.gz: 6b7aa5399e32a44a8bfedb475b080650b17136c8fa724c2fd2acfbc2228b504f7da00dde4436270cbcf15fb86a109b448bd329ee2bf4c1766534841ee7c4f3d4
7
- data.tar.gz: 88d744b4d3d0b100666f9188411fd5b0cfee1b0ff018537c414da64b0b7aaec634d802d3bc2e1e65d349f45f25545c528ecb7293153d7f7eddf2f97c1872d036
6
+ metadata.gz: df52917e85f1bea92eb347e3f9379d60dbb66e412bcbb93a20aac23f30af9fa5c53c1d399b548dcfc2843e183d8ae085ddebb3fc1732529a2ac4adaf2ebabbe1
7
+ data.tar.gz: bb38de7ae9d594b63580847d363fc3243ffd126a74ff88e2eb18911bfb724a14a246ae13fb60d59c2f984c6c62a714a178e3d4216cfbf16306fd3c165085ae35
data/Dockerfile CHANGED
@@ -3,4 +3,4 @@ WORKDIR /talentio-notifier
3
3
  ENV LANG C.UTF-8
4
4
  RUN apt update -qqy && apt install -qqy python git python-yaml
5
5
  RUN git clone https://github.com/emasaka/jpholidayp.git
6
- RUN gem install talentio-notifier -v "0.3.0"
6
+ RUN gem install talentio-notifier -v "0.3.1"
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- talentio-notifier (0.1.0)
4
+ talentio-notifier (0.3.1)
5
+ activesupport
5
6
  faraday
6
7
  holiday_jp
7
8
  slack-api
data/Makefile CHANGED
@@ -1,4 +1,4 @@
1
- VERSION=0.3.0
1
+ VERSION=0.3.1
2
2
  build:
3
3
  docker build -t talentio-notifier .
4
4
 
File without changes
@@ -3,7 +3,7 @@ require 'json'
3
3
  require 'pp'
4
4
  require 'slack'
5
5
  require 'holiday_jp'
6
- require 'forwardable'
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
@@ -1,5 +1,5 @@
1
1
  module Talentio
2
2
  module Notifier
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ spec:
10
10
  spec:
11
11
  containers:
12
12
  - name: talentio-notifier
13
- image: pyama/talentio-notifier:0.3.0
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.0
47
+ image: pyama/talentio-notifier:0.3.1
48
48
  env:
49
49
  - name: TALENTIO_SKIP_STAGE
50
50
  value: "3"
@@ -26,4 +26,5 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'slack-api'
27
27
  spec.add_dependency 'slack-ruby-client'
28
28
  spec.add_dependency "holiday_jp"
29
+ spec.add_dependency "activesupport"
29
30
  end
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.0
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