procme 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +2 -2
  3. data/lib/procme.rb +1 -1
  4. data/procme.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjZiNzFlNzI2YWUxYzhkZWFkYzJiMDZlMjU2ZTBmNTYxZTc4ZWZlNg==
4
+ YjY3N2NhODllMzkyNDkyYTc5MzhjMWE3MWMzMWE4OWJhZDRlOGU3ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZTk3ZjUyMDhkZmY0NTVkMzAyODc4MzBmMzk3NTg5OThhMjIzMDZlMw==
6
+ NjE0ZjIyNWQ3NTlhNTYyMWExZDI0NzQ0NDE3NjE0YmU5MjUxOTBmYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDgzNzIyYWZjNDA1M2YzMGE2ZjFkYTVjNDEyNmUxZjQwNDYxYjMwODI0OGY1
10
- MTk2M2IxNGQ2MzAxOTA4MTViNzU5ZGYxNTdmMDA4YWI5ZDJiMTM5MmJmYjM3
11
- NTU3MWNlNThjODhhOWU1YjMzZDE2ZDkzMGIxYmQ1ODVjZjA1ODM=
9
+ ZDIwMDU5YjU2MWJjMzE1OTBlZDY2ZjVjMDE2ODViN2YzOWE2ZWUxNTEyOTcz
10
+ NTk1ZjcxYTVmZTIxYzU5ZmE2MjAwNzMzMTAzYTcyNDQzNTc4YjA1N2I4YzAx
11
+ YTQ1ODY0Yzk0MjQzZjg4ZDFlMTk2NTg3NTE4MmFiMjI0YzI2ZDY=
12
12
  data.tar.gz: !binary |-
13
- ZjA2MzNmZmJjZjQwZWE5NTg2M2U2Y2Q2NmFmN2M0NmI1ZDczN2Y3YjE4NWU1
14
- ZGUxZjFlODBhNDRmNTNmYjMwMjE2NzQ5MDVhYjEzMjBmN2E0Njc3MDVjYTJj
15
- NDlkYjAzZWU2OGYzYzQyOTkyMGU1YzI5YjZiNDAzMTA2YTI2MWE=
13
+ YzQxNjE0YmM5OWUxZjRjYTIzZTM3ZjQ2MGRmOTZlNGQwOGI5ZGFlODVlMTlk
14
+ ZDcyOWQxM2UzNjc2NGE3ZjEyMzVhOTgxYmMwZmMyNzUwNGM3OThiZjJhODQ1
15
+ ZWNjODMwM2E3NmFlZDYxNzk4ZGU1NjNiNDVmNjBkMWQyOTJjZmQ=
data/README.md CHANGED
@@ -147,10 +147,10 @@ It's because you should check object itself, not its class, to match with
147
147
  `===`. The solution is simple:
148
148
 
149
149
  ```ruby
150
- ['test', 'me'].select(&fltr(itself: String)) # => []
150
+ ['test', 'me'].select(&fltr(itself: String)) # => ['test', 'me']
151
151
  ```
152
152
 
153
- `#itself` method is available in Ruby >= 2.0, and easily backported to
153
+ `#itself` method is available in Ruby >= 2.2, and easily backported to
154
154
  earlier versions.
155
155
 
156
156
  ## License
@@ -66,7 +66,7 @@ module ProcMe
66
66
  #
67
67
  def filter(attrs)
68
68
  lambda do |o|
69
- hash.all?{|k, v| v === o.send(k)} # rubocop:disable Style/CaseEquality
69
+ attrs.all?{|k, v| v === o.send(k)} # rubocop:disable Style/CaseEquality
70
70
  end
71
71
  end
72
72
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'procme'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.authors = ['Victor Shepelev']
5
5
  s.email = 'zverok.offline@gmail.com'
6
6
  s.homepage = 'https://github.com/zverok/procme'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Shepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop