fdlint 0.1.0 → 0.1.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.
- data/Gemfile +3 -2
- data/Gemfile.lock +2 -1
- data/README.md +6 -2
- data/Rakefile +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -25,13 +25,17 @@ fdlint (开发代号xray) 是根据阿里巴巴前端开发checklist开发的自
|
|
|
25
25
|
#### ruby脚本
|
|
26
26
|
适合安装了Ruby1.9+ 环境的Windows/\*nix系统
|
|
27
27
|
|
|
28
|
+
安装
|
|
29
|
+
|
|
30
|
+
gem install fdlint
|
|
31
|
+
|
|
28
32
|
运行方式
|
|
29
33
|
|
|
30
|
-
|
|
34
|
+
fdlint [参数] <目标文件或目录>
|
|
31
35
|
|
|
32
36
|
或者使用管道:
|
|
33
37
|
|
|
34
|
-
echo '* {}' |
|
|
38
|
+
echo '* {}' | fdlint
|
|
35
39
|
|
|
36
40
|
参数列表:
|
|
37
41
|
|
data/Rakefile
CHANGED
|
@@ -29,7 +29,7 @@ spec = Gem::Specification.new do |s|
|
|
|
29
29
|
|
|
30
30
|
# Change these as appropriate
|
|
31
31
|
s.name = "fdlint"
|
|
32
|
-
s.version = "0.1.
|
|
32
|
+
s.version = "0.1.1"
|
|
33
33
|
s.summary = "Code reviewer for web developing. Check your HTML/JS/CSS codes against bad codes."
|
|
34
34
|
s.author = "qhwa,bencode"
|
|
35
35
|
s.email = "qhwa@163.com,bencode@163.com"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fdlint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -300,7 +300,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
300
300
|
version: '0'
|
|
301
301
|
segments:
|
|
302
302
|
- 0
|
|
303
|
-
hash:
|
|
303
|
+
hash: 917041083835513722
|
|
304
304
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
305
|
none: false
|
|
306
306
|
requirements:
|