provisinfo 0.1.4 → 0.1.5
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/README.md +8 -1
- data/lib/provisinfo.rb +1 -1
- data/lib/provisinfo/version.rb +1 -1
- data/provisinfo.gemspec +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6288e94e0fc12aed0d64123a542dffb9f85175cf
|
4
|
+
data.tar.gz: cb3498782b47bcaf1558e5865ae2ab86bd7a0f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d31e278e41643ac3af0e46219ad7e03baa1ac01b17631dd4002436c62f55134cb3293202a944c276ca30a5e4b3709bc17ce12e6af670a16113b0f0dd6fdaac9
|
7
|
+
data.tar.gz: d7272713b8057720d246c17a701c3414d383ff672478f8814897111e4b9acdfb6fd7f6f6795938ffcee35331f412cbf769d93b8c1b0a4fc08909ca531247aba1
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Provisinfo
|
2
2
|
|
3
|
-
Welcome to provisinfo Gem! It a CLI tool and a ruby library to extract metadata information (name, UUId, AppID, type) from binary .mobileprovision files (a kind of .plist file)
|
3
|
+
Welcome to provisinfo Gem! It a CLI tool and a ruby library to extract metadata information (name, UUId, AppID, type) from binary .mobileprovision files (a kind of .plist file). Also, it can be used to validate matching between provisioning files and .P12 certificates.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -35,6 +35,13 @@ Or you can use in your code:
|
|
35
35
|
p1.appID
|
36
36
|
puts p1.expirationDate < DateTime.now ? "Expired" : "Active"
|
37
37
|
|
38
|
+
# make a matching validation
|
39
|
+
if p1.matches_certificate?('3WKJWX.p12','')
|
40
|
+
puts_message(RED, "error", "Provisioning profile was not signed with provided certificate.")
|
41
|
+
else
|
42
|
+
puts_message(GREEN, "passed", "Provisioning profile matches certificate file.")
|
43
|
+
end
|
44
|
+
|
38
45
|
|
39
46
|
## Development
|
40
47
|
|
data/lib/provisinfo.rb
CHANGED
data/lib/provisinfo/version.rb
CHANGED
data/provisinfo.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: provisinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oswaldo Rubio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|