music_blender 0.0.2 → 0.0.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.
data/.gitignore CHANGED
@@ -1,5 +1,8 @@
1
1
  coverage
2
2
  *.swp
3
- log/*.log
3
+ log/*.log*
4
4
  db/*.db
5
5
  *.backup
6
+
7
+ # http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
8
+ Gemfile.lock
data/bin/blend CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/music_blender'
3
3
 
4
- MusicBlender::MUSIC_PATH = ARGV.pop
4
+ MusicBlender::MUSIC_PATH = File.expand_path(ARGV.pop)
5
5
  MusicBlender::Bootstrap.new.call
@@ -52,7 +52,7 @@ module MusicBlender
52
52
  end
53
53
 
54
54
  def setup_db_log
55
- ActiveRecord::Base.logger ||= Logger.new("#{BLENDER_ROOT}/log/database.log",'daily')
55
+ ActiveRecord::Base.logger ||= Logger.new("#{BLENDER_ROOT}/log/database.log", 10, 1024000)
56
56
  end
57
57
  end
58
58
  end
@@ -29,7 +29,7 @@ module MusicBlender
29
29
  def initialize
30
30
  @stdin, @stdout, @stderr, @wait_thread =
31
31
  Open3.popen3('mpg123 --rva-mix -R')
32
- @logger = Logger.new("#{BLENDER_ROOT}/log/player.log",'daily')
32
+ @logger = Logger.new("#{BLENDER_ROOT}/log/player.log", 10, 1024000)
33
33
  Thread.new { monitor.run }
34
34
  end
35
35
 
@@ -1,3 +1,3 @@
1
1
  module MusicBlender
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music_blender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-30 00:00:00.000000000 Z
12
+ date: 2013-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -165,7 +165,6 @@ extra_rdoc_files: []
165
165
  files:
166
166
  - .gitignore
167
167
  - Gemfile
168
- - Gemfile.lock
169
168
  - ID3TAGS.txt
170
169
  - LICENSE
171
170
  - README.md
data/Gemfile.lock DELETED
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- music_blender (0.0.1)
5
- activerecord
6
- sqlite3
7
- taglib-ruby
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- activemodel (4.0.0)
13
- activesupport (= 4.0.0)
14
- builder (~> 3.1.0)
15
- activerecord (4.0.0)
16
- activemodel (= 4.0.0)
17
- activerecord-deprecated_finders (~> 1.0.2)
18
- activesupport (= 4.0.0)
19
- arel (~> 4.0.0)
20
- activerecord-deprecated_finders (1.0.3)
21
- activesupport (4.0.0)
22
- i18n (~> 0.6, >= 0.6.4)
23
- minitest (~> 4.2)
24
- multi_json (~> 1.3)
25
- thread_safe (~> 0.1)
26
- tzinfo (~> 0.3.37)
27
- arel (4.0.0)
28
- assert_difference (0.5.0)
29
- atomic (1.1.13)
30
- builder (3.1.4)
31
- coderay (1.0.9)
32
- factory_girl (4.2.0)
33
- activesupport (>= 3.0.0)
34
- fakefs (0.4.2)
35
- i18n (0.6.5)
36
- metaclass (0.0.1)
37
- method_source (0.8.1)
38
- minitest (4.7.5)
39
- mocha (0.14.0)
40
- metaclass (~> 0.0.1)
41
- multi_json (1.7.4)
42
- pry (0.9.12.1)
43
- coderay (~> 1.0.5)
44
- method_source (~> 0.8)
45
- slop (~> 3.4)
46
- simplecov (0.7.1)
47
- multi_json (~> 1.0)
48
- simplecov-html (~> 0.7.1)
49
- simplecov-html (0.7.1)
50
- slop (3.4.4)
51
- sqlite3 (1.3.7)
52
- taglib-ruby (0.6.0)
53
- thread_safe (0.1.2)
54
- atomic
55
- tzinfo (0.3.37)
56
-
57
- PLATFORMS
58
- ruby
59
-
60
- DEPENDENCIES
61
- assert_difference
62
- factory_girl
63
- fakefs
64
- mocha
65
- music_blender!
66
- pry
67
- simplecov