mry 0.49.0.0 → 0.50.0.0

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: f656bd30448c800c508a3a37b7292468f8fa6fd8
4
- data.tar.gz: 4e0c9f1159de97e054d907a89a7a105e4baabe15
3
+ metadata.gz: 41406d4a5dba6af9b6a3b7c95eb7495f39b1c5ac
4
+ data.tar.gz: dfd1df230426618a98e2c5cfe0ecc1a2166ca106
5
5
  SHA512:
6
- metadata.gz: 0de7c392dbbdf7e7c2f014167159e4bf767d1f3b43cb9a5f19090bd548fcc33c655915559c7dd716ab6bf78c0e391df9ca12d084a4bedd60fdbad01300fa7d19
7
- data.tar.gz: 5aee56ac71f235d2f6f91878ce841ff3e72e6a5a8d377b1ba0a3821a8a8722b54d3b28a83e9245171f1790a09775a2eda5d00e26dff7c5bf35c2376de04296cc
6
+ metadata.gz: 8d4ed71a150c9b37e59968354ee6977f0f225221c2f229e9cb153609828494f7159ba7df4108b8392d82ad7fe370ce47f1f109e9f86eeddba8ec87ad16a30585
7
+ data.tar.gz: c485f538ab21a9874bed758d1fa7f627866c93d2c6db25ee2dc250c74f295adba7a14bf1692c3504a0fd76b5230b14ca120a1ec2213bd3758e96fb728e620ff3
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.3.3
5
- - 2.4.1
4
+ - 2.3.5
5
+ - 2.4.2
6
6
  - ruby-head
7
7
 
8
8
  cache: bundler
data/lib/mry.rb CHANGED
@@ -3,6 +3,7 @@ require 'optparse'
3
3
 
4
4
  require "mry/version"
5
5
  require 'mry/rewriter_master'
6
+ require 'mry/rewriter_0_50_0'
6
7
  require 'mry/rewriter_0_49_0'
7
8
  require 'mry/rewriter_0_47_0'
8
9
  require 'mry/rewriter_0_46_0'
@@ -0,0 +1,14 @@
1
+ module Mry
2
+ class Rewriter_0_50_0 < YAMLRewriter::Rewriter
3
+ define_rule ['Style/AccessorMethodName' => 'Naming/AccessorMethodName']
4
+ define_rule ['Style/AsciiIdentifiers' => 'Naming/AsciiIdentifiers']
5
+ define_rule ['Style/OpMethod' => 'Naming/BinaryOperatorParameterName']
6
+ define_rule ['Style/ClassAndModuleCamelCase' => 'Naming/ClassAndModuleCamelCase']
7
+ define_rule ['Style/ConstantName' => 'Naming/ConstantName']
8
+ define_rule ['Style/FileName' => 'Naming/FileName']
9
+ define_rule ['Style/MethodName' => 'Naming/MethodName']
10
+ define_rule ['Style/PredicateName' => 'Naming/PredicateName']
11
+ define_rule ['Style/VariableName' => 'Naming/VariableName']
12
+ define_rule ['Style/VariableNumber' => 'Naming/VariableNumber']
13
+ end
14
+ end
@@ -1,6 +1,7 @@
1
1
  module Mry
2
2
  module Runner
3
3
  Rewriters = {
4
+ Gem::Version.new('0.50.0') => Rewriter_0_50_0,
4
5
  Gem::Version.new('0.49.0') => Rewriter_0_49_0,
5
6
  Gem::Version.new('0.47.0') => Rewriter_0_47_0,
6
7
  Gem::Version.new('0.46.0') => Rewriter_0_46_0,
@@ -1,3 +1,3 @@
1
1
  module Mry
2
- VERSION = "0.49.0.0"
2
+ VERSION = "0.50.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0.0
4
+ version: 0.50.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Kuwabara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-28 00:00:00.000000000 Z
11
+ date: 2017-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -133,6 +133,7 @@ files:
133
133
  - lib/mry/rewriter_0_46_0.rb
134
134
  - lib/mry/rewriter_0_47_0.rb
135
135
  - lib/mry/rewriter_0_49_0.rb
136
+ - lib/mry/rewriter_0_50_0.rb
136
137
  - lib/mry/rewriter_master.rb
137
138
  - lib/mry/runner.rb
138
139
  - lib/mry/version.rb
@@ -163,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
164
  version: '0'
164
165
  requirements: []
165
166
  rubyforge_project:
166
- rubygems_version: 2.6.10
167
+ rubygems_version: 2.6.13
167
168
  signing_key:
168
169
  specification_version: 4
169
170
  summary: Mry Migrates .Rubocop.Yml