gems-license-finder 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: de26f66e1d2e1c5173efe15e565ec95276394bdf
4
- data.tar.gz: bdf3469f435de7b423242b934c0ad02ee58f7b22
3
+ metadata.gz: c41e9eae92a86ce8a8a269c79aac8e0d9f31259c
4
+ data.tar.gz: 3fe7aec6038cd3b3b62bdc9f6221b6f4c2f8a995
5
5
  SHA512:
6
- metadata.gz: 4d90906848e6115a142a59c8560e9c99bd78248c34eafd70fdff30a5375757ff66ac3e0ebce6ef9cb9cf46081c8844b5a06b728e7801b9eede328bfb02454bc8
7
- data.tar.gz: ecb1d54f048f93ebf812e72119b51c8375a37ecc65806e4215dd3eb3c48e6bbfc57ebbc8a964d08b1c7e81dbdcc31903dfa9b35cd9f1ee2187c017c3e7227ac5
6
+ metadata.gz: 5d1ec69c6bcd9af6138fb32a64f64734f4572b77c73caa1e636f7fecbc1a25d394fb0d3f7cee481f1671e54921d00344b4fed525c3d32263a9c294e8121a8da7
7
+ data.tar.gz: d8af3cfdce391e59ed5a947477d6bde38c0a757678c4e94f1409a110e4585a4626970cbeaf0adf9eef6838538dc1c0f91bc90a53d00f37ee2513bccd84adf1d0
@@ -59,7 +59,7 @@ module GemsLicenseFinder
59
59
  info = Hash[content.scan(/<a href="(.*?)" rel.*>(.*?)</)].invert
60
60
  type, url = normalize_licence(
61
61
  (utf8_match(content,'<h5>Licenses<\/h5>.*?<p>(.*?)<')[1] rescue ""))
62
- description = (utf8_match(content,'<div id="markup">.*?<p>(.*?)<')[1].
62
+ description = (utf8_match(content,'gem__desc.*?<p>(.*?)<')[1].
63
63
  strip.squeeze(" ").gsub(/\n/,"") rescue nil)
64
64
 
65
65
  info.merge({ license_type: type, license_url: url, description: description })
@@ -1,3 +1,3 @@
1
1
  module GemsLicenseFinder
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gems-license-finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eran Barak Levi