slackify 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/slackify/configuration.rb +5 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b004a0a3eb23a883c606b81d616c09a4ad2a197f9120152b7a82678b844346df
|
|
4
|
+
data.tar.gz: 2a5dc0b466fff1f05a55ae8e164817734fe28191eead44f9c1671e1dfba4bfe6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f4449f96003b07d5cfe0441766cb0e85adc57bd86c1b7ecc0482bdd25df113f8868272bc01e92ea1e25021c3db89899b0d9ca917148651e73f7063817367e9d
|
|
7
|
+
data.tar.gz: 6c3720e2f6c28113df12aedf494cd857980ec8bd6e3adc9bed7199f2168df6d753bf722e367e269f95401f6e2c37b624b213c90a59fb682c2826d79e9024c538
|
|
@@ -71,7 +71,11 @@ module Slackify
|
|
|
71
71
|
def read_handlers_yaml
|
|
72
72
|
raise 'config/handlers.yml does not exist' unless File.exist?("#{Rails.root}/config/handlers.yml")
|
|
73
73
|
|
|
74
|
-
YAML.
|
|
74
|
+
if YAML.respond_to?(:unsafe_load_file)
|
|
75
|
+
YAML.unsafe_load_file(Rails.root.join("config/handlers.yml")) || []
|
|
76
|
+
else
|
|
77
|
+
YAML.load_file("#{Rails.root}/config/handlers.yml") || []
|
|
78
|
+
end
|
|
75
79
|
end
|
|
76
80
|
end
|
|
77
81
|
end
|
metadata
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slackify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Leger
|
|
8
8
|
- Michel Chatmajian
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2019-12-11 00:00:00.000000000 Z
|
|
@@ -139,7 +139,7 @@ licenses:
|
|
|
139
139
|
metadata:
|
|
140
140
|
source_code_uri: https://github.com/jusleg/slackify
|
|
141
141
|
changelog_uri: https://github.com/jusleg/slackify/blob/master/CHANGELOG.md
|
|
142
|
-
post_install_message:
|
|
142
|
+
post_install_message:
|
|
143
143
|
rdoc_options: []
|
|
144
144
|
require_paths:
|
|
145
145
|
- lib
|
|
@@ -154,8 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
154
154
|
- !ruby/object:Gem::Version
|
|
155
155
|
version: '0'
|
|
156
156
|
requirements: []
|
|
157
|
-
rubygems_version: 3.3.
|
|
158
|
-
signing_key:
|
|
157
|
+
rubygems_version: 3.0.3.1
|
|
158
|
+
signing_key:
|
|
159
159
|
specification_version: 4
|
|
160
160
|
summary: Slackbot framework for Rails using the Events API
|
|
161
161
|
test_files: []
|