customer_service_im 0.7.0 → 0.11.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: d1c17798597ac31c4ff215502ab3766fc668c5378d1b82b7611eafe72030c76e
4
- data.tar.gz: 72ecaff85227c5c8aea3a477d5ccb18e1aff1e3d3e4eb6f81f27df41114d5074
3
+ metadata.gz: f2b3772c30a1022d27d4b3110b09e3a451d5899016fdf59a1d36293c5e6f3eb6
4
+ data.tar.gz: 19bf4342fa89caf4bf3e5e35ef9e0c11cbe270654d5c001ba98d6ba65f0decf4
5
5
  SHA512:
6
- metadata.gz: 2cbc740a59fb1f26851047f65838fe1937f3e30a6b61d3e510cab6c26f49cae4c332e8ab0923ca983938eb0320f5623c40e42cc2c5d305c9515e718dd0ff4225
7
- data.tar.gz: eba1e756eeb41c8fad3a9fa7b7d253396b77e4eef7696fbdda90374d6f0b643fadb1c25251a8584288579a79efc78f53edb2d7c582b265eeef827312f8c86603
6
+ metadata.gz: 5c65da60c3ed1e4262599a5b26d5bd6ce9dfebb0961b188e35db97c244551e7280cbe2425b82b75ebd150dfda6d8a2e0251e232ce2e93c2a5410958f7e7fac1a
7
+ data.tar.gz: ca2c7cfe0de0a82658e928f69d11162454b3e05be82d29bb41bf328eed42bd71e29fa9fa8597e81a0f7a6ffe28e630eb0b264efda0e4d193558618d0c476fb77
@@ -11,7 +11,7 @@ module CustomerServiceIm
11
11
 
12
12
  open_id = result.data[:openid]
13
13
 
14
- user = User.find_or_create_mp_user(open_id: open_id)
14
+ user = User.find_or_create_mp_user(open_id)
15
15
 
16
16
  render_200 user.as_json.merge({ token: token_user(user), conversation_id: user.conversation_ids.first })
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module CustomerServiceIm
2
- VERSION = '0.7.0'
2
+ VERSION = '0.11.0'
3
3
  end
@@ -3,5 +3,6 @@ class CustomerServiceIm::InstallGenerator < Rails::Generators::Base
3
3
 
4
4
  def copy_initializer
5
5
  copy_file "initializer.rb", "config/initializers/customer_service_im.rb"
6
+ generate "mini_program:install"
6
7
  end
7
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: customer_service_im
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ian