phoseum-cli 0.0.24 → 0.0.25
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 +4 -4
- data/bin/phoseum-cli +4 -4
- data/lib/phoseum/phoseum-cli-lib.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2661bcdb53adfc4d38701aca4eaa8cccc3738fd119f3a1da971d157bcf91f932
|
|
4
|
+
data.tar.gz: f1dd196b277efee399ae1af804a12350e23b8c1c06f023eb322306b9af11016a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d8ef28e22c329a13b78f2d5d9a4f476cd5d805828bb82e6681f4d41c17b720f26ea3c8bb3e05564084875b8db7b71b1e9af3ac26a756ded4f16841cf24503d2
|
|
7
|
+
data.tar.gz: 860e9fc1f0624c96f8c24b21429349d977dc27404e941f1f1e95a7b00537ed6c9a2b130c6d03c92dfdbaff30738ca2bb5c59f8aad05f7aadcdf7282a8919432a
|
data/bin/phoseum-cli
CHANGED
|
@@ -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
|
-
|
|
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
|
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.
|
|
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-
|
|
11
|
+
date: 2020-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yaml
|