nod 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/nod.rb +0 -1
  2. data/lib/nod/gem_savvy.rb +2 -0
  3. metadata +1 -12
data/lib/nod.rb CHANGED
@@ -15,7 +15,6 @@ class Nod
15
15
  end
16
16
 
17
17
  def get_license_report_for_gem(name)
18
- # puts "processing gem #{name}"
19
18
  url = @gem_savvy.git_clone_url name
20
19
  report = {}
21
20
 
@@ -43,6 +43,8 @@ class GemSavvy
43
43
  get_sub_string(http_url, 'http://')
44
44
  elsif !http_url.nil? && http_url.include?('http://www.github.com')
45
45
  get_sub_string(http_url, 'http://www.')
46
+ elsif !http_url.nil? && http_url.include?('https://github.com')
47
+ get_sub_string(http_url, 'https://')
46
48
  else
47
49
  nil
48
50
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nod
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Glover
@@ -56,17 +56,6 @@ dependencies:
56
56
  version: 0.9.2
57
57
  type: :development
58
58
  version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: nokogiri
61
- prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 1.5.5
68
- type: :runtime
69
- version_requirements: *id005
70
59
  description: Gem reports on gemfile licenses
71
60
  email: ajglover@gmail.com
72
61
  executables: []