jenkins-plugin-runtime 0.1.13 → 0.1.14

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.
@@ -22,16 +22,14 @@ module Jenkins
22
22
  @java_type
23
23
  end
24
24
 
25
- # TODO: We removed @name from Descriptor (see playground) so we need to use another name.
26
- # Just use class name which is in CamelCase.
25
+ # we take a fully-qualified class name, like Abc::Def::GhiJkl to underscore-separated tokens, like abc/def/ghi_jkl
26
+ # and then look for config.* (where *=.erb, .haml, ...)
27
27
  def getConfigPage
28
28
  "/#{name_to_path}/config".tap { |path|
29
29
  puts "getConfigPage -> #{path}"
30
30
  }
31
31
  end
32
32
 
33
- # TODO: We removed @name from Descriptor (see playground) so we need to use another name.
34
- # Just use class name which is in CamelCase.
35
33
  def getGlobalConfigPage
36
34
  "/#{name_to_path}/global".tap { |path|
37
35
  puts "getGlobalConfigPage -> #{path}"
@@ -34,8 +34,8 @@ module Jenkins
34
34
 
35
35
  def initialize(plugin)
36
36
  @plugin = plugin
37
- @int2ext = java.util.WeakHashMap.new
38
- @ext2int = java.util.WeakHashMap.new
37
+ @int2ext = java.util.Collections.synchronizedMap(java.util.WeakHashMap.new)
38
+ @ext2int = java.util.Collections.synchronizedMap(java.util.WeakHashMap.new)
39
39
  end
40
40
 
41
41
  # Reflect a foreign Java object into the context of this plugin.
@@ -1,7 +1,7 @@
1
1
  module Jenkins
2
2
  class Plugin
3
3
  module Runtime
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.14"
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.13
5
+ version: 0.1.14
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Lowell
@@ -10,7 +10,8 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-14 00:00:00 Z
13
+ date: 2011-11-17 00:00:00 -08:00
14
+ default_executable:
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: json
@@ -131,6 +132,7 @@ files:
131
132
  - spec/spec_helper.rb
132
133
  - src/jenkins/ruby/DoDynamic.java
133
134
  - src/jenkins/ruby/Get.java
135
+ has_rdoc: true
134
136
  homepage: http://github.com/cowboyd/jenkins-plugins.rb
135
137
  licenses: []
136
138
 
@@ -154,28 +156,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
156
  requirements: []
155
157
 
156
158
  rubyforge_project: jenkins-plugin-runtime
157
- rubygems_version: 1.8.9
159
+ rubygems_version: 1.5.1
158
160
  signing_key:
159
161
  specification_version: 3
160
162
  summary: Runtime support libraries for Jenkins Ruby plugins
161
- test_files:
162
- - spec/jenkins/filepath_spec.rb
163
- - spec/jenkins/launcher_spec.rb
164
- - spec/jenkins/model/action_spec.rb
165
- - spec/jenkins/model/build_spec.rb
166
- - spec/jenkins/model/describable_spec.rb
167
- - spec/jenkins/model/listener_spec.rb
168
- - spec/jenkins/model_spec.rb
169
- - spec/jenkins/plugin/example.pluginspec
170
- - spec/jenkins/plugin/proxies/build_wrapper_spec.rb
171
- - spec/jenkins/plugin/proxies/builder_spec.rb
172
- - spec/jenkins/plugin/proxies/proxy_helper.rb
173
- - spec/jenkins/plugin/proxies/publisher_spec.rb
174
- - spec/jenkins/plugin/proxies/root_action_spec.rb
175
- - spec/jenkins/plugin/proxies_spec.rb
176
- - spec/jenkins/plugin/proxy_spec.rb
177
- - spec/jenkins/plugin/specification_spec.rb
178
- - spec/jenkins/plugin_spec.rb
179
- - spec/jenkins/tasks/build_wrapper_spec.rb
180
- - spec/jenkins/tasks/builder_spec.rb
181
- - spec/spec_helper.rb
163
+ test_files: []
164
+