third_party_wxa 0.1.9 → 0.2.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 +4 -4
- data/Gemfile.lock +14 -1
- data/lib/third_party_wxa.rb +1 -1
- data/lib/third_party_wxa/plugin.rb +7 -0
- data/lib/third_party_wxa/version.rb +1 -1
- data/third_party_wxa.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef9b7a4028e6f9e91da280498c8cca7920b3709557dd3ff0b5bc8379b50e0264
|
|
4
|
+
data.tar.gz: 2fb0df6a23028e053a92877ec943de95bcb356c299e43f0d9dfed07a2c574f9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af357f7f9bb76ce45ebe4d89f360bc89fe6621f78632d80b3cd4be6150867c0da1a1dbfced97f8ee44dcbcea3e812cf0ae70dc1e754de7db0d651244e5f738fe
|
|
7
|
+
data.tar.gz: 0e60721a4e24f2453a9d317decc1c41db112964a2e5551d537cdac93605eb25902ed2d38914fb48e22de72a442eefc6753b0c9e5a03f3052e1ddc1b3f4c1a51c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
third_party_wxa (0.
|
|
4
|
+
third_party_wxa (0.2.0)
|
|
5
|
+
activesupport
|
|
5
6
|
json (>= 1.8.6)
|
|
6
7
|
redis
|
|
7
8
|
rest-client (>= 2.0)
|
|
@@ -9,14 +10,23 @@ PATH
|
|
|
9
10
|
GEM
|
|
10
11
|
remote: https://rubygems.org/
|
|
11
12
|
specs:
|
|
13
|
+
activesupport (5.2.2.1)
|
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
15
|
+
i18n (>= 0.7, < 2)
|
|
16
|
+
minitest (~> 5.1)
|
|
17
|
+
tzinfo (~> 1.1)
|
|
18
|
+
concurrent-ruby (1.1.5)
|
|
12
19
|
domain_name (0.5.20180417)
|
|
13
20
|
unf (>= 0.0.5, < 1.0.0)
|
|
14
21
|
http-cookie (1.0.3)
|
|
15
22
|
domain_name (~> 0.5)
|
|
23
|
+
i18n (1.6.0)
|
|
24
|
+
concurrent-ruby (~> 1.0)
|
|
16
25
|
json (2.2.0)
|
|
17
26
|
mime-types (3.2.2)
|
|
18
27
|
mime-types-data (~> 3.2015)
|
|
19
28
|
mime-types-data (3.2018.0812)
|
|
29
|
+
minitest (5.11.3)
|
|
20
30
|
netrc (0.11.0)
|
|
21
31
|
rake (10.4.2)
|
|
22
32
|
redis (4.1.2)
|
|
@@ -24,6 +34,9 @@ GEM
|
|
|
24
34
|
http-cookie (>= 1.0.2, < 2.0)
|
|
25
35
|
mime-types (>= 1.16, < 4.0)
|
|
26
36
|
netrc (~> 0.8)
|
|
37
|
+
thread_safe (0.3.6)
|
|
38
|
+
tzinfo (1.2.5)
|
|
39
|
+
thread_safe (~> 0.1)
|
|
27
40
|
unf (0.1.4)
|
|
28
41
|
unf_ext
|
|
29
42
|
unf_ext (0.0.7.6)
|
data/lib/third_party_wxa.rb
CHANGED
|
@@ -22,6 +22,13 @@ module ThirdPartyWxa
|
|
|
22
22
|
p "third party wxa use #{@token_store.class.to_s}"
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
def test_case
|
|
26
|
+
a = {z: 1, x: 2, c: 3}
|
|
27
|
+
p a.slice!(:z, :x)
|
|
28
|
+
p a
|
|
29
|
+
nil
|
|
30
|
+
end
|
|
31
|
+
|
|
25
32
|
def set_tickect ticket, expire_in
|
|
26
33
|
@component_verify_ticket = ticket
|
|
27
34
|
@ticket_expire_at = ThirdPartyWxa.cal_expire_at expire_in
|
data/third_party_wxa.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: third_party_wxa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hzy
|
|
@@ -38,6 +38,20 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 1.8.6
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: activesupport
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
56
|
name: redis
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|