rulp 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWVhZGY3OGVlMTcyMjUxOWJhMTdiN2FjOWJjMzRmYzBmYjFkZWU1MA==
4
+ YzI4YzljYmUyNTQ1NDNiYzNhM2FjZjA2Yjc2ODVkZTJhMTgwMGEyMg==
5
5
  data.tar.gz: !binary |-
6
- MmVkYjg0M2E4NzMxNTU2ZjM5OWUwYzBlOGVjZGNjNDE0MDJjYjBiZg==
6
+ MWEzNTNhODQ5ZWQ3Y2E1ZmFhYjNlY2YzMzNmYjkyMDg4ZjVlMzY2NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGY1MjkwYmExY2YwYzUwOTM0ZGI5NjM3NDNkZTAwYWRiOTk5MGMwYmE3YzU5
10
- YTEyODRkMDVhMTM5YTFkODBhZDQyZjk4ODlmODFiZTliZjhkZWExMWE2ZTBh
11
- N2IwMzVmZDMwNGM3OTJhZjQ1NmE3ODQ1ZjI4ODc4NjVmNDFkMWU=
9
+ MmNhYTQwMjNjNDY1YjFkNDMxMTViODUxNWNjOGUzMzIyYzlhMzAyYTc0OTI5
10
+ ZjQyN2UwNWUzMGQwZjhiNDZiODhmNjU1MDhiMzcxNjI5OTQwYjc4ZTkzNGFh
11
+ Y2E1NzNlMjIyMjZlZmMyYmQwN2E1MzJmZWE0OTQwZGY0Y2UyMGM=
12
12
  data.tar.gz: !binary |-
13
- MjJiOTA5N2NiNGJhOTY4ZmI0MTg2ZjY0MWMxOWQ4NDAzZGMyMWNhNWM3NmQ3
14
- NjE4YjFkYjZiNmYzMmRlYzM5ZjhmZWNkOTM0ZWZjODYxZDFhMTViYWRmZDlm
15
- ZDQ0NzM0MGYxNmRkNjVlOGVmODBmYjI3ZmMzNzdiZGI3NDhmZmM=
13
+ NmIwYjVkNzBjY2EyODY5MTFmMzdhMGZhYWM2YmMzOWRjODk2NDY3NDg3Zjhk
14
+ ZmFkMmJiOTNiNzhiMzY0ODkxYjNlZTIzZjM1ODI2OGZhZDQwZDg0ZWFjMWQy
15
+ NzFiMzg2OGE1MDc5NWFkMjZjYmI2OGE4ZDMwODE5YmY1N2Q5OTk=
@@ -11,6 +11,7 @@
11
11
  # Is_happy_b is the equivalent of Is_happy (type binary/boolean)
12
12
  ##
13
13
  class << Object
14
+ alias_method :old_const_missing, :const_missing
14
15
  def const_missing(value)
15
16
  method_name = "#{value}" rescue ""
16
17
  if (("A".."Z").include?(method_name[0]))
@@ -22,5 +23,6 @@ class << Object
22
23
  LV.send(method_name[0..(method_name[-2] == "_" ? -3 : -2)])
23
24
  end
24
25
  end
26
+ old_const_missing(value)
25
27
  end
26
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rulp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter Coppieters
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-04 00:00:00.000000000 Z
11
+ date: 2015-03-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple Ruby LP description DSL
14
14
  email: wc@pico.net.nz