eclipse-plugin 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -7
- data/Changelog +4 -1
- data/lib/eclipse/plugin/version.rb +1 -1
- data/lib/eclipse/workspace.rb +3 -4
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/.project +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/META-INF/MANIFEST.MF +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin.properties +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin.xml +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin_de.properties +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin_en.properties +0 -0
- data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin_fr.properties +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/.project +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/META-INF/MANIFEST.MF +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin.properties +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin.xml +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin_de.properties +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin_en.properties +0 -0
- data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin_fr.properties +0 -0
- data/spec/data/source/{ch.elexis.icpc → bundles/ch.elexis.icpc}/.project +0 -0
- data/spec/data/source/{ch.elexis.icpc → bundles/ch.elexis.icpc}/META-INF/MANIFEST.MF +0 -0
- data/spec/data/source/{ch.elexis.icpc → bundles/ch.elexis.icpc}/plugin.xml +0 -0
- data/spec/data/source/{ch.elexis.core.application.feature → features/ch.elexis.core.application.feature}/.project +0 -0
- data/spec/data/source/{ch.elexis.core.application.feature → features/ch.elexis.core.application.feature}/build.properties +0 -0
- data/spec/data/source/{ch.elexis.core.application.feature → features/ch.elexis.core.application.feature}/feature.xml +0 -0
- data/spec/data/source/{ch.elexis.core.application.feature → features/ch.elexis.core.application.feature}/pom.xml +0 -0
- data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/.project +0 -0
- data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/build.properties +0 -0
- data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/feature.xml +0 -0
- data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/pom.xml +0 -0
- data/spec/feature_spec.rb +1 -1
- data/spec/plugin_spec.rb +1 -1
- data/spec/workspace_spec.rb +1 -1
- metadata +52 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8f527c95cba2316d028d916775b9ab0cc4d9fe0
|
4
|
+
data.tar.gz: 7898baca4dcca5b98d3b87743d813d344bf6c6ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbff3538bdd1598bad0591c48e6cb3cf0e1519b56bea4d6af38565aacdb6080d63e04c6f4b28ef9d6bde266f3dc95bdddefba0b60efe51706aa24bd7ba2f28dd
|
7
|
+
data.tar.gz: 1426505f81b9acdc72aa5cf6c42eef5ccb1188b947cf03a1ba7572f25537e9838c76fcacf24c9edc3673c4ecf1f249443265b34a7e83e9e6358548a69729cb7f
|
data/.travis.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
2
|
+
|
3
3
|
script:
|
4
4
|
- bundle exec rspec
|
5
5
|
- bundle exec rake install
|
@@ -7,15 +7,14 @@ script:
|
|
7
7
|
install: bundle install --deployment --without debugger
|
8
8
|
|
9
9
|
rvm:
|
10
|
-
# -
|
11
|
-
-
|
12
|
-
- 2.1
|
13
|
-
- 2.
|
10
|
+
# - 2.2.x or earlier cannot run because mediawiki-butt requires at least Ruby 2.3
|
11
|
+
- 2.3.4
|
12
|
+
- 2.4.1
|
13
|
+
- 2.5.0
|
14
14
|
|
15
15
|
matrix:
|
16
16
|
allow_failures:
|
17
|
-
- rvm: 2.
|
18
|
-
- rvm: 2.1.2
|
17
|
+
- rvm: 2.3.4
|
19
18
|
|
20
19
|
notifications:
|
21
20
|
email:
|
data/Changelog
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
0.4.2 # 2018.08.09
|
2
|
+
- Fix parsing new Elexis pomless layout with nested plugins/features
|
3
|
+
|
1
4
|
0.0.2 # 2014.04.21
|
2
5
|
- support parsing a source plugin/workspace
|
3
6
|
- use rubyzip < 1.0.0 to make it work with ruby 1.8.7 (which is still commonly used in MacOSX)
|
4
7
|
|
5
8
|
0.0.1 # 2014.04.21
|
6
|
-
- initial release
|
9
|
+
- initial release
|
data/lib/eclipse/workspace.rb
CHANGED
@@ -29,15 +29,14 @@ module Eclipse
|
|
29
29
|
['plugins', 'features'].each{ |subdir|
|
30
30
|
dir = File.join(@workspace_dir, subdir)
|
31
31
|
if File.directory?(dir)
|
32
|
-
isInstallation = true
|
33
|
-
parsePluginDir(dir)
|
32
|
+
isInstallation = true if parsePluginDir(dir)
|
34
33
|
end
|
35
34
|
}
|
36
35
|
parse_sub_dirs unless isInstallation
|
37
36
|
end
|
38
37
|
|
39
38
|
def parse_sub_dirs
|
40
|
-
Dir.glob("#{@workspace_dir}/*").each{
|
39
|
+
(Dir.glob("#{@workspace_dir}/*")+Dir.glob("#{@workspace_dir}/*/*")).compact.each{
|
41
40
|
|item|
|
42
41
|
proj = File.join(item, '.project')
|
43
42
|
name = nil
|
@@ -70,4 +69,4 @@ module Eclipse
|
|
70
69
|
info.preferencePage_categories.each{ |k, v| @preferencePage_categories[k] = v }
|
71
70
|
end
|
72
71
|
end
|
73
|
-
end
|
72
|
+
end
|
data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/.project
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/spec/data/source/{ch.elexis.core.application → bundles/ch.elexis.core.application}/plugin.xml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/.project
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/spec/data/source/{ch.elexis.core.ui.contacts → bundles/ch.elexis.core.ui.contacts}/plugin.xml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/build.properties
RENAMED
File without changes
|
data/spec/data/source/{ch.elexis.icpc.feature → features/ch.elexis.icpc.feature}/feature.xml
RENAMED
File without changes
|
File without changes
|
data/spec/feature_spec.rb
CHANGED
@@ -12,7 +12,7 @@ describe 'Feature' do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
it "must be able to analyse a feature.xml" do
|
15
|
-
feature = File.join(@dataDir, 'source', FEATURE_NAME)
|
15
|
+
feature = File.join(@dataDir, 'source', 'features', FEATURE_NAME)
|
16
16
|
f_info = Eclipse::Feature::Info.new(feature)
|
17
17
|
f_info.symbolicName.should == FEATURE_NAME
|
18
18
|
f_info.included_features.should == ["ch.docbox.elexis.feature"]
|
data/spec/plugin_spec.rb
CHANGED
@@ -76,7 +76,7 @@ describe 'Plugin' do
|
|
76
76
|
end
|
77
77
|
|
78
78
|
it "should work with a source plugin" do
|
79
|
-
info = Eclipse::Plugin::Info.new(File.join(@dataDir, 'source', 'ch.elexis.core.ui.contacts'))
|
79
|
+
info = Eclipse::Plugin::Info.new(File.join(@dataDir, 'source', 'bundles', 'ch.elexis.core.ui.contacts'))
|
80
80
|
info.jar_or_src.should_not be nil
|
81
81
|
info.views.first.should_not be nil
|
82
82
|
info.perspectives.first.should_not be nil
|
data/spec/workspace_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eclipse-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niklaus Giger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -120,31 +120,31 @@ files:
|
|
120
120
|
- spec/data/installation/plugins/ch.elexis.laborimport.hl7.allg-3.0.0-SNAPSHOT.jar
|
121
121
|
- spec/data/installation/plugins/org.iatrix_3.0.0.v20140313-1017.jar
|
122
122
|
- spec/data/plugin_de.properties
|
123
|
-
- spec/data/source/ch.elexis.core.application
|
124
|
-
- spec/data/source/ch.elexis.core.application
|
125
|
-
- spec/data/source/ch.elexis.core.application
|
126
|
-
- spec/data/source/ch.elexis.core.application
|
127
|
-
- spec/data/source/ch.elexis.core.application
|
128
|
-
- spec/data/source/ch.elexis.core.application/
|
129
|
-
- spec/data/source/ch.elexis.core.application/
|
130
|
-
- spec/data/source/ch.elexis.core.
|
131
|
-
- spec/data/source/ch.elexis.core.
|
132
|
-
- spec/data/source/ch.elexis.core.
|
133
|
-
- spec/data/source/ch.elexis.core.
|
134
|
-
- spec/data/source/ch.elexis.core.ui.contacts
|
135
|
-
- spec/data/source/ch.elexis.core.ui.contacts/
|
136
|
-
- spec/data/source/ch.elexis.core.ui.contacts/
|
137
|
-
- spec/data/source/ch.elexis.
|
138
|
-
- spec/data/source/ch.elexis.
|
139
|
-
- spec/data/source/ch.elexis.
|
140
|
-
- spec/data/source/ch.elexis.core.
|
141
|
-
- spec/data/source/ch.elexis.
|
142
|
-
- spec/data/source/ch.elexis.
|
143
|
-
- spec/data/source/ch.elexis.
|
144
|
-
- spec/data/source/ch.elexis.icpc.feature
|
145
|
-
- spec/data/source/ch.elexis.icpc
|
146
|
-
- spec/data/source/ch.elexis.icpc/
|
147
|
-
- spec/data/source/ch.elexis.icpc/
|
123
|
+
- spec/data/source/bundles/ch.elexis.core.application/.project
|
124
|
+
- spec/data/source/bundles/ch.elexis.core.application/META-INF/MANIFEST.MF
|
125
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin.properties
|
126
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin.xml
|
127
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_de.properties
|
128
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_en.properties
|
129
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_fr.properties
|
130
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/.project
|
131
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/META-INF/MANIFEST.MF
|
132
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin.properties
|
133
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin.xml
|
134
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_de.properties
|
135
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_en.properties
|
136
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_fr.properties
|
137
|
+
- spec/data/source/bundles/ch.elexis.icpc/.project
|
138
|
+
- spec/data/source/bundles/ch.elexis.icpc/META-INF/MANIFEST.MF
|
139
|
+
- spec/data/source/bundles/ch.elexis.icpc/plugin.xml
|
140
|
+
- spec/data/source/features/ch.elexis.core.application.feature/.project
|
141
|
+
- spec/data/source/features/ch.elexis.core.application.feature/build.properties
|
142
|
+
- spec/data/source/features/ch.elexis.core.application.feature/feature.xml
|
143
|
+
- spec/data/source/features/ch.elexis.core.application.feature/pom.xml
|
144
|
+
- spec/data/source/features/ch.elexis.icpc.feature/.project
|
145
|
+
- spec/data/source/features/ch.elexis.icpc.feature/build.properties
|
146
|
+
- spec/data/source/features/ch.elexis.icpc.feature/feature.xml
|
147
|
+
- spec/data/source/features/ch.elexis.icpc.feature/pom.xml
|
148
148
|
- spec/feature_spec.rb
|
149
149
|
- spec/helpers_spec.rb
|
150
150
|
- spec/plugin_spec.rb
|
@@ -182,31 +182,31 @@ test_files:
|
|
182
182
|
- spec/data/installation/plugins/ch.elexis.laborimport.hl7.allg-3.0.0-SNAPSHOT.jar
|
183
183
|
- spec/data/installation/plugins/org.iatrix_3.0.0.v20140313-1017.jar
|
184
184
|
- spec/data/plugin_de.properties
|
185
|
-
- spec/data/source/ch.elexis.core.application
|
186
|
-
- spec/data/source/ch.elexis.core.application
|
187
|
-
- spec/data/source/ch.elexis.core.application
|
188
|
-
- spec/data/source/ch.elexis.core.application
|
189
|
-
- spec/data/source/ch.elexis.core.application
|
190
|
-
- spec/data/source/ch.elexis.core.application/
|
191
|
-
- spec/data/source/ch.elexis.core.application/
|
192
|
-
- spec/data/source/ch.elexis.core.
|
193
|
-
- spec/data/source/ch.elexis.core.
|
194
|
-
- spec/data/source/ch.elexis.core.
|
195
|
-
- spec/data/source/ch.elexis.core.
|
196
|
-
- spec/data/source/ch.elexis.core.ui.contacts
|
197
|
-
- spec/data/source/ch.elexis.core.ui.contacts/
|
198
|
-
- spec/data/source/ch.elexis.core.ui.contacts/
|
199
|
-
- spec/data/source/ch.elexis.
|
200
|
-
- spec/data/source/ch.elexis.
|
201
|
-
- spec/data/source/ch.elexis.
|
202
|
-
- spec/data/source/ch.elexis.core.
|
203
|
-
- spec/data/source/ch.elexis.
|
204
|
-
- spec/data/source/ch.elexis.
|
205
|
-
- spec/data/source/ch.elexis.
|
206
|
-
- spec/data/source/ch.elexis.icpc.feature
|
207
|
-
- spec/data/source/ch.elexis.icpc
|
208
|
-
- spec/data/source/ch.elexis.icpc/
|
209
|
-
- spec/data/source/ch.elexis.icpc/
|
185
|
+
- spec/data/source/bundles/ch.elexis.core.application/.project
|
186
|
+
- spec/data/source/bundles/ch.elexis.core.application/META-INF/MANIFEST.MF
|
187
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin.properties
|
188
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin.xml
|
189
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_de.properties
|
190
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_en.properties
|
191
|
+
- spec/data/source/bundles/ch.elexis.core.application/plugin_fr.properties
|
192
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/.project
|
193
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/META-INF/MANIFEST.MF
|
194
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin.properties
|
195
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin.xml
|
196
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_de.properties
|
197
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_en.properties
|
198
|
+
- spec/data/source/bundles/ch.elexis.core.ui.contacts/plugin_fr.properties
|
199
|
+
- spec/data/source/bundles/ch.elexis.icpc/.project
|
200
|
+
- spec/data/source/bundles/ch.elexis.icpc/META-INF/MANIFEST.MF
|
201
|
+
- spec/data/source/bundles/ch.elexis.icpc/plugin.xml
|
202
|
+
- spec/data/source/features/ch.elexis.core.application.feature/.project
|
203
|
+
- spec/data/source/features/ch.elexis.core.application.feature/build.properties
|
204
|
+
- spec/data/source/features/ch.elexis.core.application.feature/feature.xml
|
205
|
+
- spec/data/source/features/ch.elexis.core.application.feature/pom.xml
|
206
|
+
- spec/data/source/features/ch.elexis.icpc.feature/.project
|
207
|
+
- spec/data/source/features/ch.elexis.icpc.feature/build.properties
|
208
|
+
- spec/data/source/features/ch.elexis.icpc.feature/feature.xml
|
209
|
+
- spec/data/source/features/ch.elexis.icpc.feature/pom.xml
|
210
210
|
- spec/feature_spec.rb
|
211
211
|
- spec/helpers_spec.rb
|
212
212
|
- spec/plugin_spec.rb
|