File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
3- gem 'nokogiri '
3+ gem 'oj '
44
55group :test do
66 gem 'minitest'
Original file line number Diff line number Diff line change 11GEM
22 remote: https://rubygems.org/
33 specs:
4- mini_portile2 ( 2.4.0 )
5- minitest (5.14.2 )
6- nokogiri ( 1.10.10 )
7- mini_portile2 ( ~> 2.4 .0 )
4+ bigdecimal ( 3.1.5 )
5+ minitest (5.20.0 )
6+ oj ( 3.16.3 )
7+ bigdecimal ( >= 3 .0 )
88
99PLATFORMS
1010 ruby
1111
1212DEPENDENCIES
1313 minitest
14- nokogiri
14+ oj
1515
1616BUNDLED WITH
1717 2.3.7
Original file line number Diff line number Diff line change 1- require 'nokogiri'
1+ p Dir . pwd
22
3- def handler ( *)
4- {
5- libxml : Nokogiri ::LIBXML_VERSION ,
6- }
7- end
3+ require 'bundler/setup'
4+ require 'oj'
85
9- def handler2 ( *)
10- "hi!"
6+ def handler ( *)
7+ # This handler ensures the gem with a native extension is bundled properly
8+ Oj . dump ( { greeting : 'hi!' } )
119end
You can’t perform that action at this time.
0 commit comments