audio_monster 1.1.0 → 1.1.1

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
  SHA1:
3
- metadata.gz: 0e651690e7c651590e16787b91c476eea7855703
4
- data.tar.gz: ba2c26ff4e45841ba8281606d7655248d5330ab3
3
+ metadata.gz: ee6a6d54a9be1fe804fef3d6f248066b8af51888
4
+ data.tar.gz: 196826c589e41707836169f3116edc96ac0a375a
5
5
  SHA512:
6
- metadata.gz: 01998655ff23d452a369fc7d2b663088c3f864d418426ba567049f26d5801340a77f23c600f026f9a3c4460ad0232fcaf85d690e304fb0b0930a4548e47401b7
7
- data.tar.gz: e3715ed58ed499bca4bb7ce2037d7aa5379e5a171085cf72b4f5324ba94909e9cc59e71a2d5ad17d1ebc6add328e4634163e536dd89af1623609631f0902b3b1
6
+ metadata.gz: 0e61b152c02ce429b65919c7e765f4bea45212c199df726dbac44c1f1be8c951695e7d9544dac47ad98861eeef7ed8e5d0b046ac729dbb22ccdad21be5d7dac5
7
+ data.tar.gz: 8704767e08fa6d0d373cd4e21b372435d30de56818eeec57b0062d44526ea9595b3d34ffdf4db320b68fc01d43f2385a0f5ad10aa12c4c0b7c5afbde04af9847
data/.travis.yml CHANGED
@@ -1,3 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.2
3
+ - "2.2.1"
4
+ before_install:
5
+ - sudo add-apt-repository ppa:jon-severinsson/ffmpeg -y
6
+ - sudo apt-get update -qq
7
+ - sudo apt-get install -qq libsndfile1-dev imagemagick libsox-fmt-all lame mp3val sox madplay twolame flac
8
+ - sudo apt-get install -qq ffmpeg
@@ -832,7 +832,7 @@ module AudioMonster
832
832
  end
833
833
 
834
834
  if options[:channel_mode]
835
- cm_list = options[:channel_mode].to_a
835
+ cm_list = Array(options[:channel_mode])
836
836
  add_error(:channel_mode, "channel mode must be one of (#{cm_list.to_sentence})") unless cm_list.include?(info.channel_mode)
837
837
  end
838
838
 
@@ -847,7 +847,7 @@ module AudioMonster
847
847
  sample_rate = 44100
848
848
  op = ">="
849
849
  mpeg_sample_rate = info.samplerate.to_i
850
- if options[:sample_rate].match(' ')
850
+ if options[:sample_rate].to_s.match(' ')
851
851
  op, sample_rate = options[:sample_rate].split(' ')
852
852
  sample_rate = sample_rate.to_i
853
853
  op = valid_operator(op)
@@ -861,7 +861,7 @@ module AudioMonster
861
861
  bit_rate = 128
862
862
  op = ">="
863
863
  mpeg_bit_rate = info.bitrate.to_i
864
- if options[:bit_rate].match(' ')
864
+ if options[:bit_rate].to_s.match(' ')
865
865
  op, bit_rate = options[:bit_rate].split(' ')
866
866
  bit_rate = bit_rate.to_i
867
867
  op = valid_operator(op)
@@ -877,7 +877,7 @@ module AudioMonster
877
877
  mpeg_channels = "Single Channel" == info.channel_mode ? 1 : 2
878
878
  mpeg_per_channel_bit_rate = info.bitrate.to_i / mpeg_channels
879
879
 
880
- if options[:per_channel_bit_rate].match(' ')
880
+ if options[:per_channel_bit_rate].to_s.match(' ')
881
881
  op, per_channel_bit_rate = options[:per_channel_bit_rate].split(' ')
882
882
  per_channel_bit_rate = per_channel_bit_rate.to_i
883
883
  op = valid_operator(op)
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module AudioMonster
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audio_monster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kuklewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nu_wav