adobe_crx 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ require 'rexml/document'
3
3
 
4
4
  class AdobeCRX::PackageUtils
5
5
  def self.get_package_properties(package_file)
6
- Zip::ZipFile.open(package_file.path, Zip::ZipFile::CREATE) do |zipfile|
6
+ Zip::ZipFile.open(package_file.respond_to?(:path) ? package_file.path : package_file, Zip::ZipFile::CREATE) do |zipfile|
7
7
  doc = REXML::Document.new(zipfile.read("META-INF/vault/properties.xml"))
8
8
  properties = Hash.new
9
9
  doc.elements.each("//properties/entry") do |ele|
@@ -1 +1 @@
1
- ADOBE_CRX_VERSION = "0.0.2"
1
+ ADOBE_CRX_VERSION = "0.0.3"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adobe_crx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Todd Tomkinson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-26 00:00:00 -06:00
18
+ date: 2012-07-27 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency