lib/omnibus/package.rb in omnibus-5.3.0 vs lib/omnibus/package.rb in omnibus-5.4.0

- old
+ new

@@ -12,11 +12,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -require 'json' +require 'ffi_yajl' module Omnibus class Package include Digestable @@ -93,10 +93,10 @@ # # The parsed contents of the metadata. # # @raise [NoPackageMetadataFile] if the {#metadata} does not exist - # @raise [JSON::ParserError] if the JSON is not valid + # @raise [FFI_Yajl::ParseError] if the JSON is not valid # # @return [Hash<Symbol, String>] # def metadata @metadata ||= Metadata.for_package(self)