File tree Expand file tree Collapse file tree 5 files changed +19
-19
lines changed
Expand file tree Collapse file tree 5 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- enumpath (0.1.1 )
4+ enumpath (0.1.2 )
55 mini_cache (~> 1.1.0 )
66 to_regexp (~> 0.2.1 )
77
1111 benchmark-perf (0.2.1 )
1212 byebug (10.0.2 )
1313 coderay (1.1.2 )
14- diff-lcs (1.3 )
14+ diff-lcs (1.4.4 )
1515 method_source (0.9.0 )
1616 mini_cache (1.1.0 )
1717 null-logger (0.1.5 )
2222 byebug (~> 10.0 )
2323 pry (~> 0.10 )
2424 rake (12.3.3 )
25- rspec (3.8 .0 )
26- rspec-core (~> 3.8 .0 )
27- rspec-expectations (~> 3.8 .0 )
28- rspec-mocks (~> 3.8 .0 )
25+ rspec (3.10 .0 )
26+ rspec-core (~> 3.10 .0 )
27+ rspec-expectations (~> 3.10 .0 )
28+ rspec-mocks (~> 3.10 .0 )
2929 rspec-benchmark (0.3.0 )
3030 benchmark-perf (~> 0.2.0 )
3131 rspec (>= 3.0.0 , < 4.0.0 )
32- rspec-core (3.8.0 )
33- rspec-support (~> 3.8 .0 )
34- rspec-expectations (3.8 .1 )
32+ rspec-core (3.10.1 )
33+ rspec-support (~> 3.10 .0 )
34+ rspec-expectations (3.10 .1 )
3535 diff-lcs (>= 1.2.0 , < 2.0 )
36- rspec-support (~> 3.8 .0 )
37- rspec-mocks (3.8.0 )
36+ rspec-support (~> 3.10 .0 )
37+ rspec-mocks (3.10.2 )
3838 diff-lcs (>= 1.2.0 , < 2.0 )
39- rspec-support (~> 3.8 .0 )
40- rspec-support (3.8.0 )
39+ rspec-support (~> 3.10 .0 )
40+ rspec-support (3.10.2 )
4141 rspec_junit_formatter (0.4.1 )
4242 rspec-core (>= 2 , < 4 , != 2.12.0 )
4343 to_regexp (0.2.1 )
@@ -47,7 +47,7 @@ PLATFORMS
4747 ruby
4848
4949DEPENDENCIES
50- bundler (~> 1.16 )
50+ bundler (~> 2.1 )
5151 enumpath !
5252 null-logger (~> 0.1 )
5353 pry-byebug (~> 3.6 )
@@ -58,4 +58,4 @@ DEPENDENCIES
5858 yard (~> 0.9.26 )
5959
6060BUNDLED WITH
61- 1.17.2
61+ 2.2.15
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
3434 spec . add_dependency 'mini_cache' , '~> 1.1.0'
3535 spec . add_dependency 'to_regexp' , '~> 0.2.1'
3636
37- spec . add_development_dependency 'bundler' , '~> 1.16 '
37+ spec . add_development_dependency 'bundler' , '~> 2.1 '
3838 spec . add_development_dependency 'null-logger' , '~> 0.1'
3939 spec . add_development_dependency 'pry-byebug' , '~> 3.6'
4040 spec . add_development_dependency 'rake' , '~> 12.3'
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def logger
4848 # @private
4949 # @see Enumpath::Logger#log
5050 def log ( title )
51- block_given? ? logger . log ( title , &Proc . new ) : logger . log ( title )
51+ block_given? ? logger . log ( title , &-> { yield } ) : logger . log ( title )
5252 end
5353
5454 # A lightweight in-memory cache for caching normalized path expressions
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Enumpath
4- VERSION = '0.1.1 '
4+ VERSION = '0.1.2 '
55end
Original file line number Diff line number Diff line change 5353 it 'passes the :result_type option through to Enumpath::Path#new' do
5454 result_type = :path
5555 expect ( Enumpath ::Path ) . to receive ( :new ) . with ( path , result_type : result_type ) . and_call_original
56- Enumpath . apply ( path , enum , result_type : :path )
56+ Enumpath . apply ( path , enum , result_type : result_type )
5757 end
5858
5959 it 'calls #apply with enum on the Enumpath::Path instance' do
You can’t perform that action at this time.
0 commit comments