Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

makeup

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup - rubygems Package Compare versions

Comparing version
0.4.3
to
0.4.4
+1
-15
lib/makeup/markup.rb

@@ -31,16 +31,2 @@ # encoding: utf-8

module Makeup
# Ugly work-around to access GitHub::Markup's @@markups without
# monkey-patching the module.
module GitHubMarkupAccessor
include GitHub::Markup
def self.markups
@@supported ||= (@@markups.keys.map do |key|
key.to_s.match(/\(\?-mix:(.*)\)/)[1].split("|").map do |s|
{ :suffix => "*.#{s}" }
end
end).flatten
end
end
class NoopHighlighter

@@ -81,5 +67,5 @@ def highlight(path, code, options = {})

def self.markups
GitHubMarkupAccessor.markups
GitHub::Markup.markups
end
end
end
+1
-1

@@ -27,3 +27,3 @@ # encoding: utf-8

module Makeup
VERSION = "0.4.3"
VERSION = "0.4.4"
end

@@ -10,3 +10,4 @@ # -*- encoding: utf-8 -*-

s.email = ["christian@gitorious.org"]
s.homepage = "http://gitorious.org/gitorious/makeup"
s.homepage = "https://gitorious.org/gitorious/makeup"
s.license = "MIT"
s.summary = %q{Pretty markup}

@@ -23,3 +24,3 @@ s.description = <<-DESC

s.add_dependency "github-linguist", "~>2.8"
s.add_dependency "github-markup", "~> 0.7"
s.add_dependency "github-markup", "~> 1.0"
s.add_dependency "htmlentities", "~> 4.3"

@@ -26,0 +27,0 @@ s.add_dependency "loofah", "~> 1.2"

@@ -138,5 +138,5 @@ # encoding: utf-8

assert Array === markups
assert(markups.find { |m| m[:suffix] == "*.md" })
assert(markups.find { |m| m.match?("*.md") })
end
end
end