coloration 0.2.2 → 0.2.3
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.
|
@@ -7,7 +7,11 @@ module Coloration
|
|
|
7
7
|
class InvalidThemeError < RuntimeError; end
|
|
8
8
|
|
|
9
9
|
def parse_input
|
|
10
|
-
|
|
10
|
+
begin
|
|
11
|
+
tm_theme = Plist.parse_xml(input.gsub("ustring", "string"))
|
|
12
|
+
rescue
|
|
13
|
+
raise InvalidThemeError
|
|
14
|
+
end
|
|
11
15
|
raise InvalidThemeError if tm_theme.nil?
|
|
12
16
|
self.name = tm_theme["name"]
|
|
13
17
|
settings = tm_theme["settings"]
|
data/lib/coloration/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.2.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Marcin Kulik
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-07-
|
|
17
|
+
date: 2010-07-29 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|