weichat_rails 2.0.0 → 3.0.0

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: 6947568df2f6ecc2e476ce76782c0bb8aa8fb0c258e23c7650961ffed0537286
4
- data.tar.gz: d2a55100220b51f4b564f8d713877d3e3e47efdd4260cbc48e3845840f27b8db
3
+ metadata.gz: d83662990f42da7759048baf54b95a07409763fbc4b6557c6d35db956bbd22e9
4
+ data.tar.gz: 218de24cfb2775865799bbc348c90577d2721bf8124ec23a41ce8dcac9ef8bdf
5
5
  SHA512:
6
- metadata.gz: a6d8b90c02ef4cb79d4ddb91123b9150fae916fed3ad6916fce707c682112a62cbb650b63fc90dfea43bfd6c03ebf8da73a4bced3d7e3e820e062176ac46e997
7
- data.tar.gz: 53f50eb90fc4ed1e93db47dfe4b83a8230761e2cebabf8e022d8658a47a6d87bca33c362b9b7c0de06cb4bfecabbe36bc84d053ce05e9f933c602435678181fd
6
+ metadata.gz: d5d6959c8c4e53994d678fb9f70eb6fc13ef8e1ddfbdbcbbc4174d29150a6a23334f9cc2399dfa7daf690551e3bb463386639f537cff8f2a82f5fd58fc89c156
7
+ data.tar.gz: 70c4d2e1c5bb551f8fbb2b8b20085d5d36ecc8eae03ec094a07728b7231c4c2b166f1b901d17d8696fbc6665ae67334045f98edb7afb3789796cc296aefff844
@@ -1,3 +1,3 @@
1
1
  module WeichatRails
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/lib/weichat_rails.rb CHANGED
@@ -42,12 +42,11 @@ module WeichatRails
42
42
 
43
43
  #if use rails with dalli,you can set config.cache = Rails.cache
44
44
  self.config.cache ||= if defined?(::Rails)
45
- Rails.cache
46
- else
47
- Dalli::Client.new('localhost:11211',namespace: config.cache_namespace,conpress: true)
48
- end
45
+ Rails.cache
46
+ else
47
+ Dalli::Client.new('localhost:11211',namespace: config.cache_namespace,conpress: true)
48
+ end
49
49
  end
50
-
51
50
  if defined? ActionController::Base
52
51
  class ActionController::Base
53
52
  def self.wechat_responder opts={}
@@ -27,6 +27,5 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_development_dependency "bundler", '~> 2.2', '>= 2.2.3'
29
29
  spec.add_development_dependency "rake" , '~> 13.0', '>= 13.0.6'
30
- #spec.add_development_dependency "rails", "> 3.2"
31
30
  spec.add_development_dependency 'rspec', '~> 3.10', '>= 3.10.0'
32
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weichat_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - javy_liu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-24 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri