flac2mp3 0.4.1 → 0.4.2

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWJhM2U1ZThkNTUyZGQ3NGQ0YzU4ODY0YjU1ZTY5YmUyODBlNzBhNA==
4
+ NzI4MzFlZWZkMmU0ZTM1YzQzODFiNmQ5ZDAwYjFmZWRiYjk5N2EzNQ==
5
5
  data.tar.gz: !binary |-
6
- ZjRhMzhmYTdlNTJhNGUyYzVlOWQzNGQ1YzUxYzA3MjFhY2UwMjlmNg==
6
+ ZjY4YTRjMGVkNjE5MWJhNzJmOTYwMDkwMDZmNjRhNjU2MzUzMWUxOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzRlOWFmMmVmMTk3YTM0NjY0ODk3M2NhZWY5ZTZmMDA0YTIwYWY3NWZjZWFm
10
- MGMzOThiN2YxMjU0NTAzNzIwMjk3ZDIwMTY1NDNmN2RhZGQ0YTM5OWI3ZTJj
11
- NTIwZDczMWQ0M2E2ZTM5NTQyZDZhMWI4ZDYxOTgxZDNlNzhlMGU=
9
+ OTExNTM2OWEzYWUyNGE2ZDRjMzcxOTI3ZDkyNTQ3MGU4ZmQzMDQ3NmIyN2Y1
10
+ NjhiMTJhMTM2N2JkMzM4MmEzNDNjZGMyZDkxOGZjZmZjZmZjMWI4MzkyYWQ5
11
+ MzQ0NWMzNmUxZjBmODM0ZDUwZTkzMzUxYWJjNTM5NjY2NzA1NmI=
12
12
  data.tar.gz: !binary |-
13
- MmQ1Yjk0YzUxMDc3MjZjNmM5YWZlYTNkZDQ1YWRiYzNiZjc5YTA5NGQwNGE1
14
- ODMwZTM3YWFhZTA1ZjYyNTZhYjZjZjQ1MzVkZWU5YzdmNTVhZDZhYmQ5NGE5
15
- YzMzOTUzMWIwZjE1YjJkZjVhNDg2N2Y1MGFkMDgwOGRiODc5ZjA=
13
+ ODNiMjcyYWQ2NTJiN2UwZTg4NmM0Mjk4NGRhY2Q1ZGU2MWIyYWFmMjcyOGUy
14
+ NWIyNGY0YWUwMjMxYzhhNWI1ZTgwOWVhNGNkZGRhZTQxYmY2M2IwOTI3M2Zm
15
+ ZWJiOTYyZmVhZDJhYThjNmEzOGE1MmRhNDFjMWNmNzE0M2Y0NjI=
@@ -1,3 +1,8 @@
1
+ == 0.4.2 2013-04-21
2
+
3
+ * 1 tiny enhancement:
4
+ * Including README in gemspec again
5
+
1
6
  == 0.4.1 2013-04-20
2
7
 
3
8
  * 1 tiny enhancement:
@@ -0,0 +1,63 @@
1
+ # flac2mp3
2
+
3
+ ## Description
4
+
5
+ `flac2mp3` is meant to, as the name implies, convert FLAC files to MP3 files
6
+
7
+ ## Features/Problems
8
+
9
+ * Will convert a file from FLAC to MP3 format, natch.
10
+ * Not *only* is the song data converted, but so is the metadata!
11
+ * Options:
12
+ * silent running
13
+ * delete the FLAC after conversion
14
+ * MP3 encoding (defaults to `--preset standard`)
15
+ * Reads options from YAML config file, `~/.flac2mp3`
16
+
17
+ Currently operates on one file at a time. To convert more, try something like
18
+
19
+ for f in *.flac; do flac2mp3 "$f"; done
20
+
21
+ or
22
+
23
+ find . -name '*.flac' -exec flac2mp3 {} \;
24
+
25
+ If neither of those commands will work for you, try using a different OS.
26
+
27
+ ## Synopsis
28
+
29
+ $ flac2mp3 flac_filename
30
+ $ flac2mp3 flac_filename --silent
31
+ $ flac2mp3 --meta flac_filename mp3_filename
32
+
33
+ (or)
34
+
35
+ $ metaflac2mp3 flac_filename mp3_filename
36
+
37
+ or, if you insist
38
+
39
+ ``` ruby
40
+ require 'flac2mp3'
41
+
42
+ Flac2mp3.convert(flac_filename)
43
+ Flac2mp3.convert(flac_filename, :silent => true)
44
+ Flac2mp3.convert_metadata(flac_filename, mp3_filename)
45
+ ```
46
+
47
+ ## Requirements
48
+
49
+ * `flac`, the binary
50
+ * `lame`, the binary
51
+ * `flacinfo-rb`, the gem
52
+ * `ruby-mp3info`, the gem
53
+ * ruby, the interpreter
54
+
55
+ ## Install
56
+
57
+ gem install flac2mp3
58
+
59
+ ## Thanks
60
+
61
+ * Rich Lafferty, for turning me on to the wonderful idea of keeping everything in FLAC format
62
+ * Apple, for having a bunch of little-i, capital-letter products that don't like FLAC format
63
+ * Robin Bowes, for `flac2mp3.pl`, which annoyed me enough to get me to write this
@@ -2,7 +2,7 @@ class Flac2mp3 #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flac2mp3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yossef Mendelssohn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-20 00:00:00.000000000 Z
11
+ date: 2013-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bacon
@@ -77,6 +77,7 @@ extra_rdoc_files: []
77
77
  files:
78
78
  - License.txt
79
79
  - History.txt
80
+ - README.md
80
81
  - lib/flac2mp3/version.rb
81
82
  - lib/flac2mp3.rb
82
83
  - spec/flac2mp3_command_spec.rb