lib/manifest.rb in inqlude-0.7.3 vs lib/manifest.rb in inqlude-0.7.4
- old
+ new
@@ -20,11 +20,11 @@
manifest.filename =~ /^(.*?)\./
manifest.libraryname = $1
manifest.from_hash(json)
end
-
+
def self.parse_schema_version schema_id
schema_id =~ /^http:\/\/inqlude\.org\/schema\/(.*)-manifest-v(.*)\#$/
type = $1
version = $2.to_i
if !type || !version
@@ -58,10 +58,11 @@
attribute :packages do
attribute :source
attribute :openSUSE
attribute :windows
attribute :ubuntu
+ attribute :osx
end
attribute :group
attr_reader :schema_version
@@ -175,6 +176,5 @@
def has_version?
true
end
end
-