jpi 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/jpi.gemspec CHANGED
@@ -25,4 +25,5 @@ Gem::Specification.new do |s|
25
25
 
26
26
  s.add_development_dependency "rspec", "~> 2.0"
27
27
  s.add_development_dependency "cucumber", "~> 1.0"
28
+ s.add_development_dependency "rake"
28
29
  end
@@ -42,7 +42,7 @@ module Jenkins
42
42
 
43
43
  http = Net::HTTP.new("maven.jenkins-ci.org",8081)
44
44
 
45
- puts @snapshot ? "deploying as a snapshot" : "deploying as a release"
45
+ puts @snapshot ? "deploying as a snapshot. Run with the --release option to release it for real when you are ready" : "deploying as a release"
46
46
  puts "Generating POM"
47
47
  version = @snapshot ? @spec.version+"-SNAPSHOT" : @spec.version
48
48
  pom = ERB.new(File.read(File.dirname(__FILE__)+"/templates/release-pom.xml.erb")).result(binding)
@@ -32,6 +32,8 @@ module Jenkins
32
32
  # cancel out the effect of being invoked from Bundler
33
33
  # otherwise this will affect Bundler that we run from inside Jenkins run by "jpi server"
34
34
  ENV['BUNDLE_GEMFILE'] = nil
35
+ ENV['BUNDLE_BIN_PATH'] = nil
36
+ ENV['RUBYOPT'] = nil
35
37
 
36
38
  # execute Jenkins
37
39
  args = []
@@ -1,5 +1,5 @@
1
1
  module Jenkins
2
2
  class Plugin
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jpi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Lowell
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-12-27 00:00:00 Z
15
+ date: 2012-01-01 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rubyzip
@@ -91,6 +91,17 @@ dependencies:
91
91
  version: "1.0"
92
92
  type: :development
93
93
  version_requirements: *id007
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ prerelease: false
97
+ requirement: &id008 !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: "0"
103
+ type: :development
104
+ version_requirements: *id008
94
105
  description: Allows you to generate a new Ruby plugin project, build it, test it in Jenkins and release it to the Jenkins Update Center.
95
106
  email:
96
107
  - cowboyd@thefrontside.net