plview 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/plview +9 -5
- data/lib/plview/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d13e184a3cc4300ac8dc6eebe1010d103f2d944
|
4
|
+
data.tar.gz: e9c8c0824962c761dd84d0ca65bd50955801effc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdfabff450eac9fdb1e2f95e5a41d7a4710b45e0b63e60aa17696b0bb9fe16d6295bcd9db19afb924c07ab444b6c19b3e33df2e327b1a29493e63d820cc6060e
|
7
|
+
data.tar.gz: f0a4be073bfbe7d4bc6b246a00370cecb121679a0d1cf38dc3a81bc1150c1f86947d8387f2b8687c4e97fd57b7b467952813c1dff0cb035bb273793dcd6c5a5e
|
data/bin/plview
CHANGED
@@ -66,15 +66,19 @@ if opts.plists?
|
|
66
66
|
exit
|
67
67
|
end
|
68
68
|
|
69
|
-
if opts.path?
|
70
|
-
puts apps[app]
|
71
|
-
exit
|
72
|
-
end
|
73
|
-
|
74
69
|
if plists.has_key?(opts[:p])
|
75
70
|
plist = plists[opts[:p]]
|
71
|
+
if opts.path?
|
72
|
+
puts plist.filename
|
73
|
+
exit
|
74
|
+
end
|
76
75
|
else
|
77
76
|
plist = plists.values.first
|
78
77
|
end
|
79
78
|
|
79
|
+
if opts.path?
|
80
|
+
puts apps[app]
|
81
|
+
exit
|
82
|
+
end
|
83
|
+
|
80
84
|
puts plist.value.to_hash.to_json
|
data/lib/plview/version.rb
CHANGED