bellows 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Thu Oct 27 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.2
2
+ - Update purge task so it purges both 'merged' and 'abandoned' branches.
3
+
1
4
  * Thu Oct 20 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.1
2
5
  - Update gerrit reviews call so it only searches 'master' reviews.
3
6
  - Set status to 'Updated' when a smoke tests is updated on sync.
data/Rakefile CHANGED
@@ -23,6 +23,8 @@ Jeweler::Tasks.new do |gem|
23
23
  gem.email = "dan.prince@rackspace.com"
24
24
  gem.authors = ["Dan Prince"]
25
25
  # dependencies defined in Gemfile
26
+ gem.add_dependency 'json'
27
+ gem.add_dependency 'thor'
26
28
  end
27
29
  Jeweler::RubygemsDotOrgTasks.new
28
30
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/bellows.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bellows}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Prince"]
12
- s.date = %q{2011-10-13}
12
+ s.date = %q{2011-10-27}
13
13
  s.default_executable = %q{bellows}
14
14
  s.description = %q{CLI to drive SmokeStack test creation and maintenance based on Gerrit reviews.}
15
15
  s.email = %q{dan.prince@rackspace.com}
@@ -20,10 +20,13 @@ Gem::Specification.new do |s|
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
+ "CHANGELOG",
23
24
  "Gemfile",
24
25
  "LICENSE.txt",
26
+ "README.md",
25
27
  "Rakefile",
26
28
  "VERSION",
29
+ "bellows.gemspec",
27
30
  "bin/bellows",
28
31
  "lib/bellows.rb",
29
32
  "lib/bellows/gerrit.rb",
@@ -49,17 +52,23 @@ Gem::Specification.new do |s|
49
52
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
50
53
  s.add_development_dependency(%q<thor>, ["~> 0.14.6"])
51
54
  s.add_development_dependency(%q<json>, ["~> 1.4.6"])
55
+ s.add_runtime_dependency(%q<json>, [">= 0"])
56
+ s.add_runtime_dependency(%q<thor>, [">= 0"])
52
57
  else
53
58
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
54
59
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
55
60
  s.add_dependency(%q<thor>, ["~> 0.14.6"])
56
61
  s.add_dependency(%q<json>, ["~> 1.4.6"])
62
+ s.add_dependency(%q<json>, [">= 0"])
63
+ s.add_dependency(%q<thor>, [">= 0"])
57
64
  end
58
65
  else
59
66
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
67
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
61
68
  s.add_dependency(%q<thor>, ["~> 0.14.6"])
62
69
  s.add_dependency(%q<json>, ["~> 1.4.6"])
70
+ s.add_dependency(%q<json>, [">= 0"])
71
+ s.add_dependency(%q<thor>, [">= 0"])
63
72
  end
64
73
  end
65
74
 
data/lib/bellows/tasks.rb CHANGED
@@ -48,7 +48,9 @@ module Bellows
48
48
  end
49
49
  test = options[:test]
50
50
  smoke_tests = Bellows::SmokeStack.get_smoke_tests(project)
51
- Bellows::Gerrit.reviews(project, "merged") do |review|
51
+ reviews = Bellows::Gerrit.reviews(project, "merged")
52
+ reviews += Bellows::Gerrit.reviews(project, "abandoned")
53
+ reviews.each do |review|
52
54
  refspec = review['currentPatchSet']['ref']
53
55
  review_id = Bellows::Util.short_spec(refspec)
54
56
  smoke_test = smoke_tests[review_id]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bellows
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Prince
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-23 00:00:00 -04:00
18
+ date: 2011-10-27 00:00:00 -04:00
19
19
  default_executable: bellows
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -82,6 +82,34 @@ dependencies:
82
82
  version: 1.4.6
83
83
  requirement: *id004
84
84
  type: :development
85
+ - !ruby/object:Gem::Dependency
86
+ prerelease: false
87
+ name: json
88
+ version_requirements: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 3
94
+ segments:
95
+ - 0
96
+ version: "0"
97
+ requirement: *id005
98
+ type: :runtime
99
+ - !ruby/object:Gem::Dependency
100
+ prerelease: false
101
+ name: thor
102
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 3
108
+ segments:
109
+ - 0
110
+ version: "0"
111
+ requirement: *id006
112
+ type: :runtime
85
113
  description: CLI to drive SmokeStack test creation and maintenance based on Gerrit reviews.
86
114
  email: dan.prince@rackspace.com
87
115
  executables: