travis-backup 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/models/repository.rb +1 -1
- data/travis-backup.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4165ff1d9cbf20dae8d4e20f8a481b6ae3cc64a93f82fadae2d1159853bcdd31
|
4
|
+
data.tar.gz: e87df3c1a1dc808308abd0ff46d24fb4479a8cba9407cca38a82948e1e350f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef72b11c7596d2fa35f618afa684056e4b7a0c9c94217242683c56b62e4e8f8873c23ee6a5ee01ab935da5126cea0fa9894ef06510d2f926471a4004f92e5a3
|
7
|
+
data.tar.gz: f196c2233ff24dd151d48a7d294a648ea9fee1db24ceb4ee325ccb3efb00675bb809d639403181985041120cc4aadd420a7398aa899228e94562e9acb0b9771b
|
data/Gemfile.lock
CHANGED
data/lib/models/repository.rb
CHANGED
@@ -6,7 +6,7 @@ require 'models/request'
|
|
6
6
|
|
7
7
|
# Repository model
|
8
8
|
class Repository < Model
|
9
|
-
has_many :builds, -> { order('id') }, foreign_key: :repository_id,
|
9
|
+
has_many :builds, -> { order('id') }, foreign_key: :repository_id, class_name: 'Build'
|
10
10
|
has_many :requests, -> { order('id') }, foreign_key: :repository_id, dependent: :destroy, class_name: 'Request'
|
11
11
|
|
12
12
|
self.table_name = 'repositories'
|
data/travis-backup.gemspec
CHANGED