travis 1.6.18.travis.605.5 → 1.6.18.travis.606.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTRhNDEzODVmZWZjYjhmMDBiZmY2ZjIyYzY3MDJhZTI5MDdjOTAzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDQxNjM1YWU3NWRiNzVkMWFiY2Q0ODdjMmNmZTYzNzVlZmQ1ZDhhMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Zjk4Nzk0NDRhMDVlOWQ4YTI0Y2U5NmExOTQyN2FhZGViYjZhNGIyZDg3M2Iy
|
10
|
+
MjViMzZmMzBmODBkOGM0NmFjZjAzYmVmMjc0MzdmNWE2ZmI1NzRkNDYzNzAz
|
11
|
+
MTYwNzg2NzNlMDAxOTdhMzlkY2ZmYTI0MDNlNTM2NTI5ZmQ4YTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTVjY2U1YThmMTdjY2RmYzYxOGVmZDEzYjI4ZDViOGY1NjY0NTMwMmE4OTkw
|
14
|
+
ZjVhYTg0NTc2NTdlOWMyMDJmYjJhMTlkMzQwZmYwYWQ4ZWVhNjJjZWQ0ZjBm
|
15
|
+
NWVkMzUwMDhkNTI1ODQ2YTEwM2JiNWMzN2RlNDAyYzMzMmYxNjg=
|
data/README.md
CHANGED
@@ -1531,6 +1531,13 @@ end
|
|
1531
1531
|
puts "Hello #{Travis::User.current.name}!"
|
1532
1532
|
```
|
1533
1533
|
|
1534
|
+
There is also `travis/auto_login`, which will try to read the CLI configuration or .netrc for a Travis CI or GitHub token to authenticate with automatically:
|
1535
|
+
|
1536
|
+
``` ruby
|
1537
|
+
require 'travis/auto_login'
|
1538
|
+
puts "Hello #{Travis::User.current.name}!"
|
1539
|
+
```
|
1540
|
+
|
1534
1541
|
### Using Pro
|
1535
1542
|
|
1536
1543
|
Using the library with private projects pretty much works the same, except you use `Travis::Pro`.
|
@@ -1546,6 +1553,13 @@ user = Travis::Pro::User.current
|
|
1546
1553
|
puts "Hello #{user.name}!"
|
1547
1554
|
```
|
1548
1555
|
|
1556
|
+
There is also `travis/pro/auto_login`, which will try to read the CLI configuration or .netrc for a Travis CI or GitHub token to authenticate with automatically:
|
1557
|
+
|
1558
|
+
``` ruby
|
1559
|
+
require 'travis/pro/auto_login'
|
1560
|
+
puts "Hello #{Travis::Pro::User.current.name}!"
|
1561
|
+
```
|
1562
|
+
|
1549
1563
|
### Entities
|
1550
1564
|
|
1551
1565
|
Entities are like the models in the Travis Client land. They keep the data and it's usually them you talk to if you want something.
|
@@ -2036,6 +2050,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
2036
2050
|
* Add `--store-repo`/`-R` to repository commands to permanently store the slug for a repository.
|
2037
2051
|
* Announce repository slug when first detected, ask for confirmation in interactive mode.
|
2038
2052
|
* Have `travis repos` only print repository slugs in non-interactive mode.
|
2053
|
+
* Add `travis/auto_login` and `travis/pro/auto_login` to the Ruby API for easy authentication.
|
2039
2054
|
|
2040
2055
|
**1.6.17** (July 25, 2014)
|
2041
2056
|
|