format_parser 0.12.1 → 0.12.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
- SHA1:
3
- metadata.gz: 3bc2d491cce23fbb1ba33f6dd67ac6b05dec772b
4
- data.tar.gz: ece819eb7e2db14dd5ac658cc16ebf8a8d8b0bb6
2
+ SHA256:
3
+ metadata.gz: 7dce2d0bca62e45c867866920dabc1b302f3ec3823e9a2602b1898699213694f
4
+ data.tar.gz: 8e4e2826467614c21d687648123cae1326976bcc4f6f344a40d35a3bac16f988
5
5
  SHA512:
6
- metadata.gz: 0c7c7eddd7892f1ae49376f0f5f74a947123af3b2d40fac132034f754f406a06d5ed8dba8c8f118ca14b538568aade544be265aa46bed741a29a0a1650627e52
7
- data.tar.gz: 7d06c0bbfb9c111d994f68418f01daa4f10eaf51f71c1eec61f8aa8764027356678f005d731732ba91343e7f56f257991daa9de6fff6187d226258eb196f66a3
6
+ metadata.gz: dbe1cf517017ee9d0ec8ada4cde56f0a61dac1ae638d1e0059f5f717b0230b9fb6eb521a89e37fddfc3f441b2b457d534939acf0fa2d1dd0491d16a30a4975ce
7
+ data.tar.gz: f4c53aa7f9b8608c7878607081768342880254963de4ae5b0eeebe2d0dd2901a2d8acd6f260a3743eca0cd3fdabb825cba94884856a1824453e35c88e3f1f733
@@ -1,3 +1,8 @@
1
+ ## 0.12.2
2
+ * Make sure the `VERSION` constant is available in the loaded gem. Previously the constant would be made
3
+ available by Bundler when developing the library - since it loads the `.gemspec` which, in turn, requires the
4
+ version.rb file, but when used as a gem the version.rb file would not end up being loaded.
5
+
1
6
  ## 0.12.1
2
7
  * Reinstate support for Ruby 2.2.0
3
8
  * Fix support for JRuby 9.0
@@ -3,6 +3,7 @@ require 'set'
3
3
  # A pretty nimble module for parsing file metadata using partial reads. Contains all the
4
4
  # top-level methods of the library.
5
5
  module FormatParser
6
+ require_relative 'format_parser/version'
6
7
  require_relative 'attributes_json'
7
8
  require_relative 'image'
8
9
  require_relative 'audio'
@@ -1,3 +1,3 @@
1
1
  module FormatParser
2
- VERSION = '0.12.1'
2
+ VERSION = '0.12.2'
3
3
  end
@@ -1,6 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe FormatParser do
4
+ it 'exposes VERSION' do
5
+ expect(FormatParser::VERSION).to be_kind_of(String)
6
+ end
7
+
4
8
  describe '.parse' do
5
9
  it 'returns nil when trying to parse an empty IO' do
6
10
  d = StringIO.new('')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: format_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Berman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-03 00:00:00.000000000 Z
12
+ date: 2018-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ks
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  version: '0'
252
252
  requirements: []
253
253
  rubyforge_project:
254
- rubygems_version: 2.5.2
254
+ rubygems_version: 2.7.3
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: A library for efficient parsing of file metadata