travis 1.8.1.travis.704.5 → 1.8.1.travis.705.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 +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGUzZTMxNzU5N2U4ODUwNjgwMzgzMjI5MTZmMjhlMTNmYzkxM2U2Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDBiNTc5NDA4OWU4MDFjNzM2ZjZiYmNjZWVhMTA5NmQ5OGQzMzg4OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODZhYTYxM2EzZjgyNTI3ZGNkNWI1ZTNhZmJjYjg1ODg3MGY2NGFiZGY5ZWYx
|
10
|
+
ZWY4OTY1NjYyYzgwOThkZWE2YTE3OTdlMGNiMzI4ZTE1OWI5ZDhhYjRiM2M1
|
11
|
+
NjNiM2ZhOTQxMTA4YmJlMDhjODQzZmViMDMyNGM0YmFkNmJjZDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzM0MjQxZDNmYWM0YTJiNjJkNmI4OGIxMTMwMWYwZjc2ZTE3ZDk2MzE3Zjc1
|
14
|
+
MmMwMjFmYjA3YzI3NjFlZjJkMjAzYTY5MGQ4ZDA5YWU0YTQ5OWNlMTkxZjIy
|
15
|
+
ZWEzMDlhZDY5ZDQ3ODE1MmUxYmM1Njk3ZjExYzg2NzljM2YwNmM=
|
data/README.md
CHANGED
@@ -1479,7 +1479,7 @@ puts "oh no" unless rails.green?
|
|
1479
1479
|
|
1480
1480
|
For most parts, those are pretty much the same, the entities you get back look the same, etc, except one offers nice constants as part of the API, the other doesn't. In fact the "global" session style uses `Travis::Client` internally.
|
1481
1481
|
|
1482
|
-
So, which one to choose? The global style has one session, whereas with the client style, you have one session per client instance. Each session has
|
1482
|
+
So, which one to choose? The global style has one session, whereas with the client style, you have one session per client instance. Each session has its own cache and identity map. This might matter for long running processes. If you use a new session for separate units of work, you can be pretty sure to not leak any objects. On the other hand using the constants or reusing the same session might save you from unnecessary HTTP requests.
|
1483
1483
|
|
1484
1484
|
In either way, if you should use the first approach or long living clients, here is how you make sure not to have stale data around:
|
1485
1485
|
|
@@ -1597,7 +1597,7 @@ This is not something you should usually do, as partial loading is actually your
|
|
1597
1597
|
|
1598
1598
|
#### Stateful Entities
|
1599
1599
|
|
1600
|
-
[Repositories](#repositories), [Builds](#builds) and [Jobs](#jobs) all are basically state machines, which means
|
1600
|
+
[Repositories](#repositories), [Builds](#builds) and [Jobs](#jobs) all are basically state machines, which means they implement the following methods:
|
1601
1601
|
|
1602
1602
|
``` ruby
|
1603
1603
|
require 'travis'
|
@@ -1973,7 +1973,7 @@ Now make sure everything is working:
|
|
1973
1973
|
$ travis version
|
1974
1974
|
1.8.0
|
1975
1975
|
|
1976
|
-
See also [Note on Ubuntu](#
|
1976
|
+
See also [Note on Ubuntu](#ubuntu) below.
|
1977
1977
|
|
1978
1978
|
### Development Version
|
1979
1979
|
|