travis-backup 0.1.1 → 0.1.2
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/build.rb +1 -0
- data/lib/travis-backup.rb +1 -1
- data/travis-backup.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19fae96b332331e2e82f37ad31beb133300277ef5b31a18f428461af797b8932
|
4
|
+
data.tar.gz: c6f28927ea89bb70204bd02e02d0aa6b6ebd6beaea36d928246ed49706521049
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4995b5f30cb35ad4768b892e9db2a39cce876b6ba92849a89be52ee9137459e4094aa3e242997ed798501731bd10aff2b44fa22a0e1c795e343884cc7c3d04dd
|
7
|
+
data.tar.gz: ff60a38245ae44f807f9c386fff5db013f81d7683d966e4a25a1b5e0054077a9cd0bb7bd56fbf83bb20bae839db65cbef31f0ff7f91624835650176a6adc588c
|
data/Gemfile.lock
CHANGED
data/lib/models/build.rb
CHANGED
@@ -8,6 +8,7 @@ require 'models/repository'
|
|
8
8
|
class Build < Model
|
9
9
|
belongs_to :repository
|
10
10
|
has_many :jobs, -> { order('id') }, foreign_key: :source_id, dependent: :destroy, class_name: 'Job'
|
11
|
+
has_one :repo_for_that_this_build_is_current, foreign_key: :current_build_id, dependent: :destroy, class_name: 'Repository'
|
11
12
|
|
12
13
|
self.table_name = 'builds'
|
13
14
|
end
|
data/lib/travis-backup.rb
CHANGED
data/travis-backup.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karol Selak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|