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.
- checksums.yaml +4 -4
- data/.travis.yml +7 -13
- data/.travis/install_bower.sh +5 -0
- data/.travis/install_gradle.sh +12 -0
- data/.travis/install_rebar.sh +12 -0
- data/.travis/install_virtualenv.sh +9 -0
- data/CHANGELOG.rdoc +15 -0
- data/CONTRIBUTING.md +21 -0
- data/Rakefile +2 -2
- data/TODO.md +0 -3
- data/bin/license_finder_pip.py +15 -11
- data/lib/license_finder/core.rb +3 -1
- data/lib/license_finder/license/definitions.rb +9 -0
- data/lib/license_finder/license/templates/GPLv3.txt +674 -0
- data/lib/license_finder/logger.rb +11 -0
- data/lib/license_finder/package.rb +1 -1
- data/lib/license_finder/package_managers/bower.rb +10 -6
- data/lib/license_finder/package_managers/cocoa_pods.rb +17 -6
- data/lib/license_finder/package_managers/cocoa_pods_package.rb +2 -2
- data/lib/license_finder/package_managers/gradle.rb +3 -1
- data/lib/license_finder/package_managers/npm.rb +4 -1
- data/lib/license_finder/package_managers/pip.rb +14 -7
- data/lib/license_finder/package_managers/pip_package.rb +5 -5
- data/lib/license_finder/packages/activation.rb +1 -17
- data/lib/license_finder/packages/licensing.rb +9 -13
- data/lib/license_finder/reports/csv_report.rb +5 -1
- data/lib/license_finder/version.rb +1 -1
- data/license_finder.gemspec +0 -1
- data/spec/lib/license_finder/license/definitions_spec.rb +6 -0
- data/spec/lib/license_finder/package_managers/pip_package_spec.rb +12 -2
- data/spec/lib/license_finder/package_managers/pip_spec.rb +4 -4
- data/spec/lib/license_finder/packages/activation_spec.rb +9 -15
- data/spec/lib/license_finder/reports/csv_report_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -4
- 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"
|
24
|
-
|
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.
|
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-
|
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
|