license_finder 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -13
  3. data/.travis/install_bower.sh +5 -0
  4. data/.travis/install_gradle.sh +12 -0
  5. data/.travis/install_rebar.sh +12 -0
  6. data/.travis/install_virtualenv.sh +9 -0
  7. data/CHANGELOG.rdoc +15 -0
  8. data/CONTRIBUTING.md +21 -0
  9. data/Rakefile +2 -2
  10. data/TODO.md +0 -3
  11. data/bin/license_finder_pip.py +15 -11
  12. data/lib/license_finder/core.rb +3 -1
  13. data/lib/license_finder/license/definitions.rb +9 -0
  14. data/lib/license_finder/license/templates/GPLv3.txt +674 -0
  15. data/lib/license_finder/logger.rb +11 -0
  16. data/lib/license_finder/package.rb +1 -1
  17. data/lib/license_finder/package_managers/bower.rb +10 -6
  18. data/lib/license_finder/package_managers/cocoa_pods.rb +17 -6
  19. data/lib/license_finder/package_managers/cocoa_pods_package.rb +2 -2
  20. data/lib/license_finder/package_managers/gradle.rb +3 -1
  21. data/lib/license_finder/package_managers/npm.rb +4 -1
  22. data/lib/license_finder/package_managers/pip.rb +14 -7
  23. data/lib/license_finder/package_managers/pip_package.rb +5 -5
  24. data/lib/license_finder/packages/activation.rb +1 -17
  25. data/lib/license_finder/packages/licensing.rb +9 -13
  26. data/lib/license_finder/reports/csv_report.rb +5 -1
  27. data/lib/license_finder/version.rb +1 -1
  28. data/license_finder.gemspec +0 -1
  29. data/spec/lib/license_finder/license/definitions_spec.rb +6 -0
  30. data/spec/lib/license_finder/package_managers/pip_package_spec.rb +12 -2
  31. data/spec/lib/license_finder/package_managers/pip_spec.rb +4 -4
  32. data/spec/lib/license_finder/packages/activation_spec.rb +9 -15
  33. data/spec/lib/license_finder/reports/csv_report_spec.rb +3 -3
  34. data/spec/spec_helper.rb +3 -4
  35. metadata +7 -16
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,11 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
+ require 'license_finder'
3
4
 
4
5
  require 'pry'
5
- require 'license_finder'
6
6
  require 'rspec'
7
7
  require 'webmock/rspec'
8
8
  require 'rspec/its'
9
- require 'fileutils'
10
9
 
11
10
  ENV['test_run'] = true.to_s
12
11
 
@@ -20,8 +19,8 @@ end
20
19
 
21
20
  RSpec.configure do |config|
22
21
  config.after(:suite) do
23
- ["./doc", "./elsewhere", "./test path", "./config"].each do |tmp_dir|
24
- FileUtils.rm_rf(tmp_dir)
22
+ ["./doc"].each do |tmp_dir|
23
+ Pathname(tmp_dir).rmtree
25
24
  end
26
25
  end
27
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Maine
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2015-03-02 00:00:00.000000000 Z
23
+ date: 2015-03-14 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
@@ -106,20 +106,6 @@ dependencies:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
- - !ruby/object:Gem::Dependency
110
- name: xpath
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: '0'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: '0'
123
109
  - !ruby/object:Gem::Dependency
124
110
  name: pry
125
111
  requirement: !ruby/object:Gem::Requirement
@@ -207,6 +193,10 @@ files:
207
193
  - ".gitignore"
208
194
  - ".rspec"
209
195
  - ".travis.yml"
196
+ - ".travis/install_bower.sh"
197
+ - ".travis/install_gradle.sh"
198
+ - ".travis/install_rebar.sh"
199
+ - ".travis/install_virtualenv.sh"
210
200
  - CHANGELOG.rdoc
211
201
  - CONTRIBUTING.md
212
202
  - Gemfile
@@ -265,6 +255,7 @@ files:
265
255
  - lib/license_finder/license/templates/Apache2.txt
266
256
  - lib/license_finder/license/templates/BSD.txt
267
257
  - lib/license_finder/license/templates/GPLv2.txt
258
+ - lib/license_finder/license/templates/GPLv3.txt
268
259
  - lib/license_finder/license/templates/ISC.txt
269
260
  - lib/license_finder/license/templates/LGPL.txt
270
261
  - lib/license_finder/license/templates/MIT.txt