dev 1.0.176 → 1.0.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dev/Database.rb +6 -0
  2. metadata +1 -1
data/lib/dev/Database.rb CHANGED
@@ -42,6 +42,12 @@ class Database
42
42
  @db.execute("insert or replace into Branches (Name,Uri) VALUES ('#{name}','#{uri}');")
43
43
  end
44
44
 
45
+ def has_result(h)
46
+ results=get_results({:machine=>h[:machine],:user=>h[:user],start_time=>h[:start_time]})
47
+ return true if results.length > 0
48
+ return false
49
+ end
50
+
45
51
  def add_result(h)
46
52
  columns=""
47
53
  values=""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.176
4
+ version: 1.0.177
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: