git-trend 1.2.6 → 1.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43e721fb1331de30516e6cd478719239932f6557479053c95439b78688903254
4
- data.tar.gz: 6e174302903ab9a97114617a3dd6240b1035f4cfe0e866100c3df740efdd8bc3
3
+ metadata.gz: a65ac81f0c46242984a82372c16a8db1f859885eefb831376421a8e87c5b0faa
4
+ data.tar.gz: ae3789a82ff1882c15881e17eca7e801d9504f844e4a374ce86f63d029c557fc
5
5
  SHA512:
6
- metadata.gz: a806614096edb1f27b64debf397352b891f04a710fa6934796bdbed65dfdd5f0d01dc77c011a4fac43b7ed7c3e836572b28ff20da69ca73823b3086a635251ce
7
- data.tar.gz: c4f10882bc41ac43f5d32fc471f83ef2dcae4de2899cc9886919f1638e51178fb8d15cd819f45bcefdad4e58818e49d2faf9af8c14885227c9a22b14ab7a1246
6
+ metadata.gz: a1ef7c5e7d4508eccbd50012f35dc3cb0765aeb3dbd0f25c6d9051a1daa8ddaaac45ec0b8a1bb2f042ddf969d514246b57f731fc8950d0fe66a7608926f9f29c
7
+ data.tar.gz: 65d1df33785db918f6f5dc1be9594c586c698041b126176f3bde342039dec8af100eb0ac98a994cff7781161ffa83fb2c356aebd3d94f0084ec6c2c35df58ca1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.2.7 (Sun Aug 8)
2
+
3
+ - Correspond to the new structure of HTML [a708fd4]
4
+
1
5
  ## v1.2.6 (Sun Aug 8)
2
6
 
3
7
  - Update gems
@@ -44,7 +48,7 @@
44
48
 
45
49
  ## v1.1.5 (Sat Jul 15 2017)
46
50
 
47
- - Correspond to the new structure of html [22189f6]
51
+ - Correspond to the new structure of HTML [22189f6]
48
52
 
49
53
  ## v1.1.4 (Tue Nov 22 2016)
50
54
 
@@ -51,10 +51,10 @@ module GitTrend
51
51
 
52
52
  def generate_project(page)
53
53
  page.search(".Box-row").map do |content|
54
- icon_area = content.search(".f6.text-gray.mt-2")
54
+ icon_area = content.search(".f6.color-text-secondary.mt-2")
55
55
  Project.new(
56
56
  name: content.search("h1 a").attr("href").to_s.sub(/\A\//, ""),
57
- description: content.search(".col-9.text-gray.my-1.pr-4").text.strip,
57
+ description: content.search(".col-9.color-text-secondary.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),
60
60
  fork_count: comma_to_i(icon_area.search("a:has(svg.octicon-repo-forked)").text.strip),
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = "1.2.6"
2
+ VERSION = "1.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-trend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort