wechat-core 0.4.2 → 1.0
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 +5 -5
- data/CHANGELOG.md +12 -6
- data/Gemfile.lock +27 -24
- data/ROADMAP.md +13 -1
- data/lib/wechat/core/version.rb +1 -1
- data/wechat-core.gemspec +4 -4
- metadata +13 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2b8c7807e62ea30f7f58700085d58c896b7912d9ed607f2691e65103930b17f8
|
|
4
|
+
data.tar.gz: 2495f4c459e434311e2236893ca21d4ad086940cd2d1df632230e1a1122c711b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
|
5
|
-
activesupport (
|
|
6
|
-
httpclient (
|
|
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 (
|
|
11
|
+
activesupport (6.0.2.2)
|
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
13
|
-
i18n (
|
|
13
|
+
i18n (>= 0.7, < 2)
|
|
14
14
|
minitest (~> 5.1)
|
|
15
15
|
tzinfo (~> 1.1)
|
|
16
|
-
|
|
16
|
+
zeitwerk (~> 2.2)
|
|
17
|
+
concurrent-ruby (1.1.6)
|
|
17
18
|
diff-lcs (1.3)
|
|
18
19
|
httpclient (2.8.3)
|
|
19
|
-
i18n (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
rspec-
|
|
25
|
-
rspec-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
31
|
-
rspec-mocks (3.
|
|
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.
|
|
34
|
-
rspec-support (3.
|
|
35
|
+
rspec-support (~> 3.6.0)
|
|
36
|
+
rspec-support (3.6.0)
|
|
35
37
|
thread_safe (0.3.6)
|
|
36
|
-
tzinfo (1.2.
|
|
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 (~>
|
|
44
|
-
rake (~>
|
|
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.
|
|
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.
|
|
54
|
+
## v1.2
|
|
55
|
+
|
|
44
56
|
1. Logo wrapper class
|
data/lib/wechat/core/version.rb
CHANGED
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', '~>
|
|
30
|
-
spec.add_development_dependency 'rake', '~>
|
|
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', '
|
|
34
|
-
spec.add_dependency 'httpclient', '
|
|
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
|
+
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:
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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
|
-
|
|
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 微信核心库
|