functional-ruby 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +712 -0
- data/lib/functional/all.rb +5 -0
- data/lib/functional/behavior.rb +59 -0
- data/lib/functional/behaviour.rb +2 -0
- data/lib/functional/concurrency.rb +27 -0
- data/lib/functional/core.rb +62 -0
- data/lib/functional/pattern_matching.rb +133 -0
- data/lib/functional/version.rb +3 -0
- data/spec/functional/behavior_spec.rb +237 -0
- data/spec/functional/integration_spec.rb +205 -0
- data/spec/functional/pattern_matching_spec.rb +416 -0
- data/spec/spec_helper.rb +17 -0
- metadata +78 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'functional/all'
|
2
|
+
|
3
|
+
# import all the support files
|
4
|
+
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) }
|
5
|
+
|
6
|
+
RSpec.configure do |config|
|
7
|
+
|
8
|
+
config.before(:suite) do
|
9
|
+
end
|
10
|
+
|
11
|
+
config.before(:each) do
|
12
|
+
end
|
13
|
+
|
14
|
+
config.after(:each) do
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: functional-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jerry D'Antonio
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: |2
|
28
|
+
A gem for adding Erlang and Clojure inspired functional programming tools to Ruby.
|
29
|
+
email: jerry.dantonio@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files:
|
33
|
+
- README.md
|
34
|
+
- LICENSE
|
35
|
+
files:
|
36
|
+
- README.md
|
37
|
+
- LICENSE
|
38
|
+
- lib/functional/all.rb
|
39
|
+
- lib/functional/behavior.rb
|
40
|
+
- lib/functional/behaviour.rb
|
41
|
+
- lib/functional/concurrency.rb
|
42
|
+
- lib/functional/core.rb
|
43
|
+
- lib/functional/pattern_matching.rb
|
44
|
+
- lib/functional/version.rb
|
45
|
+
- spec/functional/behavior_spec.rb
|
46
|
+
- spec/functional/integration_spec.rb
|
47
|
+
- spec/functional/pattern_matching_spec.rb
|
48
|
+
- spec/spec_helper.rb
|
49
|
+
homepage: https://github.com/jdantonio/functional-ruby/
|
50
|
+
licenses:
|
51
|
+
- MIT
|
52
|
+
metadata: {}
|
53
|
+
post_install_message: start() -> io:format("Hello, World!").
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.9.2
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
requirements: []
|
68
|
+
rubyforge_project:
|
69
|
+
rubygems_version: 2.0.3
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: Erlang and Clojure inspired functional programming tools for Ruby.
|
73
|
+
test_files:
|
74
|
+
- spec/functional/behavior_spec.rb
|
75
|
+
- spec/functional/integration_spec.rb
|
76
|
+
- spec/functional/pattern_matching_spec.rb
|
77
|
+
- spec/spec_helper.rb
|
78
|
+
has_rdoc:
|