Arfon Smith
e0c97f97ba
Merge branch 'master' into memory_blob
2015-10-20 12:36:26 +01:00
Jared Kuolt
5ff580df0a
Support for files generated by Racc.
...
This changeset includes a sample racc file from [this auto-generated
file](44e9bf0440/lib/rjson/parser.rb )
(MIT-licensed).
[Racc](https://github.com/tenderlove/racc ) Racc is an LALR(1) parser
generator. It is written in Ruby itself, and generates ruby programs.
2015-10-09 16:20:59 -07:00
Arfon Smith
9775820398
Merge pull request #2591 from jtbandes/master
...
Vendored definitions for Xcode-related files
2015-09-01 18:53:08 +01:00
Jacob Bandes-Storch
a2ca886510
Vendored definitions for Xcode-related files
2015-08-25 23:42:20 -07:00
Paul Chaignon
e6b4428614
Tests for new vendored files
2015-08-21 12:24:04 +02:00
Paul Chaignon
4e6e69833d
Test for new CodeMirror regexp
2015-08-21 12:15:17 +02:00
Paul Chaignon
2c2b37bec3
Reorganize tests
...
Rename test_memory_blob.rb to test_blob.rb for consistence with last commit
2015-08-19 18:07:42 +02:00
Arfon Smith
8d20c1fb59
More inclusive documentation matches for License and Readme files
2015-08-11 09:39:41 +01:00
Arfon Smith
5d5550c48b
Moving vendored definitions to documentation
2015-08-07 10:42:31 +01:00
Arfon Smith
fd570d906a
Adding examples path to documentation.yml
2015-08-07 10:35:18 +01:00
Joel Parker Henderson
682cc2d82d
Add documentation categorization for CHANGELOG et. al.
2015-07-19 19:36:12 -06:00
Paul Chaignon
8c54f68040
Fix conflicts from merging master into 'mod-extension'
2015-07-04 18:01:56 +02:00
Drew Crawford
8845b266de
Adding some more vendered expressions
...
* `Vendor/`, the capitalized path
* Crashlytics, a common iOS framework
* Fabric, a common iOS framework
2015-06-17 21:25:54 -05:00
Arfon Smith
f380aa2e5e
Merge pull request #2426 from tamird/generated-go-bindata
...
Detect Go files generated by go-bindata
2015-05-31 15:53:49 +02:00
Tamir Duberstein
d17222ec91
Detect Go files generated by go-bindata
2015-05-28 11:03:36 -04:00
Tamir Duberstein
a1ea55d006
Trim whitespace
2015-05-28 11:03:36 -04:00
Evgenii Neumerzhitckii
a1e8fc4f97
Treat Carthage path as vendored
2015-05-23 21:54:25 +10:00
Arfon Smith
5ff0d488d2
Merge pull request #2392 from vighnesh1987/apache-thrift
...
Add Apache thrift support to generated? check
2015-05-20 12:43:55 -05:00
Vighnesh Rege
90b59876d0
Added extension restrictions
2015-05-13 23:20:51 -07:00
Vighnesh Rege
6d2aa601cd
Added tests
2015-05-12 12:53:59 -07:00
Paul Handly
7631db2183
Treat Unity3D metadata as an asset
2015-05-10 18:19:34 -04:00
Paul Handly
da5bc18d64
Add Unity3D Metadata files as generated
2015-05-10 18:19:33 -04:00
Paul Chaignon
e073e91d62
Detect GFortran module files as generated
2015-04-19 16:56:38 +02:00
Paul Chaignon
da9bda0e27
Detect KiCAD module files as generated
2015-04-19 16:19:52 +02:00
Arfon Smith
20f19bf049
Some tests to go with #2290
2015-03-31 19:33:50 -05:00
Hsiaoming Yang
e4ce4edd5c
add tests/fixtures to vendor.yml
2015-03-31 20:08:18 +08:00
Arfon Smith
285af6512e
Adding puphpet to vendored list
2015-03-30 16:24:11 -05:00
Arfon Smith
6c37613bf0
Merge branch 'master' into revert-2014-revert-1976-path-for-fileblob
2015-03-14 17:18:36 -05:00
Paul Chaignon
0db133ffb2
Detect Cython generated files
2015-03-14 19:43:17 +01:00
Arfon Smith
8561f2a6b0
Merge branch 'master' into revert-2014-revert-1976-path-for-fileblob
...
Conflicts:
lib/linguist/version.rb
2015-02-24 14:54:14 -06:00
Paul Chaignon
2ca5868610
Detect Go files generated by Protocol Buffers
2015-02-22 10:50:47 +01:00
Adam Roben
80f72a5093
Classify the .google_apis/ directory as vendored
...
This is used in Android projects that use certain Google SDKs to store
the SDKs locally.
2015-02-20 10:36:47 -05:00
Adam Roben
9e020dd15d
Classify "documentation/" directories (lowercase) as documentation
...
This is used in repositories like jashkenas/coffeescript.
2015-02-20 10:24:59 -05:00
Adam Roben
c7c0c30ecf
Classify javadoc/ directories as documentation
2015-02-20 10:24:38 -05:00
Adam Roben
60deead669
Add a couple more documentation patterns
...
These are used in repositories like jashkenas/coffeescript and
tj/git-extras.
2015-02-20 09:53:07 -05:00
Adam Roben
1bf91d4281
Use .html files in some #documentation? tests
...
This is what we were trying to classify in the twbs/bootstrap
repository, for example.
2015-02-13 14:31:40 -05:00
Adam Roben
8d2dd55c94
Categorize INSTALL files as documentation too
2015-02-13 14:30:44 -05:00
Adam Roben
6a86e8ea97
Add BlobHelper#include_in_language_stats?
...
This just extracts some logic from Repository#compute_stats and makes it
testable.
2015-02-13 14:27:20 -05:00
Adam Roben
066052ddd2
Exclude documentation files from language statistics
...
Documentation is an important part of a software project but is not
generally thought of as part of the code for that project. Repository
language statistics are used to quantify the project's code, so it makes
sense to exclude documentation from those computations.
Documentation files are recognized similarly to vendored files.
lib/linguist/documentation.yml contains regular expressions to match
common names for documentation files. A new linguist-documentation Git
attribute can be used to override those conventions.
2015-02-12 10:20:47 -05:00
Arfon Smith
69b68f3a44
Extracting common methods into helper.
2015-01-26 16:22:55 -06:00
Arfon Smith
01be9e68ee
Revert "Revert "Use path for Generated?""
2015-01-20 14:34:36 -06:00
Arfon Smith
36120a9122
Revert "Use path for Generated?"
2015-01-20 08:58:11 -06:00
Adam Roben
96c7bc30d8
Simplify blob tests
...
Now that FileBlobs with relative paths can still access their files on
disk, we can use relative paths for all FileBlobs in the test. This more
closely matches the behavior in github.com's codebase, where all blobs
use relative paths.
2015-01-14 08:57:53 -05:00
Arfon Smith
f4c1cc576b
Modifying BlobHelper and FileBlob to use path
2015-01-09 15:15:34 -06:00
Adam Roben
65296e86a3
Switch to Minitest::Test instead of Test::Unit::TestCase
...
This gives us a consistent test framework across all Ruby versions which
should help avoid errors that are only found when CI runs the tests on
different Rubies. (And this fixes an immediate bug where there's no
`skip` method in the version of test-unit we're currently using only on
Ruby 2.2.)
2014-12-31 15:26:26 -05:00
Paul Chaignon
db70630eaa
Renamed text in Text
2014-12-11 12:51:09 -05:00
Paul Chaignon
f93272f0bd
Move text files from fixtures to samples when possible
2014-12-10 20:09:14 -05:00
Paul Chaignon
93186947c2
Move binaries and text files from samples folder to fixtures
2014-12-04 23:48:05 -05:00
Paul Chaignon
77444284e3
Data folder in fixtures for files with no language
2014-12-04 19:14:44 -05:00
Garen Torikian
3aec4dd2ea
Adjust to ignore generated
2014-12-04 21:27:07 +02:00