ruby_cop 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ module RubyCop
2
+ # Some aliases to smooth over some issues with the two different forks of the
3
+ # library. This is temporary until all apps using the library have been
4
+ # updated to use the non-Analyzer version.
5
+ module Analyzer
6
+ GrayList = ::RubyCop::GrayList
7
+ NodeBuilder = ::RubyCop::NodeBuilder
8
+ Policy = ::RubyCop::Policy
9
+ Ruby = ::RubyCop::Ruby
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module RubyCop
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
data/lib/ruby_cop.rb CHANGED
@@ -8,3 +8,4 @@ require 'ruby_cop/ruby'
8
8
  require 'ruby_cop/node_builder'
9
9
  require 'ruby_cop/gray_list'
10
10
  require 'ruby_cop/policy'
11
+ require 'ruby_cop/aliases'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-02-20 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: geminabox
17
- requirement: &70301443701120 !ruby/object:Gem::Requirement
17
+ requirement: &70157758657660 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *70301443701120
25
+ version_requirements: *70157758657660
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &70301443700620 !ruby/object:Gem::Requirement
28
+ requirement: &70157758657160 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.3.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70301443700620
36
+ version_requirements: *70157758657160
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: yard
39
- requirement: &70301443700200 !ruby/object:Gem::Requirement
39
+ requirement: &70157758656740 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70301443700200
47
+ version_requirements: *70157758656740
48
48
  description: Statically analyze Ruby and neutralize nefarious code
49
49
  email:
50
50
  - dray@envylabs.com
@@ -58,6 +58,7 @@ files:
58
58
  - README.md
59
59
  - Rakefile
60
60
  - lib/ruby_cop.rb
61
+ - lib/ruby_cop/aliases.rb
61
62
  - lib/ruby_cop/analyzer.rb
62
63
  - lib/ruby_cop/gray_list.rb
63
64
  - lib/ruby_cop/node_builder.rb