pry-theme 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Pry Theme changelog
2
2
  ===================
3
3
 
4
+ ### v0.0.7 (June 30, 2012)
5
+
6
+ * **HOTFIX**: v0.0.6 is broken (because of my inattentiveness).
7
+
4
8
  ### v0.0.6 (June 30, 2012)
5
9
 
6
10
  * Fixed bug when a `prytheme` attribute has no color value, but with attributes
@@ -1,3 +1,3 @@
1
1
  module PryTheme
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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 unless c
111
+ raise NoColorError
112
112
  end
113
113
  end
114
114
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: