alphasights-integrity 0.1.9.5 → 0.1.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/integrity.gemspec +1 -1
- data/lib/integrity/migrations.rb +2 -2
- data/lib/integrity/notifier/base.rb +2 -2
- data/lib/integrity/project/push.rb +1 -0
- metadata +1 -1
data/integrity.gemspec
CHANGED
data/lib/integrity/migrations.rb
CHANGED
@@ -84,7 +84,7 @@ module Integrity
|
|
84
84
|
create_table :integrity_commits do
|
85
85
|
column :id, Integer, :serial => true
|
86
86
|
column :identifier, String, :nullable => false
|
87
|
-
column :message,
|
87
|
+
column :message, Text, :nullable => true
|
88
88
|
column :author, String, :nullable => true, :length => 255
|
89
89
|
column :committed_at, DateTime, :nullable => false
|
90
90
|
column :created_at, DateTime
|
@@ -151,7 +151,7 @@ module Integrity
|
|
151
151
|
|
152
152
|
migration 4, :add_url_to_commits do
|
153
153
|
up do
|
154
|
-
modify_table(:integrity_commits) { add_column :url, URI
|
154
|
+
modify_table(:integrity_commits) { add_column :url, URI }
|
155
155
|
end
|
156
156
|
|
157
157
|
down do
|
@@ -2,10 +2,10 @@ module Integrity
|
|
2
2
|
class Notifier
|
3
3
|
class Base
|
4
4
|
def self.notify_of_build(build, config)
|
5
|
-
Integrity.log "Notifying of build #{build.commit.short_identifier} using the #{self
|
5
|
+
Integrity.log "Notifying of build #{build.commit.short_identifier} using the #{self} notifier"
|
6
6
|
Timeout.timeout(8) { new(build.commit, config).deliver! }
|
7
7
|
rescue Timeout::Error
|
8
|
-
Integrity.log "#{
|
8
|
+
Integrity.log "#{self} notifier timed out"
|
9
9
|
false
|
10
10
|
end
|
11
11
|
|