mo 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/mo.rb +9 -6
  3. data/lib/mo/version.rb +1 -1
  4. metadata +13 -21
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 68a662dcd1d4a196ef77bb14d8c072563f3653c7
4
+ data.tar.gz: 3e83dfe87eb21890c1d194583951782c9019b46b
5
+ SHA512:
6
+ metadata.gz: 9040e439d76b5c3ef8e2da3808ca362bdac74add13b18181f93a8ad0d4566e713db375dd135cacc67273d50adabac694a3f9c7415f59ed475bb39ac3c5d60f9e
7
+ data.tar.gz: c66f511d4d97710bb36f2752f05de02147e2b4a87bb0cce1644be142e7435447b931b49c1809ddfae9806ff6f57164f98fab8d6cd95d3eacb4f173d4643d2199
data/lib/mo.rb CHANGED
@@ -14,12 +14,15 @@ module Mo
14
14
  def whitespace
15
15
  Dir[*ALL_FILES].each do |file|
16
16
  wsps = false
17
- File.open(file).each_line do |line|
18
- break if wsps = line.match(/( |\t)*$/).captures.compact.any?
19
- end
20
- if wsps
21
- system "sed -e 's/[ \t]*$//' -i #{file}"
22
- puts " * #{file}"
17
+ begin
18
+ File.open(file).each_line do |line|
19
+ break if wsps = line.match(/( |\t)*$/).captures.compact.any?
20
+ end
21
+ if wsps
22
+ system "sed -e 's/[ \t]*$//' -i #{file}"
23
+ puts " * #{file}"
24
+ end
25
+ rescue Errno::EISDIR
23
26
  end
24
27
  end
25
28
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Mo
4
- VERSION = "1.3.2"
4
+ VERSION = "1.3.3"
5
5
  end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
5
- prerelease:
4
+ version: 1.3.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - chatgris
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-24 00:00:00.000000000 Z
11
+ date: 2013-05-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: boson
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: minitest
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Mo helps you keep your rails project clean.
@@ -73,27 +66,26 @@ files:
73
66
  - lib/mo/version.rb
74
67
  homepage: http://chatgris.github.com/mo/
75
68
  licenses: []
69
+ metadata: {}
76
70
  post_install_message:
77
71
  rdoc_options: []
78
72
  require_paths:
79
73
  - lib
80
74
  required_ruby_version: !ruby/object:Gem::Requirement
81
- none: false
82
75
  requirements:
83
- - - ! '>='
76
+ - - '>='
84
77
  - !ruby/object:Gem::Version
85
78
  version: '0'
86
79
  required_rubygems_version: !ruby/object:Gem::Requirement
87
- none: false
88
80
  requirements:
89
- - - ! '>='
81
+ - - '>='
90
82
  - !ruby/object:Gem::Version
91
83
  version: '0'
92
84
  requirements: []
93
85
  rubyforge_project:
94
- rubygems_version: 1.8.25
86
+ rubygems_version: 2.0.0
95
87
  signing_key:
96
- specification_version: 3
88
+ specification_version: 4
97
89
  summary: Mo helps you keep your rails project clean.
98
90
  test_files: []
99
91
  has_rdoc: