sigh 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -8
- data/lib/sigh/dependency_checker.rb +1 -1
- data/lib/sigh/developer_center.rb +7 -2
- data/lib/sigh/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: d3f52e65260557eebb196e22e1b789368c5d75d9
|
4
|
+
data.tar.gz: 02c172f9421aed83f1945f7ca27508c8a3ad84a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85537a62dd26b1d114ae28fd13c266a158f57ab00397fc1a7df746d93560a41482f5f6b13cf7f1b4930b7060762064c6cf3a781c4aa83d2c1ca68fe27281397a
|
7
|
+
data.tar.gz: 59528094c716081676b2433a90f26f5e4882811ea063ea2471fe3f41ffaa6efa4d680719651edfd9544ce7b3b2109bf354c0a426e69edc2e1826e5a818f2179f
|
data/README.md
CHANGED
@@ -3,15 +3,16 @@
|
|
3
3
|
<a href="https://github.com/KrauseFx/snapshot">Snapshot</a> •
|
4
4
|
<a href="https://github.com/KrauseFx/frameit">FrameIt</a> •
|
5
5
|
<a href="https://github.com/KrauseFx/PEM">PEM</a> •
|
6
|
-
<b>
|
6
|
+
<b>Sigh</b>
|
7
7
|
</p>
|
8
|
+
|
8
9
|
-------
|
9
10
|
|
10
11
|
<p align="center">
|
11
12
|
<img src="assets/sigh.png">
|
12
13
|
</p>
|
13
14
|
|
14
|
-
|
15
|
+
Sigh - Create and maintain provisioning profiles
|
15
16
|
============
|
16
17
|
|
17
18
|
[![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
|
@@ -39,10 +40,10 @@ Follow the developer on Twitter: [@KrauseFx](https://twitter.com/KrauseFx)
|
|
39
40
|
|
40
41
|
# Features
|
41
42
|
|
42
|
-
- **Download** the latest
|
43
|
-
- **Renew** a
|
44
|
-
- **Create** a new
|
45
|
-
- Support for both **App Store
|
43
|
+
- **Download** the latest provisioning profile for your app
|
44
|
+
- **Renew** a provisioning profile, when it has expired
|
45
|
+
- **Create** a new provisioning profile, if it doesn't exist already
|
46
|
+
- Support for both **App Store**, **Ad Hoc** and **Development** profiles
|
46
47
|
|
47
48
|
|
48
49
|
Check out this gif:
|
@@ -61,11 +62,17 @@ Make sure, you have the latest version of the Xcode command line tools installed
|
|
61
62
|
sigh
|
62
63
|
Yes, that's the whole command!
|
63
64
|
|
64
|
-
|
65
|
+
```sigh``` will create, repair and download profiles for the App Store by default.
|
66
|
+
|
67
|
+
You can pass your bundle identifier and username like this:
|
65
68
|
|
66
69
|
sigh -a at.felixkrause.app -u username
|
67
70
|
|
68
|
-
If you want to generate an Ad
|
71
|
+
If you want to generate an **Ad Hoc** profile instead of an App Store profile:
|
72
|
+
|
73
|
+
sigh --adhoc
|
74
|
+
|
75
|
+
If you want to generate an **Development** profile:
|
69
76
|
|
70
77
|
sigh --development
|
71
78
|
|
@@ -76,11 +76,16 @@ module Sigh
|
|
76
76
|
result = visit PROFILES_URL
|
77
77
|
raise "Could not open Developer Center" unless result['status'] == 'success'
|
78
78
|
|
79
|
-
|
79
|
+
if page.has_content?"Member Center"
|
80
|
+
# Already logged in
|
81
|
+
return true
|
82
|
+
end
|
83
|
+
|
84
|
+
(wait_for_elements(".button.blue").first.click rescue nil) # maybe already logged in
|
80
85
|
|
81
86
|
(wait_for_elements('#accountpassword') rescue nil) # when the user is already logged in, this will raise an exception
|
82
87
|
|
83
|
-
if page.has_content?"
|
88
|
+
if page.has_content?"Member Center"
|
84
89
|
# Already logged in
|
85
90
|
return true
|
86
91
|
end
|
data/lib/sigh/version.rb
CHANGED