taaze 0.0.6 → 0.0.7

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9347ca36eb7a720b2abca7e6be5f1a1e14d4d9a
4
- data.tar.gz: 09b2881b3851017d5a097715cbf4638229be7947
3
+ metadata.gz: b96edc91e1e764d556b0e5521d21f65cda7286d4
4
+ data.tar.gz: dab51ce8a9ce1db4d49796f374db49c4dfb6f2dd
5
5
  SHA512:
6
- metadata.gz: c2ea1046439d92f37c3976077dbee4aadd316bc13110b64441e1bbfbbe4bf02ef8ea4b453918db5fbd083a9f5b9e79bd07e3905829ad57f3e56a7b774b8b9803
7
- data.tar.gz: e86496cebfc0f1568792e65acd6a8a56a569fafc04040e7578b2a6e1d185de72861d5a43d396d0b0c026f80b9917fec6c5d285611e2ebca78c9e3c4795a8ef49
6
+ metadata.gz: 49e7e66a00ca1af329f042a033f5c4df96e1f6b45a7b3dd34cea548566b59027f71ac53380cfe17d31898f290cb69aa10f9487faf4a903be9f33c07f837a85ee
7
+ data.tar.gz: 700f6c36e8f87fd98001547c173d3f504f4090aecc5d7cab14db12c82b73f04d35069c91b70f665b8de6f8269e5aa5b60359c196ec0ae7b0e04054de065f5a49
data/bin/taaze CHANGED
@@ -19,7 +19,7 @@ else
19
19
  elsif ARGV[0] == '--collections'
20
20
  collections_found = Taaze::TaazeCollections.new(user_id)
21
21
  puts "User #{user_id} has collected #{collections_found.collections.size} collections"
22
- File.write(path, collections_found.comments.to_yaml, mode: 'w')
22
+ File.write(path, collections_found.collections.to_yaml, mode: 'w')
23
23
  else
24
24
  tags_found = Taaze::TaazeBooktags.new(user_id)
25
25
  puts "Book #{user_id} has collected #{tags_found.tags.size} tags"
@@ -47,6 +47,7 @@ module Taaze
47
47
  book = {}
48
48
  book['title'] = book_data['titleMain']
49
49
  book['book_url'] = BOOK_URL + book_data['prodId']
50
+ book['crt_time'] = book_data['crtTime'].split(' ')[0]
50
51
  booklist << book
51
52
  end
52
53
  end
@@ -1,5 +1,5 @@
1
1
  # Versioning
2
2
  module Taaze
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  DATE = '2015-12-06'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taaze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bueze