pry-theme 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/lib/pry-theme/version.rb +1 -1
- data/lib/pry-theme.rb +2 -2
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/pry-theme/version.rb
CHANGED
data/lib/pry-theme.rb
CHANGED
@@ -101,14 +101,14 @@ module PryTheme
|
|
101
101
|
m = color.match(color_pattern)
|
102
102
|
|
103
103
|
color_fg = if $2
|
104
|
-
palette.colors.find do |color|
|
104
|
+
c = palette.colors.find do |color|
|
105
105
|
color.human == $2.to_sym
|
106
106
|
end
|
107
107
|
|
108
108
|
if c
|
109
109
|
c.term
|
110
110
|
else
|
111
|
-
raise NoColorError
|
111
|
+
raise NoColorError
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|