qiita_trend 0.4.5 → 0.4.6
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/.circleci/config.yml +2 -8
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/lib/qiita_trend/trend.rb +1 -1
- data/lib/qiita_trend/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132ff1d32ba9c8a824e07a7e3d2c6823098242ec82c9088b311d11d966e97edb
|
4
|
+
data.tar.gz: b84e41afe0e2d10d00b1fa3afc699b47ac3ae4f0aa11e80eec0accbd4d7a0fd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0dab4659f2944b0a9edd128a23f897dfe35101632c192a40296c0c49de224f865345c7e4cef7e0e92e65d56873afec3f1674eb21079c06fea1f586023d67b46
|
7
|
+
data.tar.gz: 0f36488b2bb23ce076ff9bf9e34141b26f3c83883caec6ed15952fc3964d325cea64ac25fbb4e817931bada3f1f6c40375747a161faf59a54b7b938b00cae51b
|
data/.circleci/config.yml
CHANGED
@@ -51,19 +51,13 @@ commands:
|
|
51
51
|
|
52
52
|
deploy-rubygems:
|
53
53
|
steps:
|
54
|
-
#
|
55
|
-
#
|
56
|
-
- add_ssh_keys:
|
57
|
-
fingerprints:
|
58
|
-
- "38:d2:72:5e:9f:67:93:9a:ec:95:94:a2:0e:bf:41:9e"
|
59
|
-
|
60
|
-
# ref:https://circleci.com/docs/2.0/gh-bb-integration/#establishing-the-authenticity-of-an-ssh-host
|
54
|
+
# https://discuss.circleci.com/t/the-authenticity-of-github-host-cant-be-stablished/33133 と同じ現象で job が進まなくなるので以下の記事を参考に実装
|
55
|
+
# ref:https://circleci.com/docs/ja/2.0/gh-bb-integration/#ssh-%E3%83%9B%E3%82%B9%E3%83%88%E3%81%AE%E4%BF%A1%E9%A0%BC%E6%80%A7%E3%81%AE%E7%A2%BA%E7%AB%8B
|
61
56
|
- run:
|
62
57
|
name: Avoid hosts unknown for github
|
63
58
|
command: |
|
64
59
|
mkdir -p ~/.ssh
|
65
60
|
echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
|
66
|
-
bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==
|
67
61
|
' >> ~/.ssh/known_hosts
|
68
62
|
|
69
63
|
- run:
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -39,7 +39,7 @@ $ ruby -r qiita_trend -e "pp QiitaTrend::Trend.new.items"
|
|
39
39
|
"https://qiita-image-store.s3.amazonaws.com/0/15319/profile-images/1473684249",
|
40
40
|
"user_page"=>"https://qiita.com/akameco",
|
41
41
|
"article"=>"https://qiita.com/akameco/items/e12377e55e379d29636e",
|
42
|
-
"
|
42
|
+
"published_at"=>"2019-08-05T01:17:34Z",
|
43
43
|
"likes_count"=>158,
|
44
44
|
"is_new_arrival"=>false},
|
45
45
|
{"title"=>"Excelで誰でも簡単言語処理 (感情推定, 固有表現抽出, キーワード抽出, 文類似度推定 etc...)",
|
@@ -47,7 +47,7 @@ $ ruby -r qiita_trend -e "pp QiitaTrend::Trend.new.items"
|
|
47
47
|
"user_image"=>"https://avatars2.githubusercontent.com/u/19549989?v=4",
|
48
48
|
"user_page"=>"https://qiita.com/Harusugi",
|
49
49
|
"article"=>"https://qiita.com/Harusugi/items/535874c0456dbc4db231",
|
50
|
-
"
|
50
|
+
"published_at"=>"2019-08-04T23:01:22Z",
|
51
51
|
"likes_count"=>103,
|
52
52
|
"is_new_arrival"=>false},
|
53
53
|
...
|
@@ -173,7 +173,7 @@ irb(main):001:0> pp QiitaTrend::Trend.new.items[0]
|
|
173
173
|
"https://qiita-image-store.s3.amazonaws.com/0/15319/profile-images/1473684249",
|
174
174
|
"user_page"=>"https://qiita.com/akameco",
|
175
175
|
"article"=>"https://qiita.com/akameco/items/e12377e55e379d29636e",
|
176
|
-
"
|
176
|
+
"published_at"=>"2019-08-05T01:17:34Z",
|
177
177
|
"likes_count"=>158,
|
178
178
|
"is_new_arrival"=>false}
|
179
179
|
```
|
@@ -213,7 +213,7 @@ irb(main):001:0> pp QiitaTrend::Trend.new.items[0]
|
|
213
213
|
<td></td>
|
214
214
|
</tr>
|
215
215
|
<tr>
|
216
|
-
<td>
|
216
|
+
<td>published_at</td>
|
217
217
|
<td>記事作成日</td>
|
218
218
|
<td></td>
|
219
219
|
</tr>
|
data/lib/qiita_trend/trend.rb
CHANGED
@@ -35,7 +35,7 @@ module QiitaTrend
|
|
35
35
|
result['user_image'] = user_image(trend['node']['author']['profileImageUrl'])
|
36
36
|
result['user_page'] = "#{Page::QIITA_URI}#{trend['node']['author']['urlName']}"
|
37
37
|
result['article'] = "#{Page::QIITA_URI}#{trend['node']['author']['urlName']}/items/#{trend['node']['uuid']}"
|
38
|
-
result['
|
38
|
+
result['published_at'] = trend['node']['publishedAt']
|
39
39
|
result['likes_count'] = trend['node']['likesCount']
|
40
40
|
result['is_new_arrival'] = trend['isNewArrival']
|
41
41
|
value << result
|
data/lib/qiita_trend/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiita_trend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dodonki1223
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|