ramda-ruby 0.12.0 → 0.14.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.
@@ -1,10 +1,16 @@
1
1
  require 'bundler/setup'
2
- require 'ramda'
3
2
  require 'pry'
3
+ require 'ramda'
4
+ require 'dry-monads' if RUBY_VERSION.to_f >= 2.1
5
+ require 'kleisli'
4
6
 
5
7
  R = Ramda
6
8
  R.debug_mode = true if ENV['RAMDA_DEBUG']
7
9
 
10
+ Maybe = ::Ramda::Internal::Functors::Maybe
11
+ DryMaybe = ::Dry::Monads::Maybe if defined?(Dry)
12
+ KleisliMaybe = ::Kleisli::Maybe
13
+
8
14
  require 'coveralls'
9
15
  Coveralls.wear!
10
16
 
@@ -16,4 +22,6 @@ RSpec.configure do |config|
16
22
  config.expect_with :rspec do |c|
17
23
  c.syntax = :expect
18
24
  end
25
+
26
+ config.filter_run_excluding market: :dry_monads unless defined?(Dry)
19
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ramda-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vadim Lazebny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-09 00:00:00.000000000 Z
11
+ date: 2017-08-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby version of Ramda Js library.
14
14
  email:
@@ -20,6 +20,7 @@ extra_rdoc_files:
20
20
  - LICENSE.txt
21
21
  - CHANGELOG.md
22
22
  - ROADMAP.md
23
+ - docs/FUNCTORS.md
23
24
  - docs/FUNCTIONS.md
24
25
  - docs/RESOURCES.md
25
26
  files:
@@ -28,16 +29,24 @@ files:
28
29
  - README.md
29
30
  - ROADMAP.md
30
31
  - docs/FUNCTIONS.md
32
+ - docs/FUNCTORS.md
31
33
  - docs/RESOURCES.md
32
34
  - lib/ramda.rb
33
35
  - lib/ramda/exception_handler.rb
34
36
  - lib/ramda/function.rb
37
+ - lib/ramda/internal/class_which_respond_to.rb
35
38
  - lib/ramda/internal/curried_method.rb
36
39
  - lib/ramda/internal/dispatchable.rb
37
40
  - lib/ramda/internal/function_with_arity.rb
38
41
  - lib/ramda/internal/functors.rb
42
+ - lib/ramda/internal/integrations.rb
39
43
  - lib/ramda/internal/java/__make_curry_proc__.rb
40
44
  - lib/ramda/internal/transducers.rb
45
+ - lib/ramda/internal/transducers/drop_repeats_transducer.rb
46
+ - lib/ramda/internal/transducers/drop_repeats_with_transducer.rb
47
+ - lib/ramda/internal/transducers/filter_transdurer.rb
48
+ - lib/ramda/internal/transducers/map_transducer.rb
49
+ - lib/ramda/internal/transducers/take_transducer.rb
41
50
  - lib/ramda/list.rb
42
51
  - lib/ramda/logic.rb
43
52
  - lib/ramda/math.rb