mobj 2.9.1 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ext/object.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWZiODA5NTEzMDc1OWE2ZjM2NzM4NTE3NTM0ZjVmYTc3NjllZWVmMg==
4
+ NmVmNDIyMzc0M2MwNDhmNGUzODBlZWEyYWZmMzMwZDE1MTg2ZWYwZQ==
5
5
  data.tar.gz: !binary |-
6
- OGM1ZDM3ZjVmMGU3ZDRiNTJhYjJjMTM1ZjZmOTAwMmQ3MzFiZTAxOA==
6
+ NjVmNmMxOWNjZTE1ZWNmMGIwMmFmYzhkYzI5ZmMxYmM5MGJhNzdlNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWY0NWQ2YzNkNmU2ZDA4N2I4M2U4ZDdhYTZhMjFlZDExZDZiMTA0MDM4YWMx
10
- ZDc2NmQ0ZjJlMWRjYTI4MzQyYTAyZDVlY2NhYjRmZjkzNGQyYWNlM2ZiN2Fk
11
- MzZmNTEzZjk1Zjc0ZWM4NGRjNmU2MTk2YjM4YWVjZmQ1MDY3NDU=
9
+ ZDk5OTIyYThiMWNkNTYxNWVjODJhYjBkN2YxNjE5ODczMDQ4YzFmNWQ0NDhh
10
+ NGZkYWY3ZTBhZjk1M2Q2YTM3OGI2ZmI5YTMzMDE1YTg1ZDE4ZTZhMzg2OWI5
11
+ NmZmOTljZWIzZjJlMTczNDZlN2Y1NTg1ZDM3OGEyYjZkZjFhYzE=
12
12
  data.tar.gz: !binary |-
13
- NTJmOTYzODFkNmU2OTZjMGNkZTZiNmMxZjRjZjE0NjAzNTdjMzQ5MDg5MGU0
14
- NzdiMTg5ZDk5YTQ5MTM0NDM2MjQ2YzQzMTkyMGIxZWQ2NmMwYjIyZDMzMDc5
15
- ZTBiZjM0MTk1NTQ0YzRlZWJmMGVkMTViMzUyNzFmODRiOWViNzY=
13
+ ODdhMmQ3YmMzZTM1OGE3ZmU4MTMzZjdiMGE5NDdkNWZmMDM3NmNkOTAwNjM4
14
+ YjE2M2VlZDUxY2QyNWMyODllMTY1ZmUyNDI2N2Y2OWRlYzdjOTk2MTM0MzZj
15
+ M2I1NzQ5NGVmMTNkODU2OTY5NTUxNWI3ZmQ1ZDdmYjM1YzU3MDA=
@@ -3,6 +3,10 @@ module Mobj
3
3
  class ::Object
4
4
  alias responds_to? respond_to?
5
5
 
6
+ def rand?
7
+ rand(1000000).odd?
8
+ end
9
+
6
10
  def sym()
7
11
  if respond_to?(:to_sym)
8
12
  to_sym
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobj
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 2.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mason
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-23 00:00:00.000000000 Z
11
+ date: 2013-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec