DRev 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.rspec +1 -0
- data/.rubocop.yml +46 -0
- data/.stickler.yml +17 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/DRev.gemspec +36 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +30 -0
- data/LICENSE.txt +21 -0
- data/README.md +198 -0
- data/Rakefile +6 -0
- data/bin/DRev +24 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/test/1.css +350 -0
- data/bin/test/style.css +582 -0
- data/lib/DRev/version.rb +3 -0
- data/lib/buffer.rb +21 -0
- data/lib/coloring.rb +38 -0
- data/lib/error.rb +79 -0
- data/lib/init_msg.rb +39 -0
- data/lib/log.rb +46 -0
- data/lib/scanner.rb +109 -0
- metadata +109 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8250ec4e9f13c907d85a704b19967deb322e25b79a1ea084803c9f3b7f8c8c35
|
4
|
+
data.tar.gz: 16ce166a90c42cef0e5beabeb2f66bf2b1c9a7564c075ab01dfd6a36a62efea5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: affbd0491d4c26ef2baf6b1ed02a3e48bc462d73f5253d6fdf39ed6b1afc50d2af885d780d8b310239cb553a9e4473570f10ba21d0838e2822c7ef955401bf73
|
7
|
+
data.tar.gz: cfe54b734be76c35de37130d4e291f1c1a60b56fd86b714ed6f3823df752ff3bfce03ac3d1d10cd8f99826ee9f49e6ec345765e0e1e1df04f48b52a4b91c6b93
|
data/.bundle/config
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- "README.md"
|
4
|
+
- "Guardfile"
|
5
|
+
- "Rakefile"
|
6
|
+
|
7
|
+
DisplayCopNames: true
|
8
|
+
|
9
|
+
Layout/LineLength:
|
10
|
+
Max: 120
|
11
|
+
Metrics/MethodLength:
|
12
|
+
Max: 20
|
13
|
+
Metrics/AbcSize:
|
14
|
+
Max: 50
|
15
|
+
Metrics/ClassLength:
|
16
|
+
Max: 150
|
17
|
+
Metrics/BlockLength:
|
18
|
+
ExcludedMethods: ['describe']
|
19
|
+
Max: 30
|
20
|
+
|
21
|
+
|
22
|
+
Style/Documentation:
|
23
|
+
Enabled: false
|
24
|
+
Style/ClassAndModuleChildren:
|
25
|
+
Enabled: false
|
26
|
+
Style/EachForSimpleLoop:
|
27
|
+
Enabled: false
|
28
|
+
Style/AndOr:
|
29
|
+
Enabled: false
|
30
|
+
Style/DefWithParentheses:
|
31
|
+
Enabled: false
|
32
|
+
Style/FrozenStringLiteralComment:
|
33
|
+
EnforcedStyle: never
|
34
|
+
Style/CaseEquality:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
Layout/HashAlignment:
|
41
|
+
EnforcedColonStyle: key
|
42
|
+
Layout/ExtraSpacing:
|
43
|
+
AllowForAlignment: false
|
44
|
+
Layout/MultilineMethodCallIndentation:
|
45
|
+
Enabled: true
|
46
|
+
EnforcedStyle: indented
|
data/.stickler.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# add the linters you want stickler to use for this project
|
2
|
+
linters:
|
3
|
+
rubocop:
|
4
|
+
display_cop_names: true
|
5
|
+
# indicate where is the config file for stylelint
|
6
|
+
config: "./rubocop.yml"
|
7
|
+
|
8
|
+
files:
|
9
|
+
ignore:
|
10
|
+
- "Guardfile"
|
11
|
+
- "Rakefile"
|
12
|
+
- "node_modules/**/*"
|
13
|
+
- "spec/**/*"
|
14
|
+
|
15
|
+
# PLEASE DO NOT enable auto fixing options
|
16
|
+
# if you need extra support from you linter - do it in your local env as described in README for this config
|
17
|
+
# find full documentation here: https://stickler-ci.com/docs
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at d.laloush@outlook.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/DRev.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'DRev/version'
|
4
|
+
|
5
|
+
# rubocop: disable Layout/ExtraSpacing
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'DRev'
|
8
|
+
spec.version = DRev::VERSION
|
9
|
+
spec.authors = ['Dandush03']
|
10
|
+
spec.email = ['d.laloush@outlook.com']
|
11
|
+
|
12
|
+
spec.summary = 'Daniel Reviewer'
|
13
|
+
spec.description = 'This Gem Review CSS Errors (For Now!)'
|
14
|
+
spec.homepage = 'https://github.com/Dandush03/capstone-build-linter'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = 'bin'
|
26
|
+
spec.executables = ['DRev']
|
27
|
+
spec.require_paths = ['lib']
|
28
|
+
|
29
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
30
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
31
|
+
|
32
|
+
spec.add_runtime_dependency 'main'
|
33
|
+
|
34
|
+
# spec.add_runtime_dependency "/bin/main.rb"
|
35
|
+
# rubocop: enable Layout/ExtraSpacing
|
36
|
+
end
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
DRev (0.1.0)
|
5
|
+
main
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
arrayfields (4.9.2)
|
11
|
+
chronic (0.10.2)
|
12
|
+
fattr (2.4.0)
|
13
|
+
main (6.2.3)
|
14
|
+
arrayfields (~> 4.7, >= 4.7.4)
|
15
|
+
chronic (~> 0.6, >= 0.6.2)
|
16
|
+
fattr (~> 2.2, >= 2.2.0)
|
17
|
+
map (~> 6.1, >= 6.1.0)
|
18
|
+
map (6.6.0)
|
19
|
+
rake (10.5.0)
|
20
|
+
|
21
|
+
PLATFORMS
|
22
|
+
ruby
|
23
|
+
|
24
|
+
DEPENDENCIES
|
25
|
+
DRev!
|
26
|
+
bundler (~> 1.17)
|
27
|
+
rake (~> 10.0)
|
28
|
+
|
29
|
+
BUNDLED WITH
|
30
|
+
1.17.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Dandush03
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
<a href="http://fvcproductions.com"><img src="https://avatars1.githubusercontent.com/u/4284691?v=3&s=200" title="FVCproductions" alt="FVCproductions"></a>
|
2
|
+
|
3
|
+
<!-- [](http://fvcproductions.com) -->
|
4
|
+
|
5
|
+
***INSERT GRAPHIC HERE (include hyperlink in image)***
|
6
|
+
|
7
|
+
# Daniel Review
|
8
|
+
|
9
|
+
> Subtitle or Short Description Goes Here
|
10
|
+
|
11
|
+
> ideally one sentence
|
12
|
+
|
13
|
+
> include terms/tags that can be searched
|
14
|
+
|
15
|
+
**Badges will go here**
|
16
|
+
|
17
|
+
- build status
|
18
|
+
- issues (waffle.io maybe)
|
19
|
+
- devDependencies
|
20
|
+
- npm package
|
21
|
+
- coverage
|
22
|
+
- slack
|
23
|
+
- downloads
|
24
|
+
- gitter chat
|
25
|
+
- license
|
26
|
+
- etc.
|
27
|
+
|
28
|
+
[](https://travis-ci.org/badges/badgerbadgerbadger) [](https://gemnasium.com/badges/badgerbadgerbadger) [](https://coveralls.io/r/badges/badgerbadgerbadger) [](https://codeclimate.com/github/badges/badgerbadgerbadger) [](https://github.com/badges/badgerbadgerbadger/issues) [](https://github.com/badges/badgerbadgerbadger/pulls) [](https://rubygems.org/gems/badgerbadgerbadger) [](http://badges.mit-license.org) [](https://github.com/badges/badgerbadgerbadger)
|
29
|
+
|
30
|
+
- For more on these wonderful ~~badgers~~ badges, refer to <a href="http://badges.github.io/badgerbadgerbadger/" target="_blank">`badgerbadgerbadger`</a>.
|
31
|
+
|
32
|
+
***INSERT ANOTHER GRAPHIC HERE***
|
33
|
+
|
34
|
+
[]()
|
35
|
+
|
36
|
+
- Most people will glance at your `README`, *maybe* star it, and leave
|
37
|
+
- Ergo, people should understand instantly what your project is about based on your repo
|
38
|
+
|
39
|
+
> Tips
|
40
|
+
|
41
|
+
- HAVE WHITE SPACE
|
42
|
+
- MAKE IT PRETTY
|
43
|
+
- GIFS ARE REALLY COOL
|
44
|
+
|
45
|
+
> GIF Tools
|
46
|
+
|
47
|
+
- Use <a href="http://recordit.co/" target="_blank">**Recordit**</a> to create quicks screencasts of your desktop and export them as `GIF`s.
|
48
|
+
- For terminal sessions, there's <a href="https://github.com/chjj/ttystudio" target="_blank">**ttystudio**</a> which also supports exporting `GIF`s.
|
49
|
+
|
50
|
+
**Recordit**
|
51
|
+
|
52
|
+

|
53
|
+
|
54
|
+
**ttystudio**
|
55
|
+
|
56
|
+

|
57
|
+
|
58
|
+
---
|
59
|
+
|
60
|
+
## Table of Contents (Optional)
|
61
|
+
|
62
|
+
> If your `README` has a lot of info, section headers might be nice.
|
63
|
+
|
64
|
+
- [Installation](#installation)
|
65
|
+
- [Features](#features)
|
66
|
+
- [Contributing](#contributing)
|
67
|
+
- [Team](#team)
|
68
|
+
- [FAQ](#faq)
|
69
|
+
- [Support](#support)
|
70
|
+
- [License](#license)
|
71
|
+
|
72
|
+
|
73
|
+
---
|
74
|
+
|
75
|
+
## Example (Optional)
|
76
|
+
|
77
|
+
```javascript
|
78
|
+
// code away!
|
79
|
+
|
80
|
+
let generateProject = project => {
|
81
|
+
let code = [];
|
82
|
+
for (let js = 0; js < project.length; js++) {
|
83
|
+
code.push(js);
|
84
|
+
}
|
85
|
+
};
|
86
|
+
```
|
87
|
+
|
88
|
+
---
|
89
|
+
|
90
|
+
## Installation
|
91
|
+
|
92
|
+
- All the `code` required to get started
|
93
|
+
- Images of what it should look like
|
94
|
+
|
95
|
+
### Clone
|
96
|
+
|
97
|
+
- Clone this repo to your local machine using `https://github.com/fvcproductions/SOMEREPO`
|
98
|
+
|
99
|
+
### Setup
|
100
|
+
|
101
|
+
- If you want more syntax highlighting, format your code like this:
|
102
|
+
|
103
|
+
> update and install this package first
|
104
|
+
|
105
|
+
```shell
|
106
|
+
$ brew update
|
107
|
+
$ brew install fvcproductions
|
108
|
+
```
|
109
|
+
|
110
|
+
> now install npm and bower packages
|
111
|
+
|
112
|
+
```shell
|
113
|
+
$ npm install
|
114
|
+
$ bower install
|
115
|
+
```
|
116
|
+
|
117
|
+
- For all the possible languages that support syntax highlithing on GitHub (which is basically all of them), refer <a href="https://github.com/github/linguist/blob/master/lib/linguist/languages.yml" target="_blank">here</a>.
|
118
|
+
|
119
|
+
---
|
120
|
+
|
121
|
+
## Features
|
122
|
+
## Usage (Optional)
|
123
|
+
## Documentation (Optional)
|
124
|
+
## Tests (Optional)
|
125
|
+
|
126
|
+
- Going into more detail on code and technologies used
|
127
|
+
- I utilized this nifty <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">Markdown Cheatsheet</a> for this sample `README`.
|
128
|
+
|
129
|
+
---
|
130
|
+
|
131
|
+
## Contributing
|
132
|
+
|
133
|
+
> To get started...
|
134
|
+
|
135
|
+
### Step 1
|
136
|
+
|
137
|
+
- **Option 1**
|
138
|
+
- 🍴 Fork this repo!
|
139
|
+
|
140
|
+
- **Option 2**
|
141
|
+
- 👯 Clone this repo to your local machine using `https://github.com/joanaz/HireDot2.git`
|
142
|
+
|
143
|
+
### Step 2
|
144
|
+
|
145
|
+
- **HACK AWAY!** 🔨🔨🔨
|
146
|
+
|
147
|
+
### Step 3
|
148
|
+
|
149
|
+
- 🔃 Create a new pull request using <a href="https://github.com/joanaz/HireDot2/compare/" target="_blank">`https://github.com/joanaz/HireDot2/compare/`</a>.
|
150
|
+
|
151
|
+
---
|
152
|
+
|
153
|
+
## Team
|
154
|
+
|
155
|
+
> Or Contributors/People
|
156
|
+
|
157
|
+
| <a href="http://fvcproductions.com" target="_blank">**FVCproductions**</a> | <a href="http://fvcproductions.com" target="_blank">**FVCproductions**</a> | <a href="http://fvcproductions.com" target="_blank">**FVCproductions**</a> |
|
158
|
+
| :---: |:---:| :---:|
|
159
|
+
| [](http://fvcproductions.com) | [](http://fvcproductions.com) | [](http://fvcproductions.com) |
|
160
|
+
| <a href="http://github.com/fvcproductions" target="_blank">`github.com/fvcproductions`</a> | <a href="http://github.com/fvcproductions" target="_blank">`github.com/fvcproductions`</a> | <a href="http://github.com/fvcproductions" target="_blank">`github.com/fvcproductions`</a> |
|
161
|
+
|
162
|
+
- You can just grab their GitHub profile image URL
|
163
|
+
- You should probably resize their picture using `?s=200` at the end of the image URL.
|
164
|
+
|
165
|
+
---
|
166
|
+
|
167
|
+
## FAQ
|
168
|
+
|
169
|
+
- **How do I do *specifically* so and so?**
|
170
|
+
- No problem! Just do this.
|
171
|
+
|
172
|
+
---
|
173
|
+
|
174
|
+
## Support
|
175
|
+
|
176
|
+
Reach out to me at one of the following places!
|
177
|
+
|
178
|
+
- Website at <a href="http://fvcproductions.com" target="_blank">`fvcproductions.com`</a>
|
179
|
+
- Twitter at <a href="http://twitter.com/fvcproductions" target="_blank">`@fvcproductions`</a>
|
180
|
+
- Insert more social links here.
|
181
|
+
|
182
|
+
---
|
183
|
+
|
184
|
+
## Donations (Optional)
|
185
|
+
|
186
|
+
- You could include a <a href="https://cdn.rawgit.com/gratipay/gratipay-badge/2.3.0/dist/gratipay.png" target="_blank">Gratipay</a> link as well.
|
187
|
+
|
188
|
+
[](https://gratipay.com/fvcproductions/)
|
189
|
+
|
190
|
+
|
191
|
+
---
|
192
|
+
|
193
|
+
## License
|
194
|
+
|
195
|
+
[](http://badges.mit-license.org)
|
196
|
+
|
197
|
+
- **[MIT license](http://opensource.org/licenses/mit-license.php)**
|
198
|
+
- Copyright 2015 © <a href="http://fvcproductions.com" target="_blank">FVCproductions</a>.
|