phoseum-cli 0.0.24 → 0.0.25

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
  SHA256:
3
- metadata.gz: 0b2515ecd25464bc144a69a49c3886cfb026c0d8f0ddf472027164b93e6919c5
4
- data.tar.gz: 5f6264f4f0d50d4d154f7a4741cc846b52d778f7729f416cbf603f3523afda54
3
+ metadata.gz: 2661bcdb53adfc4d38701aca4eaa8cccc3738fd119f3a1da971d157bcf91f932
4
+ data.tar.gz: f1dd196b277efee399ae1af804a12350e23b8c1c06f023eb322306b9af11016a
5
5
  SHA512:
6
- metadata.gz: be476a9a88cc455cf16ba96ecc8716b162c7031fa75e1613d171b5247529b2484167733aba93f068d84348baf0403ad57db8395aa28bfc485b029c92a86cde15
7
- data.tar.gz: 0ee2429307623d92a6791681f0ba8bcb036057d95776ca2db4cd7639a40a4f83053cba655fc27694da20d007b4515305593a41b40761de65e24d28650bbbc1ed
6
+ metadata.gz: 1d8ef28e22c329a13b78f2d5d9a4f476cd5d805828bb82e6681f4d41c17b720f26ea3c8bb3e05564084875b8db7b71b1e9af3ac26a756ded4f16841cf24503d2
7
+ data.tar.gz: 860e9fc1f0624c96f8c24b21429349d977dc27404e941f1f1e95a7b00537ed6c9a2b130c6d03c92dfdbaff30738ca2bb5c59f8aad05f7aadcdf7282a8919432a
@@ -205,14 +205,13 @@ def health(what='',name='')
205
205
 
206
206
  if list['success']
207
207
  data=list['success']
208
-
209
208
  if data['Albums']
210
209
  puts " >> Albums Available at this level (#{data['Albums'].count})".green if !$QUIET
211
210
  data['Albums'].each do |album|
212
211
  if $DEBUG
213
212
  puts JSON.pretty_generate(album)
214
213
  else
215
- created = DateTime.strptime(album['created'],'%s')
214
+ created = DateTime.strptime(album['created'].to_s,'%s')
216
215
  puts "Name: #{album['name']} | Web Path: #{album['web_path']} | description: #{album['description']} | created: #{created} "
217
216
  end
218
217
  end
@@ -224,8 +223,9 @@ def health(what='',name='')
224
223
  if $DEBUG
225
224
  puts JSON.pretty_generate(photo)
226
225
  else
227
- added = DateTime.strptime(photo['added'],'%s')
228
- puts "Name: #{photo['name']} | Filename: #{photo['image']} | Format: #{photo['full_info']['format']} | Dim.(WxH): #{photo['full_info']['geometry']['width']} x #{photo['full_info']['geometry']['height']} | Size: #{photo['size']} | Included: #{added}"
226
+ added = DateTime.strptime(photo['added'].to_s,'%s')
227
+ photo['exif']=JSON.parse(photo['exif'])
228
+ puts "Name: #{photo['name']} | Filename: #{photo['image']} | Format: #{photo['exif']['format']} | Dim.(WxH): #{photo['exif']['geometry']['width']} x #{photo['exif']['geometry']['height']} | Size: #{photo['size']} | Included: #{added}"
229
229
  end
230
230
  end
231
231
  end
@@ -370,4 +370,4 @@ def local_version
370
370
  return
371
371
  end
372
372
 
373
- VERSION_SIGN="0.0.24"
373
+ VERSION_SIGN="0.0.25"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phoseum-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julio C Hegedus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yaml