wechat 0.11.5 → 0.11.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -5
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/lib/generators/wechat/config_generator.rb +0 -2
- data/lib/generators/wechat/session_generator.rb +0 -2
- data/lib/wechat/api_loader.rb +7 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13a9ee494b1cd4d180d568534218b84c00d096d9437310e9535557b38957871c
|
4
|
+
data.tar.gz: ae888cf17a643f439314fb30d283dc37a5ee6935a597f39db56344a6ced3e345
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d2145947a65a320695573545c0c2e8e13c34b18a3805b9993194fdd64f3ce531b39e82285740d0be0b12886e597565fa70298eff406cb032741018599e2c90
|
7
|
+
data.tar.gz: 420c2c2f98a1647da669c92509f30f2fd393738f2a6f51e6d3a8ad714c4dd650a987bf5f73501a936f1b2236e1c7ec8a1858d56313f59f70e7635e068cf61822
|
checksums.yaml.gz.sig
CHANGED
@@ -1,5 +1,2 @@
|
|
1
|
-
�
|
2
|
-
|
3
|
-
�m�БF�XBq���:�D^��w���v|����ͿO�pn�+���a�����껅�h"�����)��1��p�A��5��C0����AWp��u�ˑ�\�x��ub�X�_S{N�F$%�a\�ZU��۟-�N
|
4
|
-
�曵.���k�����X�PI�ج��P�q�WT{ɷHRK�=q#��
|
5
|
-
� BKT$'��ck�V�6 Ѧ̈́*��Cl�[f�,,�v����8��#HD���P��|��C� �j�Dz�_
|
1
|
+
��Ïn���B:�D7��!��2��[#2̫�͌�[ ��?��8�Ic��yah� ���E����Ȧ��5�*�q��Q��0���}�-ϗ�bT���H����;�)��*��@5G2��<�rz9��R��)�Pv��K�1���;�����������GߖT�|Ed��ʷi���0�복��Փ~Ԥ���c���=�q֝��E�����|�����^t؋n}��#�T6@`���K����t�4P~9)�,eR2�.��_v>�~#r']y���Ā�0�u#h�覗`|���Č��;nk���y'S�w �(�4���@Ӽ�B08�=�9��X��f;�3�Hj��5�@yƱ��M�J.�
|
2
|
+
p
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v0.11.6 (released at 09/02/2019)
|
4
|
+
|
5
|
+
* Fix private method `next_migration_number` introduced at #267, by @zpdsky #270
|
6
|
+
* Give more clear warning about missing Rails in console. by @emtfe #268
|
7
|
+
|
3
8
|
## v0.11.5 (released at 08/30/2019)
|
4
9
|
|
5
10
|
* Add rubocop check in CI by @hophacker #267
|
data/lib/wechat/api_loader.rb
CHANGED
@@ -97,9 +97,13 @@ module Wechat
|
|
97
97
|
private_class_method def self.resolve_config_file(config_file, env)
|
98
98
|
return unless File.exist?(config_file)
|
99
99
|
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
begin
|
101
|
+
# rubocop:disable Security/YAMLLoad
|
102
|
+
raw_data = YAML.load(ERB.new(File.read(config_file)).result)
|
103
|
+
# rubocop:enable Security/YAMLLoad
|
104
|
+
rescue NameError
|
105
|
+
puts "WARNING: If using 'Rails.application.credentials.wechat_secret!' in wechat.yml, you need run in 'rails c' and access via 'Wechat.api' or gem 'figaro' instead."
|
106
|
+
end
|
103
107
|
configs = {}
|
104
108
|
if env
|
105
109
|
# Process multiple accounts when env is given
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wechat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Skinnyworm
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
2Gz/SZ1dgCkJpJU45GNrhatKx3kyg8eC5IHekNrEvJNJqPl0VdRIs/GtUkQyk+np
|
36
36
|
3kTPkfLMsAZznXo3bzMe0V5TB4+a7pFEK1nN/htWrOVkIi/3
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-09-02 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: activesupport
|
metadata.gz.sig
CHANGED
Binary file
|