lambdada 0.0.0 → 0.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f228d041aaef2bdf90f0aaeaaec194f73ee061b
4
- data.tar.gz: ba1ed741814779fac770e91aa7a9750862454400
3
+ metadata.gz: 52ab9f5d3b842f83bd822683cb7e5279f7a74cf6
4
+ data.tar.gz: 720ab5f8bb745b849799fa2f7636e2c900223064
5
5
  SHA512:
6
- metadata.gz: b7885341c8a8e2357f7f4cb4f5fa42b996a2f74fd8a7ceaffcba9ca28efaa0bf79f3bbe5d205e65b563e5f4d07c0c7ada587396d4b42701f2ebbb636b27f1c87
7
- data.tar.gz: aa42e14d12da5a83a0bcd4f92ed32fc0a20f4e15684abb19e405c4ce626130aad2b0c4191166b11792732b0c4be13aa479d90a87b8046a0805cc702066ad935d
6
+ metadata.gz: 7d3add41c7e4c0cc3767eee3c5d8793256972ae0a9b0c9837be884a891d5408c944dbd446292eecee40cff5a7a841ef2d9c0c3b7ebdb86c35c9cc28957f27a8e
7
+ data.tar.gz: 80f88c697a9df53e93276a2ceafb7b00b707cc2334bf77e277651b9fd95c10f231e2f8b4a9a17a0e09d8f61a1b8438f5d59d4e37c3ccb4cd0d5cc9eb44597d23
data/lib/lambdada/proc.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ##
4
4
  # Extend the Proc class to ease composition and curry usage
5
- class Proc
5
+ module Massala
6
6
  ##
7
7
  # Compose two lambdas or proc into a third one.
8
8
  def +(other)
@@ -19,5 +19,9 @@ class Proc
19
19
  result
20
20
  end
21
21
 
22
- alias_method :[], :massala
22
+ def self.included(klass)
23
+ klass.send(:alias_method, :[], :massala)
24
+ end
23
25
  end
26
+
27
+ Proc.include(Massala)
@@ -3,7 +3,7 @@
3
3
  module Lambdada
4
4
  # This module holds the Lambdada version information.
5
5
  module Version
6
- STRING = '0.0.0'
6
+ STRING = '0.0.1'
7
7
 
8
8
  module_function
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambdada
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Ignjatovic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-14 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Add less verbose function composition and currying ability to ruby.
14
14
  email: alexandre.ignjatovic@gmail.com
@@ -32,19 +32,18 @@ require_paths:
32
32
  - lib
33
33
  required_ruby_version: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - '>='
35
+ - - ">="
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
- rubygems_version: 2.0.14
45
+ rubygems_version: 2.6.11
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: Ruby lambda composition (and currying) helpers
49
49
  test_files: []
50
- has_rdoc: