Mike Linksvayer
533c63af20
rubocop
2017-12-30 14:37:57 -08:00
Mike Linksvayer
c70e2c14bd
allow repos to have . in name
2017-12-30 14:34:08 -08:00
Ben Balter
e32df8c033
make shellcheck happy
2017-12-28 12:07:10 -05:00
Ben Balter
f8d5ae5472
test bin can recieve a URL
2017-12-28 12:06:00 -05:00
Ben Balter
d1c8c12aca
allow script/git-repo to accept a owner/repo in addition to URLs
2017-12-28 12:03:23 -05:00
Ben Balter
0e81259ed4
Merge pull request #249 from benbalter/strip-markdown
...
Strip markdown prior to comparison
2017-12-28 12:03:03 -05:00
Ben Balter
043cd77845
test markup stripping
2017-12-28 11:54:07 -05:00
Ben Balter
3ddd9f1f05
update test expectations
2017-12-28 11:50:43 -05:00
Ben Balter
7bd1aa65a7
allow END OF TERMS AND CONDITIONS to be bold or italic
2017-12-28 11:47:50 -05:00
Ben Balter
08f3779600
blacklist markup characters
2017-12-28 11:46:16 -05:00
Ben Balter
c9c571c38c
Merge branch 'master' into strip-markdown
2017-12-28 11:41:33 -05:00
Ben Balter
ddf13220c4
Merge pull request #252 from benbalter/github-project-tests
...
Use webmock to test stub Octokit responses
2017-12-28 11:34:22 -05:00
Ben Balter
435ae88718
correct shellcheck errors
2017-12-27 20:17:14 -05:00
Ben Balter
c5505620b6
script/git-repo should use GitHubProject
2017-12-27 20:14:58 -05:00
Ben Balter
a5d614efd0
no submodules!
2017-12-27 19:58:23 -05:00
Ben Balter
95018e0c1e
test GitHub project as part of project_spec
2017-12-27 19:56:57 -05:00
Ben Balter
b6788ba02c
test GitHub project as part of project_spec.rb
2017-12-27 19:43:20 -05:00
Ben Balter
cf7ee51ca3
add real gemspec
2017-12-27 19:03:32 -05:00
Ben Balter
301898308a
use webmock to test stub Octokit responses
2017-12-27 18:55:00 -05:00
Ben Balter
b2dda1a141
minor style changes to github project spec
2017-12-27 18:35:44 -05:00
Nick Campbell
1b9d1f2b00
Add support for GitHub projects
...
Rather than querying the local filesystem, we can use the Github API to
resolve folder contents and the individual files within.
This isn't going to be performant - requests are not made in parallel -
and there is absolutely no error handling.
2017-12-27 22:08:40 +00:00
Ben Balter
61e7501d37
also allow commas
2017-12-20 14:22:55 -05:00
Ben Balter
ee6e66426b
strip markup in ContentHelper#content_normalized
2017-12-20 14:17:46 -05:00
Ben Balter
7a4b22ffa3
failing test for markdown formatted license
2017-12-20 14:04:42 -05:00
Ben Balter
69a67f055b
Merge pull request #246 from benbalter/extend-gemspec-patterns
...
Extend gemspec pattern matching
2017-12-13 12:32:21 -05:00
Jon Ruskin
ee60aab2d3
return 'other' when licenses array size > 1
2017-12-13 09:10:27 -07:00
Jon Ruskin
6b6ff397fd
add second array element to array test
2017-12-12 18:04:49 -07:00
Jon Ruskin
063babcad7
allow for .freeze on strings
2017-12-12 17:56:44 -07:00
Jon Ruskin
1d1c8e6e62
add regex for array values
2017-12-12 17:54:21 -07:00
Mike Linksvayer
aab9f3ddf0
Merge pull request #240 from benbalter/npm-license-expression
...
license expression in package.json obtains other rather than nil
2017-11-27 12:54:28 -08:00
Mike Linksvayer
ce85cae991
Merge branch 'master' into npm-license-expression
2017-11-27 12:15:03 -08:00
Mike Linksvayer
23d1fa9355
Merge pull request #241 from benbalter/spdx-file
...
Use LICENSE.spdx file if available
2017-11-27 12:14:01 -08:00
Mike Linksvayer
fc806a97d2
move test from fixture/integration to npm_bower_matcher
...
only thing being tested really is matching a single string
2017-11-27 12:06:02 -08:00
Mike Linksvayer
77398646cb
Merge branch 'master' into spdx-file
2017-11-27 11:52:51 -08:00
Ben Balter
0f6199a5ad
update vendored licenses
2017-11-27 11:02:59 -05:00
Ben Balter
8fe983a6b0
rubocop
2017-11-27 11:01:55 -05:00
Ben Balter
d65e76f845
include tmpdir to avoid an error
2017-11-27 11:01:44 -05:00
Mike Linksvayer
389c22e7e1
rubocop
2017-11-22 16:18:23 -08:00
Mike Linksvayer
c310aed48d
spdx file matcher
2017-11-22 16:13:16 -08:00
Mike Linksvayer
a6cfb6bd35
license expression in package.json obtains other rather than nil
...
https://docs.npmjs.com/files/package.json#license can be a SPDX
license expression rather than a SPDX license id. If expression
found, makes sense to return other license rather than nil from
package. So add space, plus, and parens to character class match
as those can be part of a license expression.
2017-11-22 14:25:29 -08:00
Ben Balter
00489bb3bf
Bump to 9.6.0
2017-11-14 10:43:24 -05:00
Ben Balter
1d6adaa291
Merge pull request #232 from benbalter/underscore
...
support LICENSE_ files
2017-11-14 10:42:19 -05:00
Ben Balter
676c984d82
Merge pull request #238 from benbalter/match-source
...
Allow ReferenceMatcher to match references to licenses by their source
2017-11-14 10:39:44 -05:00
Ben Balter
544c742c5d
Merge branch 'master' into match-source
2017-11-13 17:01:47 -05:00
Ben Balter
0e8959a701
allow refernence matcher to match source
2017-11-13 17:01:23 -05:00
Ben Balter
6ae4c56c82
Merge pull request #237 from benbalter/version-matching-regex
...
Allow version notation to be more lenient
2017-11-13 16:41:29 -05:00
Ben Balter
b136c67b92
allow version notation to be more lenient
2017-11-13 15:52:02 -05:00
Mike Linksvayer
9ebdc3b502
Merge pull request #235 from benbalter/apache-name
...
Match "Apache License, Version 2.0" as Apache-2.0 name
2017-11-13 10:00:27 -08:00
Mike Linksvayer
2fd34967b7
Match "Apache License, Version 2.0" as Apache-2.0 name
2017-11-10 14:35:49 -08:00
Mike Linksvayer
c58e383a1b
Merge branch 'underscore' of github.com:benbalter/licensee into underscore
2017-11-07 09:05:14 -08:00