ruboty-qiita-github 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: caf076de8647564c4cf76b70a6e79068e26a1cf64a9d317c0ff2954db458aca6
4
- data.tar.gz: 13e155d2450644cd6277502e9b8024e4a0521573cc21655a22ad289b60575071
3
+ metadata.gz: 5007820d4dbb9d3e1c2f1e14865579ef10202d7a2fcaf88811f4a76283dd0d72
4
+ data.tar.gz: 58389cddf9a0469d30363b1b1f5bb7d30f8c4d71c99f3f0f6e3ee4cc0bbb3df6
5
5
  SHA512:
6
- metadata.gz: dacf9494aa6a174e25a6ce677016d8d38462a23b92b7636f92aa8b5a6763fb6cd9729de624e7234a0c1b7969534d6c0e49c5c04b5bbda8c821658b4e6e5014a5
7
- data.tar.gz: 74ea9024b5403dbba94ab085145b50dfadf4a439800884c6539cfc33e2f7d7afadf84c8d5787316917f2d9ff72d59c600dc568b52101858bb1d15cbfe77438ba
6
+ metadata.gz: 21289475fac1ff633501bb31ae366a294c55e119de7c0f401e5b5eceafd6c90fd28fac825c6888e2018d1c1cdcfe3cdede09057ab7a779971d5d8ac97bcebf06
7
+ data.tar.gz: dc06bc14e7a4c8cbad5607de6058dbd602dcaca6d697ff5129e78c70db421f270f16bc207e703a681dab1b51c993519da6d10f462274f4602cbb200fa5a94885
data/.rubocop.yml CHANGED
@@ -7,3 +7,6 @@ require:
7
7
 
8
8
  AllCops:
9
9
  NewCops: enable
10
+
11
+ Gemspec/DevelopmentDependencies:
12
+ EnforcedStyle: gemspec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.3.1
4
+ - Enable to change migration warning message
5
+
3
6
  ## 0.3.0
4
7
  - Fix a bug that deploy pr messages trigger other actions also
5
8
  - Warn when deployment pull request includes database migration
@@ -9,7 +9,10 @@ module Ruboty
9
9
  def create
10
10
  super
11
11
 
12
- message.reply('@here :warning: This deployment includes some database migrations') if database_schema_changed?
12
+ return unless database_schema_changed?
13
+
14
+ message.reply(ENV.fetch('MIGRATION_WARNING_MESSAGE',
15
+ '@here :warning: This deployment includes some database migrations'))
13
16
  end
14
17
 
15
18
  # e.g. master
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruboty
4
4
  module Github
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-qiita-github
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
  - Ryo Nakamura
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-14 00:00:00.000000000 Z
12
+ date: 2023-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.1.4
235
+ rubygems_version: 3.4.1
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Manage GitHub via Ruboty.