wechat 0.11.5 → 0.11.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 332ed5cc2f20211d70e994fc4549534748c9400074ece51debd7e4d147b4a1fd
4
- data.tar.gz: 6cb347a738b602628c6dadae3ef2d90cddb9c1baff68e7e66b9bc88cc14a8643
3
+ metadata.gz: 13a9ee494b1cd4d180d568534218b84c00d096d9437310e9535557b38957871c
4
+ data.tar.gz: ae888cf17a643f439314fb30d283dc37a5ee6935a597f39db56344a6ced3e345
5
5
  SHA512:
6
- metadata.gz: 3b293b5f93fcc0f304af98f7664c73469595028b4bc38d14c60bf2506243c288d59964e17acaea563c7922493b39e67bc56ede37e638fecaf4f83c332dbb60ca
7
- data.tar.gz: 640d2a2b5fc743189f03f680c03404cc991ff6b5e50f84f802c520eed10d7df1690080ae11ac9f1b22ada9b4f45a5f1c6a8ba5e8f01a9043026ce20ed39569ee
6
+ metadata.gz: a5d2145947a65a320695573545c0c2e8e13c34b18a3805b9993194fdd64f3ce531b39e82285740d0be0b12886e597565fa70298eff406cb032741018599e2c90
7
+ data.tar.gz: 420c2c2f98a1647da669c92509f30f2fd393738f2a6f51e6d3a8ad714c4dd650a987bf5f73501a936f1b2236e1c7ec8a1858d56313f59f70e7635e068cf61822
@@ -1,5 +1,2 @@
1
- o����6TK
2
- [|%��)��֜��xʰJ���.�����"9?
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̫�͌�[ ��?��8Ic��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
@@ -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
@@ -23,8 +23,6 @@ module Wechat
23
23
  end
24
24
 
25
25
  class << self
26
- private
27
-
28
26
  def next_migration_number(dirname)
29
27
  ::ActiveRecord::Generators::Base.next_migration_number(dirname)
30
28
  end
@@ -23,8 +23,6 @@ module Wechat
23
23
  end
24
24
 
25
25
  class << self
26
- private
27
-
28
26
  def next_migration_number(dirname)
29
27
  ::ActiveRecord::Generators::Base.next_migration_number(dirname)
30
28
  end
@@ -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
- # rubocop:disable Security/YAMLLoad
101
- raw_data = YAML.load(ERB.new(File.read(config_file)).result)
102
- # rubocop:enable Security/YAMLLoad
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.5
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-08-30 00:00:00.000000000 Z
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