milkode 1.8.7 → 1.8.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be80288c1f73665336ab5c3b751e2ea235ee3dd8
4
- data.tar.gz: 633620e41f54780a8fd1c78d4e3e70c0bb618468
3
+ metadata.gz: c1d78423007d61a792b55000783bfacfc1302cb8
4
+ data.tar.gz: de7e900b6eaaa5df808c30bbf344e2f84aae788c
5
5
  SHA512:
6
- metadata.gz: dcd343b63e0a979066b2192d3af7a380ea94efcc732db62288e6ed4e2d4e0443e9991f60d4572268b6a3c19f25d0862ff3c7f3416547a7769239c47ba403c56c
7
- data.tar.gz: 56079577b015b4e8f12c912cde8b4eb9a407f693d6c12f5afce3c74197fffcda90febbb3e5156c09820a1efecbfc41373b130149deccefbdfbd60439e7a53b7f
6
+ metadata.gz: 9ee3d4f7f82a438af3f77fbac6914e27212d68408a1f83ab18928bc8ae2373fe0da526d1d3aa4b133d40b368c408f4e4c146cf95c36095a97f1f09e00b928a5d
7
+ data.tar.gz: 56eb51f07d0ec81af3d3d10d448e479124d933e08abc3fd1a5ccdf8ab695bbdc8949548288458ef6bf0274adec5104266767962bf4809aeefa18825d59eaba5d
@@ -11,5 +11,7 @@ rvm:
11
11
  - 1.9.3
12
12
  - 2.0.0
13
13
 
14
+ sudo: required
14
15
  before_install:
15
16
  - curl --silent --location https://github.com/groonga/groonga/raw/master/data/travis/setup.sh | sh
17
+ - gem update bundler
@@ -1,3 +1,18 @@
1
+ === 1.8.8 2016/04/18
2
+
3
+ * milk web
4
+ * Fix LoadError of coderay/scanner
5
+ * https://github.com/ongaeshi/milkode/pull/81
6
+
7
+ * milk
8
+ * Exit with 1 on error
9
+ * https://github.com/ongaeshi/milkode/pull/79
10
+
11
+ * etc
12
+ * Fix TravisCI error
13
+ * Add "require: sudo" into .travis.yml
14
+ * Add "gem update bundler" into .travis.yml
15
+
1
16
  === 1.8.7 2015/06/22
2
17
 
3
18
  * milk web
@@ -1,3 +1,18 @@
1
+ === 1.8.8 2016/04/18
2
+
3
+ * milk web
4
+ * Fix LoadError of coderay/scanner
5
+ * https://github.com/ongaeshi/milkode/pull/81
6
+
7
+ * milk
8
+ * Exit with 1 on error
9
+ * https://github.com/ongaeshi/milkode/pull/79
10
+
11
+ * etc
12
+ * Fix TravisCI error
13
+ * Add "require: sudo" into .travis.yml
14
+ * Add "gem update bundler" into .travis.yml
15
+
1
16
  === 1.8.7 2015/06/22
2
17
 
3
18
  * milk web
@@ -6,7 +6,13 @@
6
6
  # @date 2012/03/18
7
7
 
8
8
  require 'rubygems'
9
- require 'coderay/scanner'
9
+
10
+ begin
11
+ # Renamed since CodeRay v1.1.1
12
+ require 'coderay/scanners'
13
+ rescue LoadError
14
+ require 'coderay/scanner'
15
+ end
10
16
 
11
17
  # coderay-1.0.5/lib/coderay/scanners/php.rb
12
18
  module CodeRay
@@ -8,6 +8,10 @@ require 'milkode/grep/cli_grep'
8
8
 
9
9
  module Milkode
10
10
  class CLI < Thor
11
+ def self.exit_on_failure?
12
+ true
13
+ end
14
+
11
15
  class_option :help, :type => :boolean, :aliases => '-h', :desc => 'Help message.'
12
16
  class_option :version, :type => :boolean, :desc => 'Show version.'
13
17
 
@@ -1,3 +1,3 @@
1
1
  module Milkode
2
- VERSION = "1.8.7"
2
+ VERSION = "1.8.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milkode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.7
4
+ version: 1.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ongaeshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-22 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler