specjour 0.3.0.rc3 → 0.3.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/sandro/specjour"
12
12
  gem.authors = ["Sandro Turriate"]
13
13
  gem.add_dependency "dnssd", "1.3.1"
14
- gem.add_dependency "thor", "~>0.13.4"
14
+ gem.add_dependency "thor", ">=0.13.4"
15
15
  gem.add_development_dependency "rspec", "1.3.0"
16
16
  gem.add_development_dependency "rr", ">=0.10.11"
17
17
  gem.add_development_dependency "yard", ">=0.5.3"
@@ -46,3 +46,17 @@ rescue LoadError
46
46
  abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
47
47
  end
48
48
  end
49
+
50
+ desc "tag, push gem, push to github"
51
+ task :prerelease do
52
+ version = `cat VERSION`.strip
53
+ command = %(
54
+ git tag v#{version} &&
55
+ rake build &&
56
+ gem push pkg/specjour-#{version}.gem &&
57
+ git push &&
58
+ git push --tags
59
+ )
60
+ puts command
61
+ puts %x(#{command})
62
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0.rc3
1
+ 0.3.0.rc4
@@ -95,7 +95,7 @@ module Specjour
95
95
 
96
96
  def send_run_times(run_times)
97
97
  [:rspec, :cucumber].each do |type|
98
- connection.send_message(:"#{type}_summary=", {:duration => sprintf("%6f", run_times[type])})
98
+ connection.send_message(:"#{type}_summary=", {:duration => sprintf("%6f", run_times[type])}) if run_times[type] > 0
99
99
  end
100
100
  end
101
101
 
data/lib/specjour.rb CHANGED
@@ -28,7 +28,7 @@ module Specjour
28
28
  autoload :Cucumber, 'specjour/cucumber'
29
29
  autoload :Rspec, 'specjour/rspec'
30
30
 
31
- VERSION = "0.3.0.rc3".freeze
31
+ VERSION = "0.3.0.rc4".freeze
32
32
  HOOKS_PATH = ".specjour/hooks.rb"
33
33
 
34
34
  class << self
data/specjour.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{specjour}
8
- s.version = "0.3.0.rc3"
8
+ s.version = "0.3.0.rc4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sandro Turriate"]
@@ -88,20 +88,20 @@ Gem::Specification.new do |s|
88
88
 
89
89
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
90
90
  s.add_runtime_dependency(%q<dnssd>, ["= 1.3.1"])
91
- s.add_runtime_dependency(%q<thor>, ["~> 0.13.4"])
91
+ s.add_runtime_dependency(%q<thor>, [">= 0.13.4"])
92
92
  s.add_development_dependency(%q<rspec>, ["= 1.3.0"])
93
93
  s.add_development_dependency(%q<rr>, [">= 0.10.11"])
94
94
  s.add_development_dependency(%q<yard>, [">= 0.5.3"])
95
95
  else
96
96
  s.add_dependency(%q<dnssd>, ["= 1.3.1"])
97
- s.add_dependency(%q<thor>, ["~> 0.13.4"])
97
+ s.add_dependency(%q<thor>, [">= 0.13.4"])
98
98
  s.add_dependency(%q<rspec>, ["= 1.3.0"])
99
99
  s.add_dependency(%q<rr>, [">= 0.10.11"])
100
100
  s.add_dependency(%q<yard>, [">= 0.5.3"])
101
101
  end
102
102
  else
103
103
  s.add_dependency(%q<dnssd>, ["= 1.3.1"])
104
- s.add_dependency(%q<thor>, ["~> 0.13.4"])
104
+ s.add_dependency(%q<thor>, [">= 0.13.4"])
105
105
  s.add_dependency(%q<rspec>, ["= 1.3.0"])
106
106
  s.add_dependency(%q<rr>, [">= 0.10.11"])
107
107
  s.add_dependency(%q<yard>, [">= 0.5.3"])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specjour
3
3
  version: !ruby/object:Gem::Version
4
- hash: 977940564
4
+ hash: 977940565
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
- - rc3
11
- version: 0.3.0.rc3
10
+ - rc4
11
+ version: 0.3.0.rc4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Sandro Turriate
@@ -41,7 +41,7 @@ dependencies:
41
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - ~>
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  hash: 35
47
47
  segments: