fdlint 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +3 -2
  2. data/Gemfile.lock +2 -1
  3. data/README.md +6 -2
  4. data/Rakefile +1 -1
  5. metadata +2 -2
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
- source :rubygems
2
- gem 'win32console' if ENV['OS'] =~ /windows/i
1
+ source "https://rubygems.org"
2
+
3
+ gem 'win32console', platform: :mswin
3
4
 
4
5
  group :development do
5
6
  gem 'test-unit'
data/Gemfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
4
  gem-this (0.3.7)
5
5
  rake (0.9.2.2)
@@ -12,3 +12,4 @@ DEPENDENCIES
12
12
  gem-this
13
13
  rake
14
14
  test-unit
15
+ win32console
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
- /path/to/fdlint [参数] <目标文件或目录>
34
+ fdlint [参数] <目标文件或目录>
31
35
 
32
36
  或者使用管道:
33
37
 
34
- echo '* {}' | /path/to/fdlint
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.0"
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.0
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: -2639439556988211929
303
+ hash: 917041083835513722
304
304
  required_rubygems_version: !ruby/object:Gem::Requirement
305
305
  none: false
306
306
  requirements: