Skip to content

Commit f3977ea

Browse files
authored
Merge pull request #6987 from github/nickrolfe/cleanup-ruby-docs
Ruby: clean up docs
2 parents e889568 + 2059896 commit f3977ea

File tree

3 files changed

+10
-109
lines changed

3 files changed

+10
-109
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ If you have an idea for a query that you would like to share with other CodeQL u
1111

1212
1. **Directory structure**
1313

14-
There are five language-specific query directories in this repository:
14+
There are six language-specific query directories in this repository:
1515

1616
* C/C++: `cpp/ql/src`
1717
* C#: `csharp/ql/src`
1818
* Java: `java/ql/src`
1919
* JavaScript: `javascript/ql/src`
2020
* Python: `python/ql/src`
21+
* Ruby: `ruby/ql/src`
2122

2223
Each language-specific directory contains further subdirectories that group queries based on their `@tags` or purpose.
2324
- Experimental queries and libraries are stored in the `experimental` subdirectory within each language-specific directory in the [CodeQL repository](https://github.com/github/codeql). For example, experimental Java queries and libraries are stored in `java/ql/src/experimental` and any corresponding tests in `java/ql/test/experimental`.

ruby/CONTRIBUTING.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

ruby/README.md

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,14 @@
11
# Ruby analysis support for CodeQL
22

3-
This open-source repository contains the extractor, CodeQL libraries, and queries that power Ruby
3+
This directory contains the extractor, CodeQL libraries, and queries that power Ruby
44
support in [LGTM](https://lgtm.com) and the other CodeQL products that [GitHub](https://github.com)
55
makes available to its customers worldwide.
66

77
It contains two major components:
8-
- an extractor, written in Rust, that parses Ruby source code and converts it into a database
9-
that can be queried using CodeQL.
10-
- static analysis libraries and queries written in [CodeQL](https://codeql.github.com/docs/) that can be
11-
used to analyze such a database to find coding mistakes or security vulnerabilities.
12-
13-
The goal of this project is to provide comprehensive static analysis support for Ruby in CodeQL.
14-
15-
For the queries and libraries that power CodeQL support for other languages, visit [the CodeQL
16-
repository](https://github.com/github/codeql).
17-
18-
## Installation
19-
20-
Simply clone this repository. There are no external dependencies.
21-
22-
If you want to use the CodeQL extension for Visual Studio Code, import this repository into your VS
23-
Code workspace.
24-
25-
## Usage
26-
27-
To analyze a Ruby codebase, either use the [CodeQL command-line
28-
interface](https://codeql.github.com/docs/codeql-cli/) to create a database yourself, or
29-
download a pre-built database from [LGTM.com](https://lgtm.com/). You can then run any of the
30-
queries contained in this repository either on the command line or using the VS Code extension.
31-
32-
Note that the [lgtm.com](https://github.com/github/codeql-ruby/tree/lgtm.com) branch of this
33-
repository corresponds to the version of the queries that is currently deployed on LGTM.com.
34-
The [main](https://github.com/github/codeql-ruby/tree/main) branch may contain changes that
35-
have not been deployed yet, so you may need to upgrade databases downloaded from [LGTM.com](https://lgtm.com) before
36-
running queries on them.
37-
38-
## Contributions
39-
40-
Contributions are welcome! Please see our [contribution guidelines](CONTRIBUTING.md) and our
41-
[code of conduct](CODE_OF_CONDUCT.md) for details on how to participate in our community.
42-
43-
## Licensing
44-
45-
The code in this repository is licensed under the [MIT license](LICENSE).
46-
47-
## Resources
48-
49-
- [Writing CodeQL queries](https://codeql.github.com/docs/writing-codeql-queries/)
50-
- [CodeQL documentation](https://codeql.github.com/docs/)
8+
1. static analysis libraries and queries written in
9+
[CodeQL](https://codeql.github.com/docs/) that can be used to analyze such
10+
a database to find coding mistakes or security vulnerabilities.
11+
2. an extractor, written in Rust, that parses Ruby source code and converts it
12+
into a database that can be queried using CodeQL. See [Developer
13+
information](doc/HOWTO.md) for information on building the extractor (you
14+
do not need to do this if you are only developing queries).

0 commit comments

Comments
 (0)