mo 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +3 -1
  2. data/lib/mo.rb +1 -1
  3. data/lib/mo/version.rb +1 -1
  4. metadata +2 -2
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # MO
2
2
 
3
- Mo helps you keep your rails project clean.
3
+ Mo helps you keep your project clean.
4
+
5
+ [MO](http://disney.wikia.com/wiki/M-O) is for the little robot on WALL-E film.
4
6
 
5
7
  ## Installation
6
8
 
data/lib/mo.rb CHANGED
@@ -51,7 +51,7 @@ module Mo
51
51
  desc "Add utf-8 encoding on files that don't have it"
52
52
  def encoding(listener = Kernel)
53
53
  Dir[*RUBY_FILES].each do |file|
54
- if `head -n 1 #{file} | grep -E '# encoding\|-\*- coding'`.empty?
54
+ if `head -n 2 #{file} | grep -E '# encoding\|-\*- coding'`.empty?
55
55
  listener.system "sed -i -r '1 s/^(.*)$/# encoding: utf-8\\n\\1/g' #{file}"
56
56
  puts " * #{file}"
57
57
  end
data/lib/mo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Mo
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-06 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: boson