deriving_license 0.1.0 → 0.1.1

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deriving_license (0.1.0)
4
+ deriving_license (0.1.1)
5
5
  gemnasium-parser
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'deriving_license'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.summary = "Deriving Licence finds the license agreements for all gems in your Gemfile"
5
5
  s.description = "Deriving Licence finds the license agreements for all gems in your Gemfile if included in your project, or in a Gemfile passed to the included binary"
6
6
  s.authors = ["Tom Allen"]
@@ -22,8 +22,10 @@ class DerivingLicense
22
22
  gemfile.dependencies.each do |d|
23
23
  # See if it's installed locally, and if not add -r to call
24
24
  remote = /#{d.name}/.match( `gem list #{d.name}` ) ? "" : "-r "
25
-
25
+
26
+ print "Determining license for #{d.name}#{remote.empty? ? "" : " (remote call required)"}..."; STDOUT.flush
26
27
  spec = eval `gem specification #{remote}#{d.name} --ruby`
28
+ print "DONE\n"; STDOUT.flush
27
29
  spec.licenses.each{ |l| licenses[l]+=1 }
28
30
  end
29
31
  licenses
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deriving_license
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -63,9 +63,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 1.8.24
66
+ rubygems_version: 1.8.23
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: Deriving Licence finds the license agreements for all gems in your Gemfile
70
70
  test_files:
71
71
  - test/test_deriving_license.rb
72
+ has_rdoc: