audio_monster 1.2.2 → 1.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.
- checksums.yaml +4 -4
- data/lib/audio_monster/monster.rb +4 -3
- data/lib/audio_monster/version.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5d0e6ea4c3b3357151c51698a23c7edcae67c33e
         | 
| 4 | 
            +
              data.tar.gz: 64439d9c9f2cc8105187c77d136ef4280fa51ef2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ccac8d90d73c02d4b9c552b6ba13eebfd7ecbdeebda0cffd6ada4dd3fc467252f94ac2adb39328bbffabc3712edf95ee9bdbf5c4ea59f11fcf762252ebd4779c
         | 
| 7 | 
            +
              data.tar.gz: 2bdccfd682e2b6fa3df6578d737126ff7e996275a2c5c40db33f04add9bc8ccfbb1e92085f8ee0c7fbc2d73501368b6c5ca6076fb5effd04d86061f49dc399e0
         | 
| @@ -266,9 +266,10 @@ module AudioMonster | |
| 266 266 | 
             
                def info_for_mpeg(path, info = nil)
         | 
| 267 267 | 
             
                  info = info_for_audio(path)
         | 
| 268 268 | 
             
                  mp3_info ||= Mp3Info.new(path)
         | 
| 269 | 
            -
                  info[: | 
| 270 | 
            -
                  info[: | 
| 271 | 
            -
                  info[: | 
| 269 | 
            +
                  info[:channel_mode] = mp3_info.channel_mode
         | 
| 270 | 
            +
                  info[:version]      = mp3_info.mpeg_version
         | 
| 271 | 
            +
                  info[:layer]        = mp3_info.layer
         | 
| 272 | 
            +
                  info[:padding]      = mp3_info.header[:padding]
         | 
| 272 273 | 
             
                  info
         | 
| 273 274 | 
             
                end
         | 
| 274 275 |  |