daitai 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 46621d1de1dd992af0bf8d119545ab537e8576c61a95bc7227256c06b54dae3e
4
+ data.tar.gz: '097adb04342ddf86538403fe49ba72d5223777f5b2e855fa48e9e7b3827985ab'
5
+ SHA512:
6
+ metadata.gz: 148744cc281ddc527ade6d0726a035a4221c3894f50dd33f0a127274a4439cc73738d04a760357430160e8278dd09af29051a363bf7b7827031ea0d6c92c44e7
7
+ data.tar.gz: 84896991442c89ea623d960d56a7b962b2d0f3cbc1689eee29123b6a81b4fb42641972bfd8fa243baaa4ba473913f821cdd40d6ec1ccf0e30d3239ed1420b64c
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,8 @@
1
+ Style/LambdaCall:
2
+ EnforcedStyle: braces
3
+
4
+ Style/Documentation:
5
+ Enabled: false
6
+
7
+ Metrics/LineLength:
8
+ Max: 100
@@ -0,0 +1,10 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.1.10
5
+ - 2.2.9
6
+ - 2.3.6
7
+ - 2.4.3
8
+ - 2.5.0
9
+ - ruby-head
10
+ before_install: gem install bundler -v 1.16.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at walerian.sobczak@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in daitai.gemspec
6
+ gemspec
@@ -0,0 +1,41 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ daitai (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ coderay (1.1.2)
10
+ diff-lcs (1.3)
11
+ method_source (0.9.0)
12
+ pry (0.11.3)
13
+ coderay (~> 1.1.0)
14
+ method_source (~> 0.9.0)
15
+ rake (10.5.0)
16
+ rspec (3.7.0)
17
+ rspec-core (~> 3.7.0)
18
+ rspec-expectations (~> 3.7.0)
19
+ rspec-mocks (~> 3.7.0)
20
+ rspec-core (3.7.1)
21
+ rspec-support (~> 3.7.0)
22
+ rspec-expectations (3.7.0)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.7.0)
25
+ rspec-mocks (3.7.0)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.7.0)
28
+ rspec-support (3.7.0)
29
+
30
+ PLATFORMS
31
+ ruby
32
+
33
+ DEPENDENCIES
34
+ bundler (~> 1.16)
35
+ daitai!
36
+ pry (~> 0.11.3)
37
+ rake (~> 10.0)
38
+ rspec (~> 3.0)
39
+
40
+ BUNDLED WITH
41
+ 1.16.1
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Walerian Sobczak
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,171 @@
1
+ # Daitai [![Build Status](https://travis-ci.org/walerian777/daitai.svg?branch=master)](https://travis-ci.org/walerian777/daitai)
2
+
3
+ Daitai (代替, Japanese for "alternative") is a functional library for Ruby language.
4
+
5
+ #### Why is it different?
6
+ * Encourages **Haskell's style** of writing functions - the object you work on is the last parameter, so you can compose a sequence of operations on this object.
7
+ * Provides **curried** functions.
8
+ * Favors **immutability**.
9
+ * Eliminates **side effects**.
10
+
11
+
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'daitai'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ ```
24
+ $ bundle
25
+ ```
26
+
27
+ Or install it yourself as:
28
+
29
+ ```
30
+ $ gem install daitai
31
+ ```
32
+
33
+ ## Documentation
34
+ * [all](#all-definition)
35
+ * [any](#any-definition)
36
+ * [compose](#compose-definition)
37
+ * [filter](#filter-definition)
38
+ * [map](#map-definition)
39
+ * [pipe](#pipe-definition)
40
+ * [reduce](#reduce-definition)
41
+ * [sort](#sort-definition)
42
+
43
+ - - -
44
+
45
+ <h4 id='all-definition'>
46
+ <code>all :: (a -> Bool) -> [a] -> Bool</code>
47
+ </h4>
48
+
49
+ Checks if all elements of the list satisfy the predicate.
50
+
51
+ ```ruby
52
+ even = ->(x) { x % 2 == 0 }
53
+ Daitai.all.(even, [2, 4, 6, 8]) # => true
54
+ Daitai.all.(even, [2, 4, 7, 8]) # => false
55
+ ```
56
+
57
+ - - -
58
+
59
+ <h4 id='any-definition'>
60
+ <code>any :: (a -> Bool) -> [a] -> Bool</code>
61
+ </h4>
62
+
63
+ Checks if at least one element of the list satisfies the predicate.
64
+
65
+ ```ruby
66
+ even = ->(x) { x % 2 == 0 }
67
+ Daitai.any.(even, [1, 2, 3, 5]) # => true
68
+ Daitai.any.(even, [1, 3, 5, 7]) # => false
69
+ ```
70
+
71
+ - - -
72
+
73
+ <h4 id='compose-definition'>
74
+ <code>compose :: (b -> c) -> (a -> b) -> (a -> c)</code>
75
+ </h4>
76
+
77
+ Applies one function to the result of another to produce a new function.
78
+
79
+ ```ruby
80
+ add_two = ->(x) { x + 2 }
81
+ square = ->(x) { x * x }
82
+ f = Daitai.compose.(square, add_two)
83
+ f.(10) # => 144
84
+ ```
85
+
86
+ - - -
87
+
88
+ <h4 id='filter-definition'>
89
+ <code>filter :: (a -> Bool) -> [a] -> [a]</code>
90
+ </h4>
91
+
92
+ Returns a list of all elements that satisfy the predicate.
93
+
94
+ ```ruby
95
+ greater_than_two = -> (x) { x > 2 }
96
+ Daitai.filter.(greater_than_two, [1, 2, 3, 4]) # => [3, 4]
97
+ ```
98
+
99
+ - - -
100
+
101
+ <h4 id='map-definition'>
102
+ <code>map :: (a -> b) -> [a] -> [b]</code>
103
+ </h4>
104
+
105
+ Applies the function to all elements of the list and returns a new list of the results.
106
+
107
+ ```ruby
108
+ triple = ->(x) { x * 3 }
109
+ Daitai.map.(triple, [1, 2, 3, 4]) # => [3, 6, 9, 12]
110
+ ```
111
+
112
+ - - -
113
+
114
+ <h4 id='pipe-definition'>
115
+ <code>pipe :: (a -> b) -> (b -> c) -> (a -> c)</code>
116
+ </h4>
117
+
118
+ Performs a function composition from left to right and returns a new function.
119
+
120
+ ```ruby
121
+ add_two = ->(x) { x + 2 }
122
+ square = ->(x) { x * x }
123
+ f = Daitai.pipe.(square, add_two)
124
+ f.(10) # => 102
125
+ ```
126
+
127
+ - - -
128
+
129
+ <h4 id='reduce-definition'>
130
+ <code>reduce :: (a -> b -> a) -> a -> [b] -> a</code>
131
+ </h4>
132
+
133
+ Reduces the list using the function, from left to right, using the accumulator.
134
+
135
+ ```ruby
136
+ sum = ->(x, y) { x + y }
137
+ Daitai.reduce.(sum, 0, [1, 2, 3, 4]) # => 10
138
+ ```
139
+
140
+ - - -
141
+
142
+ <h4 id='sort-definition'>
143
+ <code>sort :: (a -> a -> Number) -> [a] -> [a]</code>
144
+ </h4>
145
+
146
+ Returns a sorted copy of the list according to the specified comparator function.
147
+
148
+ ```ruby
149
+ diff = ->(x, y) { x - y }
150
+ Daitai.sort.(diff, [2, 1, 4, 3]) # => [1, 2, 3, 4]
151
+ ```
152
+
153
+ - - -
154
+
155
+ ## Development
156
+
157
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
158
+
159
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
160
+
161
+ ## Contributing
162
+
163
+ Bug reports and pull requests are welcome on GitHub at [walerian777/daitai](https://github.com/walerian777/daitai). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
164
+
165
+ ## License
166
+
167
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
168
+
169
+ ## Code of Conduct
170
+
171
+ Everyone interacting in the Daitai project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/walerian777/daitai/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'daitai'
5
+
6
+ require 'pry'
7
+ Pry.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,26 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'daitai/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'daitai'
7
+ spec.version = Daitai::VERSION
8
+ spec.authors = ['Walerian Sobczak']
9
+ spec.email = ['walerian.sobczak@gmail.com']
10
+
11
+ spec.summary = 'A functional library for Ruby.'
12
+ spec.homepage = 'https://github.com/walerian777/daitai'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
17
+ end
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.16'
23
+ spec.add_development_dependency 'pry', '~> 0.11.3'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rspec', '~> 3.0'
26
+ end
@@ -0,0 +1,20 @@
1
+ require 'daitai/all'
2
+ require 'daitai/any'
3
+ require 'daitai/compose'
4
+ require 'daitai/filter'
5
+ require 'daitai/map'
6
+ require 'daitai/pipe'
7
+ require 'daitai/reduce'
8
+ require 'daitai/sort'
9
+ require 'daitai/version'
10
+
11
+ module Daitai
12
+ extend All
13
+ extend Any
14
+ extend Compose
15
+ extend Filter
16
+ extend Map
17
+ extend Pipe
18
+ extend Reduce
19
+ extend Sort
20
+ end
@@ -0,0 +1,9 @@
1
+ module Daitai
2
+ module All
3
+ def all
4
+ lambda do |predicate, list|
5
+ list.all?(&predicate)
6
+ end.curry
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module Daitai
2
+ module Any
3
+ def any
4
+ lambda do |predicate, list|
5
+ list.any?(&predicate)
6
+ end.curry
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,25 @@
1
+ module Daitai
2
+ module Compose
3
+ def compose
4
+ lambda do |*functions|
5
+ if functions.length > 2
6
+ compose_n(functions)
7
+ else
8
+ compose_two(functions)
9
+ end
10
+ end.curry
11
+ end
12
+
13
+ private
14
+
15
+ def compose_two(functions)
16
+ f, g = functions
17
+ ->(*args) { f.(g.(*args)) }
18
+ end
19
+
20
+ def compose_n(functions)
21
+ head, *tail = functions
22
+ ->(*args) { head.(compose.(*tail).(*args)) }
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,22 @@
1
+ module Daitai
2
+ module Filter
3
+ def filter
4
+ lambda do |predicate, filterable|
5
+ case filterable
6
+ when Hash then hash_filter(predicate, filterable)
7
+ else default_filter(predicate, filterable)
8
+ end
9
+ end.curry
10
+ end
11
+
12
+ private
13
+
14
+ def hash_filter(predicate, filterable)
15
+ Hash[filterable.select { |_, value| predicate.(value) }]
16
+ end
17
+
18
+ def default_filter(predicate, filterable)
19
+ filterable.select(&predicate)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,27 @@
1
+ module Daitai
2
+ module Map
3
+ def map
4
+ lambda do |fn, functor|
5
+ case functor
6
+ when Proc then proc_map(fn, functor)
7
+ when Hash then hash_map(fn, functor)
8
+ else default_map(fn, functor)
9
+ end
10
+ end.curry
11
+ end
12
+
13
+ private
14
+
15
+ def proc_map(fn, functor)
16
+ ->(*args) { fn.(*functor.(*args)) }
17
+ end
18
+
19
+ def hash_map(fn, functor)
20
+ Hash[functor.map { |key, value| [key, fn.(value)] }]
21
+ end
22
+
23
+ def default_map(fn, functor)
24
+ functor.map(&fn)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,25 @@
1
+ module Daitai
2
+ module Pipe
3
+ def pipe
4
+ lambda do |*functions|
5
+ if functions.length > 2
6
+ pipe_n(functions)
7
+ else
8
+ pipe_two(functions)
9
+ end
10
+ end.curry
11
+ end
12
+
13
+ private
14
+
15
+ def pipe_two(functions)
16
+ f, g = functions
17
+ ->(*args) { g.(f.(*args)) }
18
+ end
19
+
20
+ def pipe_n(functions)
21
+ head, *tail = functions
22
+ ->(*args) { pipe.(*tail).(head.(*args)) }
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,9 @@
1
+ module Daitai
2
+ module Reduce
3
+ def reduce
4
+ lambda do |fn, acc, list|
5
+ list.reduce(acc, &fn)
6
+ end.curry
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module Daitai
2
+ module Sort
3
+ def sort
4
+ lambda do |comparator, list|
5
+ list.sort(&comparator)
6
+ end.curry
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module Daitai
2
+ VERSION = '0.1.0'.freeze
3
+ end
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: daitai
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Walerian Sobczak
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-02-23 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: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.11.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.11.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description:
70
+ email:
71
+ - walerian.sobczak@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".rubocop.yml"
79
+ - ".travis.yml"
80
+ - CODE_OF_CONDUCT.md
81
+ - Gemfile
82
+ - Gemfile.lock
83
+ - LICENSE.txt
84
+ - README.md
85
+ - Rakefile
86
+ - bin/console
87
+ - bin/setup
88
+ - daitai.gemspec
89
+ - lib/daitai.rb
90
+ - lib/daitai/all.rb
91
+ - lib/daitai/any.rb
92
+ - lib/daitai/compose.rb
93
+ - lib/daitai/filter.rb
94
+ - lib/daitai/map.rb
95
+ - lib/daitai/pipe.rb
96
+ - lib/daitai/reduce.rb
97
+ - lib/daitai/sort.rb
98
+ - lib/daitai/version.rb
99
+ homepage: https://github.com/walerian777/daitai
100
+ licenses:
101
+ - MIT
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project:
119
+ rubygems_version: 2.7.3
120
+ signing_key:
121
+ specification_version: 4
122
+ summary: A functional library for Ruby.
123
+ test_files: []