ZMediumToMarkdown 2.3.4 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/User.rb +0 -2
  3. metadata +6 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91bc15c27236b9b19f97a066cbb71881ce0ff1a40f09cb8d6052d93949baff26
4
- data.tar.gz: 750b66318e9bd2d109dae14a61c28b06a4ce96215039f5db9db7c0362bfca5ca
3
+ metadata.gz: 406b61ab4281249d58e3eb2ad4ac02ffd5988d96d9da37037682d83e68a6a188
4
+ data.tar.gz: 18e1fd9c5bbc8ea78447852af060ec97418c0ececf50574214a7e8a4a0b3482b
5
5
  SHA512:
6
- metadata.gz: c61fc663b69e16845350b31458a122fb8f1461f7edc0b0209b3ca53d4d761d163bbae5f9fafdb76ba1fd93c6d285c821254e2202f360ff86fcff2f8eb6993930
7
- data.tar.gz: e017f3072608d699c7ec477d1f3488b0cea4597da87d8d2515922f9d6562cd9a087557e4d559cc4a473b304c810afb87d198fed6ee643ba995ca588bfbd03674
6
+ metadata.gz: 86fcdb86f57b78737ce465c5ee447a126cf59bd1e2d3f9280bd797f2b18f96efc3c0c7d792a9b4d93c7cd736dc6714843287f9c3273dffe69ba581cd0c34f219
7
+ data.tar.gz: f6ef68d1737f2a14b6ec6b8ea7385fec7bce06234f091f2b72eebe74892d11bd03be5850c7b5cce7fa12e7a425fefd98db4c9290aad96129bd7838b63d50aee6
data/lib/User.rb CHANGED
@@ -39,8 +39,6 @@ class User
39
39
  body = Request.body(Request.URL("https://medium.com/_/graphql", "POST", query))
40
40
  json = JSON.parse(body)
41
41
 
42
- puts body
43
-
44
42
  nextInfo = json&.dig(0, "data", "userResult", "homepagePostsConnection", "pagingInfo", "next")
45
43
  postsInfo = json&.dig(0, "data", "userResult", "homepagePostsConnection", "posts")
46
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZMediumToMarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZhgChgLi
@@ -14,22 +14,16 @@ dependencies:
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.14.3
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: 1.16.0
19
+ version: 1.15.6
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.14.3
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: 1.16.0
26
+ version: 1.15.6
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: net-http
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -113,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
107
  - !ruby/object:Gem::Version
114
108
  version: '0'
115
109
  requirements: []
116
- rubygems_version: 3.0.3
110
+ rubygems_version: 3.1.6
117
111
  signing_key:
118
112
  specification_version: 4
119
113
  summary: This project can help you to make an auto-sync or auto-backup service from