wechat-core 0.4.2 → 1.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
- SHA1:
3
- metadata.gz: 1fb64c38de72269f3964193557840d1a082e8338
4
- data.tar.gz: a2f81055f5a1f6958a9b0b3d9ccf560dff71b3b4
2
+ SHA256:
3
+ metadata.gz: 2b8c7807e62ea30f7f58700085d58c896b7912d9ed607f2691e65103930b17f8
4
+ data.tar.gz: 2495f4c459e434311e2236893ca21d4ad086940cd2d1df632230e1a1122c711b
5
5
  SHA512:
6
- metadata.gz: f38dd883d10e79b7c9f5e5c5f9a3d351b8c89cf933c6184c49e3a4473411d90e4c27b7d3073f923eeeca5b55b1552378fc2f51aa34466bae1339d56166f95cd2
7
- data.tar.gz: '09791946ee19d6e59acb26c305ca2c9c73652613277dff4ec79d17beb9d2324914922acee6b939069fbdf2a56300797a454854f469e8a9513cbaa32cfd188092'
6
+ metadata.gz: 4641b00392450119b41e285994c0912a22d39e4a297e9f5fbc319e05dae9b2baf32e512416bfd113a8c426102a78942495f115511e5d9d86cbc8ea0929e078c5
7
+ data.tar.gz: 3f3214f8391dff6ae3f5ad574108b3aa0c042a95f83d8558c93832525d1f6936676de4371d99aaebf8caa478c0c7c13c3bfd09406fcb29e59e7254b77087f89f
data/CHANGELOG.md CHANGED
@@ -1,28 +1,33 @@
1
1
  # Wechat Core Change Log 微信核心库变更日志
2
2
 
3
3
  ## v0.1
4
+
4
5
  1. Common module
5
6
  2. Access Token wrapper class
6
7
 
7
8
  ## v0.2
9
+
8
10
  1. Server Address wrapper class
9
11
  2. Tiny Link wrapper class
10
12
 
11
13
  ## v0.3
14
+
12
15
  1. Follower wrapper class
13
16
  2. Follower Profile wrapper class
14
17
 
15
18
  ## v0.4
16
- 1. Improve the Common module to add the #get_json method & the #post_json method
17
- 2. Improve the Common module to add the #assert_present! method
18
- 3. Improve the Access Token wrapper class for the argument validation
19
- 4. Improve the Follower wrapper class for the argument validation
20
- 5. Improve the Follower Profile wrapper class for the argument validation
21
- 6. Improve the Server Address wrapper class for the argument validation
19
+
20
+ 1. Improved the Common module to add the #get_json method & the #post_json method
21
+ 2. Improved the Common module to add the #assert_present! method
22
+ 3. Improved the Access Token wrapper class for the argument validation
23
+ 4. Improved the Follower wrapper class for the argument validation
24
+ 5. Improved the Follower Profile wrapper class for the argument validation
25
+ 6. Improved the Server Address wrapper class for the argument validation
22
26
  7. Improve the Tiny Link wrapper class for the argument validation
23
27
  8. Improve the Access Token wrapper class to deprecate ::load method, use the Access Token ::create method instead
24
28
 
25
29
  ## v0.4.1
30
+
26
31
  1. Improve the Access Token wrapper class for the HTTP request
27
32
  2. Improve the Follower wrapper class for the HTTP request
28
33
  3. Improve the Follower Profile wrapper class for the HTTP request
@@ -30,6 +35,7 @@
30
35
  5. Improve the Tiny Link wrapper class for the HTTP request
31
36
 
32
37
  ## v0.4.2
38
+
33
39
  1. Improve the Access Token wrapper class for the HTTP request
34
40
  2. Improve the Follower wrapper class for the HTTP request
35
41
  3. Improve the Follower Profile wrapper class for the HTTP request
data/Gemfile.lock CHANGED
@@ -1,49 +1,52 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wechat-core (0.4.1)
5
- activesupport (>= 4.2)
6
- httpclient (>= 2.8)
4
+ wechat-core (1.0)
5
+ activesupport (~> 6.0)
6
+ httpclient (~> 2.8)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (5.0.2)
11
+ activesupport (6.0.2.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (~> 0.7)
13
+ i18n (>= 0.7, < 2)
14
14
  minitest (~> 5.1)
15
15
  tzinfo (~> 1.1)
16
- concurrent-ruby (1.0.5)
16
+ zeitwerk (~> 2.2)
17
+ concurrent-ruby (1.1.6)
17
18
  diff-lcs (1.3)
18
19
  httpclient (2.8.3)
19
- i18n (0.8.1)
20
- minitest (5.10.1)
21
- rake (10.5.0)
22
- rspec (3.5.0)
23
- rspec-core (~> 3.5.0)
24
- rspec-expectations (~> 3.5.0)
25
- rspec-mocks (~> 3.5.0)
26
- rspec-core (3.5.4)
27
- rspec-support (~> 3.5.0)
28
- rspec-expectations (3.5.0)
20
+ i18n (1.8.2)
21
+ concurrent-ruby (~> 1.0)
22
+ minitest (5.14.0)
23
+ rake (11.3.0)
24
+ rspec (3.6.0)
25
+ rspec-core (~> 3.6.0)
26
+ rspec-expectations (~> 3.6.0)
27
+ rspec-mocks (~> 3.6.0)
28
+ rspec-core (3.6.0)
29
+ rspec-support (~> 3.6.0)
30
+ rspec-expectations (3.6.0)
29
31
  diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.5.0)
31
- rspec-mocks (3.5.0)
32
+ rspec-support (~> 3.6.0)
33
+ rspec-mocks (3.6.0)
32
34
  diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.5.0)
34
- rspec-support (3.5.0)
35
+ rspec-support (~> 3.6.0)
36
+ rspec-support (3.6.0)
35
37
  thread_safe (0.3.6)
36
- tzinfo (1.2.3)
38
+ tzinfo (1.2.7)
37
39
  thread_safe (~> 0.1)
40
+ zeitwerk (2.3.0)
38
41
 
39
42
  PLATFORMS
40
43
  ruby
41
44
 
42
45
  DEPENDENCIES
43
- bundler (~> 1.11)
44
- rake (~> 10.0)
46
+ bundler (~> 2.0)
47
+ rake (~> 11.0)
45
48
  rspec (~> 3.0)
46
49
  wechat-core!
47
50
 
48
51
  BUNDLED WITH
49
- 1.13.6
52
+ 2.1.4
data/ROADMAP.md CHANGED
@@ -1,18 +1,22 @@
1
1
  # Wechat Core Road Map 微信核心库线路图
2
2
 
3
3
  ## v0.1
4
+
4
5
  1. Common module
5
6
  2. Access Token wrapper class
6
7
 
7
8
  ## v0.2
9
+
8
10
  1. Server Address wrapper class
9
11
  2. Tiny Link wrapper class
10
12
 
11
13
  ## v0.3
14
+
12
15
  1. Follower wrapper class
13
16
  2. Follower Profile wrapper class
14
17
 
15
18
  ## v0.4
19
+
16
20
  1. Improve the Common module to add the #get_json method & the #post_json method
17
21
  2. Improve the Common module to add the #assert_present! method
18
22
  3. Improve the Access Token wrapper class for the argument validation
@@ -23,6 +27,7 @@
23
27
  8. Improve the Access Token wrapper class to deprecate ::load method, use the Access Token ::create method instead
24
28
 
25
29
  ## v0.4.1
30
+
26
31
  1. Improve the Access Token wrapper class for the HTTP request
27
32
  2. Improve the Follower wrapper class for the HTTP request
28
33
  3. Improve the Follower Profile wrapper class for the HTTP request
@@ -30,6 +35,7 @@
30
35
  5. Improve the Tiny Link wrapper class for the HTTP request
31
36
 
32
37
  ## v0.4.2
38
+
33
39
  1. Improve the Access Token wrapper class for the HTTP request
34
40
  2. Improve the Follower wrapper class for the HTTP request
35
41
  3. Improve the Follower Profile wrapper class for the HTTP request
@@ -37,8 +43,14 @@
37
43
  5. Improve the Tiny Link wrapper class for the HTTP request
38
44
 
39
45
  ## v1.0
46
+
47
+ 1. Improve the Gem Spec
48
+
49
+ ## v1.1
50
+
40
51
  1. Improve the Follower & Follower Profile wrapper class to support the Keyword Arguments
41
52
  2. Removed the depreated classes and methods
42
53
 
43
- ## v1.1
54
+ ## v1.2
55
+
44
56
  1. Logo wrapper class
@@ -1,5 +1,5 @@
1
1
  module Wechat
2
2
  module Core
3
- VERSION = '0.4.2'.freeze
3
+ VERSION = '1.0'.freeze
4
4
  end
5
5
  end
data/wechat-core.gemspec CHANGED
@@ -26,11 +26,11 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = [ 'lib' ]
28
28
 
29
- spec.add_development_dependency 'bundler', '~> 1.11'
30
- spec.add_development_dependency 'rake', '~> 10.0'
29
+ spec.add_development_dependency 'bundler', '~> 2.0'
30
+ spec.add_development_dependency 'rake', '~> 11.0'
31
31
  spec.add_development_dependency 'rspec', '~> 3.0'
32
32
 
33
- spec.add_dependency 'activesupport', '>= 4.2'
34
- spec.add_dependency 'httpclient', '>= 2.8'
33
+ spec.add_dependency 'activesupport', '~> 6.0'
34
+ spec.add_dependency 'httpclient', '~> 2.8'
35
35
 
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wechat-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Topbit Du
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2020-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '11.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '11.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,28 +56,28 @@ dependencies:
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '4.2'
61
+ version: '6.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.2'
68
+ version: '6.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: httpclient
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '2.8'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.8'
83
83
  description: Wechat Core Library is a wrapper for calling the core Wechat APIs. 微信核心库封装了微信核心API的调用。
@@ -129,8 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubyforge_project:
133
- rubygems_version: 2.6.4
132
+ rubygems_version: 3.1.2
134
133
  signing_key:
135
134
  specification_version: 4
136
135
  summary: Wechat Core Library 微信核心库