fancy_to_proc 0.4.0 → 0.5.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: 784d44c460fa5c95785aa81007bdbeb80d7a7b24
4
- data.tar.gz: b66c74bab9bcc48eeb6656d055b865de65fc0d0e
3
+ metadata.gz: 43f7ea96466696697880490f9f2ea9e04d927b78
4
+ data.tar.gz: 598739b95b3cb2068222faaa013ff525d03eb8d2
5
5
  SHA512:
6
- metadata.gz: 5891315a6b5097da487f6eab4545c67bbeef8ca80756a1b4aa24c6d19a1973892d9e80d6d51591a8e9b197573bda96419b5f91d43704101d8b0375d636b53575
7
- data.tar.gz: 76cec40169bb4d12f3c8e18845105e434071ec73859a9c94caeadee4403b853d20e197d2cda0100642cfa9fb0f048c489af4a8a7840d4c78e997a2c14c52b8eb
6
+ metadata.gz: fde7c3d9e6d56fabbb0e2a1d0ff33a80ef6e10f669af8584122110fd7aa4e869a40f489f4c1e62b86728b184d4071b7a66706d102f44eba9a3d3f4c2d8d5e79f
7
+ data.tar.gz: d1b98cd64400ae778a4ecd6afd5e7f2836c6413f74dd669b5906bf35d7c6a491dd713398c7b92cd8cc984bca43e2257ce752841b8819dddc42748ca3e287109e
@@ -1,3 +1,3 @@
1
1
  module FancyToProc
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.5.0".freeze
3
3
  end
@@ -2,17 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
  begin
4
4
  class RuboCop::Cop::Style::SpaceAroundOperators
5
- def on_send(node)
6
- if node.loc.operator # aref assignment, attribute assignment
7
- on_special_asgn(node)
8
- elsif !node.unary_operation? && !called_with_dot?(node)
9
- op = node.method_name
10
- if op != :[] && op != :! && op != :[]= && op != :& && operator?(op)
11
- _, _, right, = *node
12
- check_operator(node.loc.selector, right.source_range)
13
- end
14
- end
15
- end
5
+ IRREGULAR_METHODS = %i([] ! []= &).freeze
16
6
  end
17
7
  rescue NameError
18
8
  nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancy_to_proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon George
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.5.1
95
+ rubygems_version: 2.5.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Makes Symbol#to_proc chainable and take arguments