git-trend 1.2.9 → 1.3.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
2
  SHA256:
3
- metadata.gz: c515ab8268a8e8e5f67f8a17931e813d5989dabd94f33395583286662bc0b791
4
- data.tar.gz: d6937ec921f004f2d951a9d5da9d410c72982440cb824ad92abe095361c10165
3
+ metadata.gz: 323d3cdcc6a5b98203e5ece49d36d138889ec29c1ec19468e838bb3434fd2c88
4
+ data.tar.gz: b3baf1505331b32e0ce86cf088687b9655f0757ed85d339bb35814b2ee84a06e
5
5
  SHA512:
6
- metadata.gz: 6950a80e2186bf6742702f7f00261ef1c643ce893db17f2000def3f647407804b4de6f0ea5cf398027f8aa5e842672e4d1b6c22810cf791bf9ea04ffa15acc0a
7
- data.tar.gz: 719d208ea9cf6e008667007dce28838197d06ff8cdb5360c146195760e2158b4376a77a95ea9dc68cb10e0bec07afb765084e68ee3bfa50b43dd6c5f71664fb8
6
+ metadata.gz: e5c0976042644c9dfd4586be12d139657c2cb2fb7732f1fef028b357d4f4e7b11f78892e3e400fd7476224e00abf8806f9087d1cda244c7f6dbbff7713aebc53
7
+ data.tar.gz: 2a0f4c8bdbff6e03a83e43233825f98c67ff0156f2185d2b6e4fbe4776b64b54c5dcc1a169f4c1f868b31a61cb9522b899b967bd3d3f11a753682c6e864ca356
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.3.0 (Mon Mar 13 2023)
2
+
3
+ - Fix changing HTML structure [8de4920]
4
+
1
5
  ## v1.2.9 (Mon Mar 13 2023)
2
6
 
3
7
  - Upgrade gem [3f79648]
@@ -53,7 +53,7 @@ module GitTrend
53
53
  page.search(".Box-row").map do |content|
54
54
  icon_area = content.search(".f6.color-fg-muted.mt-2")
55
55
  Project.new(
56
- name: content.search("h1 a").attr("href").to_s.sub(/\A\//, ""),
56
+ name: content.search("h2 a").attr("href").to_s.sub(/\A\//, ""),
57
57
  description: content.search(".col-9.color-fg-muted.my-1.pr-4").text.strip,
58
58
  lang: content.search('span[itemprop="programmingLanguage"]').text.strip,
59
59
  all_star_count: comma_to_i(icon_area.search("a:has(svg.octicon-star)").text.strip),
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = "1.2.9"
2
+ VERSION = "1.3.0"
3
3
  end