mediainfo 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1a7b21d5d2384c473c77455711cd555bd112093d87e8d122c262d3e7edc5a6c
4
- data.tar.gz: 3802797902e9bfd0b4854a35066aa92b0bcc6d0b9f36f25687f1da9f82dc4e81
3
+ metadata.gz: d9b9f915a19f9e7ff51cbda842cb2f163e4c1977dec552db464cf1ad1d6b7c1a
4
+ data.tar.gz: 5dcd60c6fe17ce779cb051de513ced21b46cb3d3f4d10b3f0ddefdb9d69e15de
5
5
  SHA512:
6
- metadata.gz: b1d7dbaf1df40cb720c269740b1274badf728bf54cfc20b6818e7ae38b282c66af5065abd0d84456cd9c984b05b36571dac27227f7fa9586f5bd446114fc6f68
7
- data.tar.gz: f12b2fd55f5de540d48d400b91ec0038a17f256c0c6b7d473367be983fe6769d8969bc3e519a80af4348b9b2728d69b0c5c70e9704e68474e12c765b1670d2e3
6
+ metadata.gz: b69a8c19047797e6bdfb71ab9d93b690ec844a3005551868f1326c011d7772b18fa032a118fd60683c32f1c226fc11bfc7b646ba0bd1d509e6688acb6c5ddf83
7
+ data.tar.gz: ca6efb991313d67c59142fbe98ce82cc6b2f56036d86275e36941dd5a4ca21b23b5038b0a34a57b2edd7e27bdb0c8c6a6f067d6147b34bf95d08eaff94fb37bc
@@ -12,7 +12,7 @@ module MediaInfo
12
12
 
13
13
  def initialize(input = nil)
14
14
  if input && input.include?('<?xml')
15
- @xml = input
15
+ @xml = input.gsub(/(\n|.)*(\<\?xml)/,'<?xml')
16
16
  @track_types = []
17
17
  @attribute_standardization_rules = YAML.load_file("#{Gem::Specification.find_by_name('mediainfo').gem_dir}/lib/attribute_standardization_rules.yml")
18
18
  # Populate Streams
@@ -1,3 +1,3 @@
1
1
  module MediaInfo
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediainfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Thomas Rasmussen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-12 00:00:00.000000000 Z
11
+ date: 2018-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler