ramda-ruby 0.1.0.alpha → 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.
- checksums.yaml +4 -4
- data/README.md +23 -8
- data/docs/FUNCTIONS.md +2 -0
- data/lib/ramda.rb +2 -0
- data/lib/ramda/object.rb +23 -4
- data/lib/ramda/version.rb +1 -1
- data/spec/ramda/function_spec.rb +200 -0
- data/spec/ramda/internal/curried_method_spec.rb +16 -0
- data/spec/ramda/list_spec.rb +399 -0
- data/spec/ramda/logic_spec.rb +74 -0
- data/spec/ramda/math_spec.rb +75 -0
- data/spec/ramda/object_spec.rb +117 -0
- data/spec/ramda/relation_spec.rb +174 -0
- data/spec/ramda/string_spec.rb +44 -0
- data/spec/ramda_spec.rb +105 -0
- data/spec/spec_helper.rb +18 -0
- metadata +34 -29
- data/.bashrc.docker +0 -2
- data/.coveralls.yml +0 -1
- data/.gitignore +0 -14
- data/.overcommit.yml +0 -73
- data/.pryrc.docker +0 -1
- data/.rspec +0 -2
- data/.rubocop.yml +0 -42
- data/.travis.yml +0 -35
- data/Dockerfile +0 -24
- data/Gemfile +0 -23
- data/Gemfile.dev +0 -6
- data/Gemfile.dev.lock +0 -38
- data/Rakefile +0 -6
- data/appveyor.yml +0 -26
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/codeclimate.yml +0 -6
- data/docker-compose.override.yml +0 -12
- data/docker-compose.yml +0 -15
- data/ramda-ruby.gemspec +0 -24
data/Gemfile.dev
DELETED
data/Gemfile.dev.lock
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
ast (2.3.0)
|
5
|
-
childprocess (0.5.9)
|
6
|
-
ffi (~> 1.0, >= 1.0.11)
|
7
|
-
ffi (1.9.18)
|
8
|
-
iniparse (1.4.3)
|
9
|
-
overcommit (0.33.0)
|
10
|
-
childprocess (~> 0.5.8)
|
11
|
-
iniparse (~> 1.4)
|
12
|
-
parser (2.4.0.0)
|
13
|
-
ast (~> 2.2)
|
14
|
-
powerpack (0.1.1)
|
15
|
-
rainbow (2.2.2)
|
16
|
-
rake
|
17
|
-
rake (12.0.0)
|
18
|
-
rubocop (0.48.0)
|
19
|
-
parser (>= 2.3.3.1, < 3.0)
|
20
|
-
powerpack (~> 0.1)
|
21
|
-
rainbow (>= 1.99.1, < 3.0)
|
22
|
-
ruby-progressbar (~> 1.7)
|
23
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
24
|
-
rubocop-rspec (1.15.1)
|
25
|
-
rubocop (>= 0.42.0)
|
26
|
-
ruby-progressbar (1.8.1)
|
27
|
-
unicode-display_width (1.2.1)
|
28
|
-
|
29
|
-
PLATFORMS
|
30
|
-
ruby
|
31
|
-
|
32
|
-
DEPENDENCIES
|
33
|
-
overcommit (= 0.33)
|
34
|
-
rubocop (= 0.48.0)
|
35
|
-
rubocop-rspec (= 1.15.1)
|
36
|
-
|
37
|
-
BUNDLED WITH
|
38
|
-
1.14.6
|
data/Rakefile
DELETED
data/appveyor.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
install:
|
2
|
-
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
3
|
-
- SET PATH=C:\MinGW\bin;%PATH%
|
4
|
-
- SET RAKEOPT=-rdevkit
|
5
|
-
- ruby --version
|
6
|
-
- gem --version
|
7
|
-
- bundle install
|
8
|
-
|
9
|
-
build: off
|
10
|
-
|
11
|
-
test_script:
|
12
|
-
- bundle exec rake
|
13
|
-
|
14
|
-
environment:
|
15
|
-
matrix:
|
16
|
-
- ruby_version: "193"
|
17
|
-
- ruby_version: "200"
|
18
|
-
- ruby_version: "200-x64"
|
19
|
-
- ruby_version: "21"
|
20
|
-
- ruby_version: "21-x64"
|
21
|
-
- ruby_version: "22"
|
22
|
-
- ruby_version: "22-x64"
|
23
|
-
|
24
|
-
# matrix:
|
25
|
-
# allow_failures:
|
26
|
-
# - ruby_version: "193"
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'ramda/ruby'
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require 'irb'
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/codeclimate.yml
DELETED
data/docker-compose.override.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
app:
|
2
|
-
volumes:
|
3
|
-
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
|
4
|
-
- ./.bashrc.docker:/root/.bashrc
|
5
|
-
- ./.bash_history.docker:/root/.bash_history
|
6
|
-
# PRY
|
7
|
-
- ./.pry_history.docker:/root/.pry_history
|
8
|
-
- ./.pryrc.docker:/root/.pryrc
|
9
|
-
environment:
|
10
|
-
- CI_REPORTS=/tmp/shippable/testresults
|
11
|
-
- COVERAGE_REPORTS=/tmp/shippable/codecoverage
|
12
|
-
|
data/docker-compose.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
app:
|
2
|
-
container_name: rambda_ruby_app
|
3
|
-
build: .
|
4
|
-
dockerfile: Dockerfile
|
5
|
-
volumes:
|
6
|
-
- .:/srv/app
|
7
|
-
- ./config/config.yml.example:/srv/app/config/config.yml
|
8
|
-
volumes_from:
|
9
|
-
- bundle_cache
|
10
|
-
|
11
|
-
bundle_cache:
|
12
|
-
container_name: rambda_ruby_bundle_cache
|
13
|
-
image: busybox
|
14
|
-
volumes:
|
15
|
-
- /bundle_cache
|
data/ramda-ruby.gemspec
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
$LOAD_PATH << File.expand_path('../lib', __FILE__)
|
4
|
-
|
5
|
-
require 'ramda/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'ramda-ruby'
|
9
|
-
spec.version = Ramda::VERSION
|
10
|
-
spec.authors = ['Vadim Lazebny']
|
11
|
-
spec.email = ['vadim.lazebny@gmail.com']
|
12
|
-
|
13
|
-
spec.summary = 'RamdaJs implementation for Ruby.'
|
14
|
-
spec.description = 'A gem for porting RamdaJs tools for Ruby.'
|
15
|
-
spec.homepage = 'https://github.com/lazebny/ramda-ruby'
|
16
|
-
spec.license = 'MIT'
|
17
|
-
|
18
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
-
f.match(%r{^(test|spec|features)/})
|
20
|
-
end
|
21
|
-
spec.bindir = 'exe'
|
22
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
-
spec.require_paths = ['lib']
|
24
|
-
end
|