kbl 0.2.0 → 0.2.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: e852e61e09bff3e8f49b0b67999c00f03c748dc6
4
- data.tar.gz: 011283369cf6e2aca80718485037472c6dcf46ab
3
+ metadata.gz: ab3eb579fc72c971a182ddf2e406fb6d16e0ed3c
4
+ data.tar.gz: 32095546c9d6104d3224df9fc5fc379eb9a34f9f
5
5
  SHA512:
6
- metadata.gz: 613a8f0deac003c24877f13ee87b87e4244a2af4917a1da4317f9f02aa5162062bc6c01db555b53a033b14acbab31afc30c1a08567173d9beab42de4bbdbd19d
7
- data.tar.gz: bafdad4ab784c08a475e80f5d41bc8f36c33841bebab12a38c0c73144a1449c84774f2e2d1d396d38f80ed2fd61d76e3e1b59b4fa3364b2f737132ea813156a9
6
+ metadata.gz: 628fef6061a9ac6dee54fad0777e8d837986dda77d2c1cff7b262f140ab80072ee2a6f4da86df8853631d55728d1217adf59fed7f4c1d74bd2559fad3383e496
7
+ data.tar.gz: cd8dc8865f55a912306ac87158f54754d980f1ab07a629ee5ff60d68c0ca23bdca324bab42d20b5d369b9c1d296a2b3fa8ca20b8cd854834d4c8f91586da1af6
@@ -0,0 +1,27 @@
1
+ # Changelog
2
+
3
+ ## 0.2.1
4
+
5
+ * Fix serious XML bug for Package. The KBL files are now generated properly.
6
+
7
+ ## 0.2.0
8
+
9
+ * Improved CLI tool usage documents and caveats.
10
+ * KBL files are rendered by HAML templates. Deprecated Nokogiri. Reason:
11
+ * Nokogiri as a XML parser, escapes HTML entities.
12
+ * However KBL files does not escape HTML entities.
13
+ * When a song is imported to your KKBOX client and that song has no cache in your local KKBOX database, the KKBOX client will take song name, artist name and album name from KBL files, making it strange to people.
14
+ * HAML renderer does not escape HTML entities, therefore we use it instead of a powerful and general XML processor.
15
+ * `#to_kbl` is deprecated. Use `#to_xml` now.
16
+ * All templates are located at `lib/templates/*.haml`.
17
+
18
+ ## 0.1.0
19
+
20
+ * Introduces `kbl` command line tool.
21
+ * `kbl import` to blute-forcely import KKBOX Songs via Command Line `open` command.
22
+ * `kbl dump` to dump KKBOX Song Meta Data from your KKBOX local database.
23
+ * Switch to Nokogiri in order to unify serialization endpoints across Package, Playlist and Song classes.
24
+
25
+ ## 0.0.1 :birthday:
26
+
27
+ * Basic KBL DSL in Ruby.
@@ -1,13 +1,13 @@
1
1
  %utf-8_data
2
2
  %kkbox_package
3
- %kkbox_ver= self.kkbox_version
3
+ %kkbox_ver= self.kkbox_version
4
4
 
5
- - @playlists.each do |playlist|
6
- = playlist.to_xml
5
+ - @playlists.each do |playlist|
6
+ = playlist.to_xml
7
7
 
8
- %package
9
- %ver 1.0
10
- %descr 包裝說明
11
- %packdate= self.date.strftime("%Y%m%d%H%M%S")
12
- %playlistcnt= self.playlists.size
13
- %songcnt= self.total_songs
8
+ %package
9
+ %ver 1.0
10
+ %descr 包裝說明
11
+ %packdate= self.date.strftime("%Y%m%d%H%M%S")
12
+ %playlistcnt= self.playlists.size
13
+ %songcnt= self.total_songs
@@ -1,3 +1,3 @@
1
1
  module KBL
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kbl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yu-Cheng Chuang
@@ -89,6 +89,7 @@ extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
91
  - .gitignore
92
+ - CHANGELOG.md
92
93
  - Gemfile
93
94
  - LICENSE.txt
94
95
  - README.md