ruby_cop 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_cop/node_builder.rb +3 -1
- data/lib/ruby_cop/version.rb +1 -1
- data/ruby_cop.gemspec +1 -1
- data/spec/analyzer/policy_spec.rb +0 -1
- metadata +26 -10
data/lib/ruby_cop/version.rb
CHANGED
data/ruby_cop.gemspec
CHANGED
@@ -77,7 +77,6 @@ describe RubyCop::Policy do
|
|
77
77
|
# Enumerable#select, but not Kernel#select / IO#select.
|
78
78
|
it { should allow('[1, 2, 3].select { |x| x.odd? }') }
|
79
79
|
it { should_not allow('select([$stdin], nil, nil, 1.5)') }
|
80
|
-
it { pending('Kernel#select') { should_not allow('select([$stdin], nil, nil, 1.5)') } }
|
81
80
|
|
82
81
|
# TODO: these are a possible concern because symbols are not GC'ed and
|
83
82
|
# an attacker could create a large number of them to eat up memory. If
|
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.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-05-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: geminabox
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,21 +22,31 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: rspec
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ~>
|
32
37
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
38
|
+
version: '2.0'
|
34
39
|
type: :development
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.0'
|
37
47
|
- !ruby/object:Gem::Dependency
|
38
48
|
name: yard
|
39
|
-
requirement:
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
40
50
|
none: false
|
41
51
|
requirements:
|
42
52
|
- - ! '>='
|
@@ -44,7 +54,12 @@ dependencies:
|
|
44
54
|
version: '0'
|
45
55
|
type: :development
|
46
56
|
prerelease: false
|
47
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
48
63
|
description: Statically analyze Ruby and neutralize nefarious code
|
49
64
|
email:
|
50
65
|
- dray@envylabs.com
|
@@ -115,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
130
|
version: '0'
|
116
131
|
requirements: []
|
117
132
|
rubyforge_project: ruby_cop
|
118
|
-
rubygems_version: 1.8.
|
133
|
+
rubygems_version: 1.8.24
|
119
134
|
signing_key:
|
120
135
|
specification_version: 3
|
121
136
|
summary: Statically analyze Ruby and neutralize nefarious code
|
@@ -124,3 +139,4 @@ test_files:
|
|
124
139
|
- spec/analyzer/policy_spec.rb
|
125
140
|
- spec/policy_spec.rb
|
126
141
|
- spec/spec_helper.rb
|
142
|
+
has_rdoc:
|