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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "integrity"
3
- s.version = "0.1.9.5"
3
+ s.version = "0.1.9.6"
4
4
  s.date = "2009-04-06"
5
5
 
6
6
  s.description = "Your Friendly Continuous Integration server. Easy, fun and painless!"
@@ -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, String, :nullable => true, :length => 255
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, :length => 255 }
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.class} notifier"
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 "#{notifier.name} notifier timed out"
8
+ Integrity.log "#{self} notifier timed out"
9
9
  false
10
10
  end
11
11
 
@@ -24,6 +24,7 @@ module Integrity
24
24
  commits.new(:identifier => data["id"],
25
25
  :author => "#{data["author"]["name"]} <#{data["author"]["email"]}>",
26
26
  :message => data["message"],
27
+ :url => data["url"],
27
28
  :committed_at => data["timestamp"])
28
29
  end
29
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alphasights-integrity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9.5
4
+ version: 0.1.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Nicol\xC3\xA1s Sanguinetti"