talentio-notifier 0.3.6 → 0.3.7

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: 60637573e5522c31863a6d645b00b03e2ed3928d55af0991a61182a074202f61
4
- data.tar.gz: 5d41bc07b84d2344951e8ea7e0aaa717776d52c34f2942edee4a55c68014514a
3
+ metadata.gz: 3a5e1c9678d11c46667ecbeb541795d7b39c09d2f33822634223633fd709b4f9
4
+ data.tar.gz: a33a6fb4146bc5d8103adef986c60c75c563902a7a61c9e9979af7f69b159ae4
5
5
  SHA512:
6
- metadata.gz: 5ed7040c1822a524191c321b1e63f48f62f0a10f9788171da40c36fffbd22115325c2fdeaf8124c119a87962548926c07c9f8102ddce870d6c364bc40e2ac7a4
7
- data.tar.gz: dfce8096e267b7b73df1944455e2b6ee4ba761b7ad1a8a9eea88a7cc82c930e1236700d575d4b3c311b145a4759c1b63eebcc9af9b285b838b14784dd4ec853b
6
+ metadata.gz: dec6ec6e1c8a7149913f1436f0f525dea823331d5e1ad5b8c805a46fe035ed910ef8e7e4979d9ff5faeb8b9f3c9d9ec01356514e3616527c339ac2612e7f40eb
7
+ data.tar.gz: 44ec474b3d992fd6014878c36f588abe1b0bd9427bfe2e66a5f58705c827c682cd650022c43de10940ac9ffc4b1648f25fb7e279d6caada8c7c2e0cd3b1f64a0
data/Dockerfile CHANGED
@@ -1,9 +1,13 @@
1
- FROM ruby:2.6.5
1
+ FROM ruby:latest
2
2
  WORKDIR /talentio-notifier
3
3
  ENV LANG C.UTF-8
4
- RUN apt update -qqy && apt install -qqy python git python-yaml
5
- RUN useradd talentio && chown talentio /talentio-notifier
4
+ RUN apt update -qqy && apt upgrade -qqy && \
5
+ apt update -qqy && apt install -qqy wget && \
6
+ wget https://github.com/knqyf263/holiday_jp-go/releases/download/v0.0.1/holiday_jp-go_0.0.1_linux_amd64.deb && \
7
+ dpkg -i holiday_jp-go_0.0.1_linux_amd64.deb && \
8
+ apt clean && rm -rf /var/lib/apt/lists/*
9
+ RUN useradd talentio && \
10
+ chown talentio /talentio-notifier
6
11
  USER talentio
7
12
 
8
- RUN git clone https://github.com/emasaka/jpholidayp.git
9
- RUN gem install talentio-notifier -v "0.3.5"
13
+ RUN gem install talentio-notifier -v "0.3.6"
data/Gemfile.lock CHANGED
@@ -12,13 +12,13 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.5.1)
15
+ activesupport (7.0.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
20
  concurrent-ruby (1.2.2)
21
- diff-lcs (1.4.4)
21
+ diff-lcs (1.5.0)
22
22
  eventmachine (1.2.7)
23
23
  faraday (0.17.6)
24
24
  multipart-post (>= 1.2, < 3)
@@ -36,19 +36,19 @@ GEM
36
36
  multi_json (1.15.0)
37
37
  multipart-post (2.3.0)
38
38
  rake (12.3.3)
39
- rspec (3.9.0)
40
- rspec-core (~> 3.9.0)
41
- rspec-expectations (~> 3.9.0)
42
- rspec-mocks (~> 3.9.0)
43
- rspec-core (3.9.2)
44
- rspec-support (~> 3.9.3)
45
- rspec-expectations (3.9.2)
39
+ rspec (3.12.0)
40
+ rspec-core (~> 3.12.0)
41
+ rspec-expectations (~> 3.12.0)
42
+ rspec-mocks (~> 3.12.0)
43
+ rspec-core (3.12.2)
44
+ rspec-support (~> 3.12.0)
45
+ rspec-expectations (3.12.3)
46
46
  diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.9.0)
48
- rspec-mocks (3.9.1)
47
+ rspec-support (~> 3.12.0)
48
+ rspec-mocks (3.12.5)
49
49
  diff-lcs (>= 1.2.0, < 2.0)
50
- rspec-support (~> 3.9.0)
51
- rspec-support (3.9.3)
50
+ rspec-support (~> 3.12.0)
51
+ rspec-support (3.12.1)
52
52
  slack-api (1.6.1)
53
53
  faraday (~> 0.11)
54
54
  faraday_middleware (~> 0.10.0)
data/Makefile CHANGED
@@ -1,6 +1,6 @@
1
1
  VERSION=0.3.6
2
2
  build:
3
- docker build -t talentio-notifier .
3
+ docker build --platform linux/amd64 -t talentio-notifier .
4
4
 
5
5
  push: build
6
6
  docker tag talentio-notifier pyama/talentio-notifier:$(VERSION)
@@ -1,5 +1,5 @@
1
1
  module Talentio
2
2
  module Notifier
3
- VERSION = '0.3.6'
3
+ VERSION = '0.3.7'
4
4
  end
5
5
  end
data/manifests/cron.yml CHANGED
@@ -17,7 +17,7 @@ spec:
17
17
  limits:
18
18
  cpu: 200m
19
19
  memory: 512M
20
- image: pyama/talentio-notifier:0.3.5
20
+ image: pyama/talentio-notifier:0.3.6
21
21
  imagePullPolicy: Always
22
22
  env:
23
23
  - name: LANG
@@ -35,7 +35,7 @@ spec:
35
35
  args:
36
36
  - "/bin/bash"
37
37
  - "-c"
38
- - "jpholidayp/jpholidayp || talentio-notifier remind-result"
38
+ - "holiday_jp-go || talentio-notifier remind-result"
39
39
  restartPolicy: Never
40
40
  ---
41
41
  apiVersion: batch/v1
@@ -50,7 +50,7 @@ spec:
50
50
  spec:
51
51
  containers:
52
52
  - name: talentio-notifier
53
- image: pyama/talentio-notifier:0.3.5
53
+ image: pyama/talentio-notifier:0.3.6
54
54
  resources:
55
55
  requests:
56
56
  cpu: 50m
@@ -76,5 +76,5 @@ spec:
76
76
  args:
77
77
  - "/bin/bash"
78
78
  - "-c"
79
- - "jpholidayp/jpholidayp || talentio-notifier remind-interview"
79
+ - "holiday_jp-go || talentio-notifier remind-interview"
80
80
  restartPolicy: Never
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.description = 'nofity command for talentio.'
11
11
  spec.homepage = 'https://github.com/pyama86/talentio-notifier'
12
12
  spec.license = 'MIT'
13
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
14
14
 
15
15
  spec.metadata['homepage_uri'] = spec.homepage
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talentio-notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: 2.3.0
141
+ version: 3.1.0
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="