ampersand_x 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ampersand_x.rb +9 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8dc9114348506c6868038f86334bdbcfa7ce59d
4
- data.tar.gz: be20ef5f5c6d387a1c10cc9bee9dfa15b924fbc0
3
+ metadata.gz: d2aa990a6b516d50ebce87a0da552bc73f660f7c
4
+ data.tar.gz: 2ef04a1798503e4bc51e4c7b4798b8773d6f04f6
5
5
  SHA512:
6
- metadata.gz: 0d4b43bc56c5439ffad29e81195490cb3202c83515504d1bfe525f8f3a24527163f7113247dae80db9a5dfa8b82eedb84fec62fddd82767f4641bc2c0e58679e
7
- data.tar.gz: 489aaae25816ccd58e74495b448b0cf20be878eeaae8c753fcb613e3a3e0c7affe230825cc384e3cf390229851b105d47357b681675cd1155bf8371a0d634627
6
+ metadata.gz: 001a54b0a8b6c67854006563bb670105624b295466ee57a1c87c0d6e589a0b54ae2a453ee10d2db107f3cc7cf2ca61e499892e49f87958fc38abd85a2ff18121
7
+ data.tar.gz: f91e47a15cb18ef5f02e5451958d7ff92ef5547f41460ed38c67683fcab1ca265329a30a162316dc69c97079ae5a52f703b025f770c93736cf843c6788392248
@@ -1,13 +1,20 @@
1
1
  module AmpersandX
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
+
4
+ UNDEF = [:==]
5
+ UNDEF_CLASS = UNDEF + [:>, :>=, :<, :<=]
3
6
 
4
7
  class Proxy
5
8
  class << self
9
+ undef_method(*UNDEF_CLASS)
10
+
6
11
  def method_missing(name, *args)
7
- new([name, *args])
12
+ new([[name, *args]])
8
13
  end
9
14
  end
10
15
 
16
+ undef_method(*UNDEF)
17
+
11
18
  # Initialize a +Proxy+.
12
19
  #
13
20
  # @param path [Array<Array>] path array
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ampersand_x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosha Arinich