jenkins-plugin-runtime 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,12 @@ module Jenkins
28
28
  @pluginid = @plugin.name
29
29
  end
30
30
 
31
+ # tell Stapler to go look for views from the wrapped object
32
+ include Java.org.kohsuke.stapler.StaplerProxy
33
+ def getTarget
34
+ @object
35
+ end
36
+
31
37
  # Make sure that proxy classes do not try to persist the plugin parameter.
32
38
  # when serializing this proxy to XStream. It will be reconstructed with
33
39
  # [Unmarshal#read_completed]
@@ -1,7 +1,7 @@
1
1
  module Jenkins
2
2
  class Plugin
3
3
  module Runtime
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jenkins-plugin-runtime
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Lowell
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-09 00:00:00 -05:00
13
+ date: 2011-09-09 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -158,19 +158,5 @@ rubygems_version: 1.5.1
158
158
  signing_key:
159
159
  specification_version: 3
160
160
  summary: Runtime support libraries for Jenkins Ruby plugins
161
- test_files:
162
- - spec/jenkins/launcher_spec.rb
163
- - spec/jenkins/model/action_spec.rb
164
- - spec/jenkins/model/build_spec.rb
165
- - spec/jenkins/model/describable_spec.rb
166
- - spec/jenkins/model/listener_spec.rb
167
- - spec/jenkins/model_spec.rb
168
- - spec/jenkins/plugin/proxies/build_wrapper_spec.rb
169
- - spec/jenkins/plugin/proxies/builder_spec.rb
170
- - spec/jenkins/plugin/proxies/proxy_helper.rb
171
- - spec/jenkins/plugin/proxies_spec.rb
172
- - spec/jenkins/plugin/proxy_spec.rb
173
- - spec/jenkins/plugin_spec.rb
174
- - spec/jenkins/tasks/build_wrapper_spec.rb
175
- - spec/jenkins/tasks/builder_spec.rb
176
- - spec/spec_helper.rb
161
+ test_files: []
162
+