File tree Expand file tree Collapse file tree 7 files changed +29
-9
lines changed Expand file tree Collapse file tree 7 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 1- ## [ 1.0.2] - 2021-10-27
1+ ## [ 1.0.3] - 2021-10-27
2+
3+ ### Added
4+
5+ -
26
37### Changed
48
5- - Lock timeout gem to 0.1.x
6- - Ensure rake is required when loading railtie tasks.
9+ - Remove timeout version lock.
710
8- ## [ 1.0.1 ] - 2021-07-24
11+ ## [ 1.0.2 ] - 2021-07-24
912
1013### Changed
1114
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- lambda_punch (1.0.2 )
4+ lambda_punch (1.0.3 )
55 concurrent-ruby
66 rake
77 rb-inotify
8- timeout ( ~> 0.1.1 )
8+ timeout
99
1010GEM
1111 remote: https://rubygems.org/
137137 activesupport (>= 4.0 )
138138 sprockets (>= 3.0.0 )
139139 thor (1.1.0 )
140- timeout (0.1.1 )
140+ timeout (0.2.0 )
141141 tzinfo (2.0.4 )
142142 concurrent-ruby (~> 1.0 )
143143 websocket-driver (0.7.5 )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121 spec . add_dependency "concurrent-ruby"
2222 spec . add_dependency "rake"
2323 spec . add_dependency "rb-inotify"
24- spec . add_dependency "timeout" , "~> 0.1.1"
24+ spec . add_dependency "timeout"
2525 spec . add_development_dependency "minitest-focus"
2626 spec . add_development_dependency "pry"
2727 spec . add_development_dependency "rails"
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ def error_handler=(func)
5858 @error_handler = func
5959 end
6060
61+ def tmp_file
62+ Notifier . tmp_file
63+ end
64+
6165 extend self
6266
6367end
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ def request_id
1515 File . read ( FILE )
1616 end
1717
18+ def tmp_file
19+ FILE
20+ end
21+
1822 end
1923
2024 def initialize
Original file line number Diff line number Diff line change 11module LambdaPunch
2- VERSION = "1.0.2 "
2+ VERSION = "1.0.3 "
33end
Original file line number Diff line number Diff line change 1+ require 'test_helper'
2+
3+ class NotifierTest < LambdaPunchSpec
4+
5+ it 'has an accessor for the temp file' do
6+ expect ( LambdaPunch . tmp_file ) . must_equal '/tmp/lambdapunch-handled'
7+ end
8+
9+ end
You can’t perform that action at this time.
0 commit comments