mo 1.3.5 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/mo.rb +13 -0
- data/lib/mo/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0146094b1efceff3a1746a921708495c8ae5f948
|
4
|
+
data.tar.gz: dca1c0cd5769a55a867bb3febd7f49374c23f6b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91b27cc89429b6cbfa648453cd1775787cbbb19b34cad14af9d88d4232cf1c34c8d46391cbb10cd81a9ce4e6970fce40bb1a440b78188ebd17ced18336c946b8
|
7
|
+
data.tar.gz: c845552b642d7fb0c82efb5a68668d860069a958fa9a4ef9af2c8651cee6704edcbf22b5cd95082e6a8e20000ad2853e8c829f171044621d210baf93a8025e55
|
data/README.md
CHANGED
data/lib/mo.rb
CHANGED
@@ -69,6 +69,19 @@ module Mo
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
desc 'Check unbreakable space'
|
73
|
+
def check_unbreakable_space(listener = Kernel)
|
74
|
+
Dir[*RUBY_FILES].each do |file|
|
75
|
+
if File.readable? file
|
76
|
+
source = File.open(file).read
|
77
|
+
regexp = /\u00A0/
|
78
|
+
if source.scan(regexp).any?
|
79
|
+
listener.puts " * #{file}"
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
72
85
|
desc "Check rspec's files name"
|
73
86
|
def check_rspec_files_name(listener = Kernel)
|
74
87
|
ignores_dirs = %w[spec/factories spec/mocks spec/support spec/fabricators
|
data/lib/mo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chatgris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: boson
|
@@ -84,9 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.0.2
|
87
|
+
rubygems_version: 2.0.0.rc.2
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Mo helps you keep your rails project clean.
|
91
91
|
test_files: []
|
92
|
-
has_rdoc:
|