lokeshh_rubypython 0.7 → 0.7.1

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: 5f0665777af943ef082b7e6dbd37a10037226bb6
4
- data.tar.gz: 353b34f7bf0c5cb0084fb194336a3bc18d756401
3
+ metadata.gz: 0ad98ebd8085ef58bef5d9039455b6122cc1f93b
4
+ data.tar.gz: 006cd084ae419fb00d5cfe5bf86f36ef32501f28
5
5
  SHA512:
6
- metadata.gz: c22371a487b107c862c64dce35a6d7703718b7a6e7922dc84b3cfebab3dd6c38062f21da1fc974616814aa44435bf1300948a0adca17a988ef66fdf0a2117ab2
7
- data.tar.gz: fda0c8641b9e0efe3467eaeab0098a8a994f9abdf18f741642111b318749bf9b17c3e60bfb88b0353a8290d1f336de7741fef2ba480cce75f7a4802a5c13edbb
6
+ metadata.gz: c6d204b5ffe1c18b6c32d9b01a1cd5e8a51708d51eb258d408b53682033469a055bafceef07206f917d16eb1dcca3cd7d03578064a62853889d2d41e927159a8
7
+ data.tar.gz: d1ac4e5be49ba604e8bf9fa2641d2f95c9a75e7f76a2d31b546c24ef122028e96f72714c6cd81e9569639b1b254de523454d2a98873a4b01793a029779daa041
@@ -31,11 +31,11 @@ module RubyPython::Operators
31
31
  # be delegated.
32
32
  def self.rel_op(rname, pname)
33
33
  define_method rname.to_sym do |other|
34
- RubyPython::Operators.operator_.__send__(pname, self, other).rubify
34
+ RubyPython::Operators.operator_.__send__(pname, self, other)
35
35
  end
36
36
  end
37
37
 
38
- # Creates a method to delegate a relational operator.
38
+ # Creates a method to delegate a relational operator.
39
39
  # These methods are implemented with calls the _operator_ module.
40
40
  # [rname] The name of the Ruby method for this operation. Can be a Symbol
41
41
  # or a String.
@@ -72,11 +72,11 @@ module RubyPython::Operators
72
72
  end
73
73
 
74
74
  [
75
- [:==, 'eq'],
76
- [:<, 'lt'],
77
- [:<=, 'le'],
78
- [:>, 'gt'],
79
- [:>=, 'ge'],
75
+ [:==, '__eq__'],
76
+ [:<, '__lt__'],
77
+ [:<=, '__le__'],
78
+ [:>, '__gt__'],
79
+ [:>=, '__ge__'],
80
80
  [:equal?, 'is_']
81
81
  ].each do |args|
82
82
  rel_op *args
@@ -28,7 +28,7 @@ module RubyPython
28
28
  # sys.version { |v| v.rubify.split(' ') }
29
29
  # end
30
30
  # # => [ "2.6.1", … ]
31
- #
31
+ #
32
32
  # == Passing Procs and Methods to \Python Methods
33
33
  # RubyPython supports passing Proc and Method objects to \Python methods.
34
34
  # The Proc or Method object must be passed explicitly. As seen above,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lokeshh_rubypython
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steeve Morin