elexis-wiki-interface 0.4 → 0.4.1
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.
- checksums.yaml +15 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/History.txt +8 -0
- data/README.textile +1 -1
- data/lib/elexis/wiki/interface/version.rb +1 -1
- data/lib/elexis/wiki/interface/workspace.rb +59 -14
- data/spec/pull_spec.rb +3 -7
- data/spec/push_spec.rb +2 -2
- data/spec/update_images_spec.rb +50 -0
- metadata +15 -27
- data/spec/data/pull/doc_de/Doc_de_abrechnungssystem1.png +0 -0
- data/spec/data/pull/doc_de/doc_de.mediawiki +0 -1842
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZDI0NzM3ZTU2ZmVkZWI3NzBhMjAyZmI1ZjEwZjI0MGNkNTE0OTJlNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTU1NzUzMmNiZGE4YjRiM2MxYzA3NTZkMjRmM2Y0ZDhhOTVhNzFjYg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZWZkNTk2OGE3NDM3MmQ0MDcwMzhjMDBiNjExMWY2OGM0NmVkMGIzYThjMjJi
|
10
|
+
MjZmNTQwYWMwMDBlMjFhNWY4ZTI1ZmI2N2Q0OTk4ZDQ4MDUzYjE3ZGQ2MWY1
|
11
|
+
MmUxYWEwNTYxNzI4MGVhZGQ5MDJlMzIxNzdkZTQ4YTVlOWQzNGY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTk5ZDI3OTZlODQyMWU1OGFkYjM2MjYyNmQ3MTdhNTJjZDFmNTg1ZjU0OWVj
|
14
|
+
ZmFkNjE1MzdmOWExZjc2ODg0M2MyMzE1YTU4ZTgyNTNjZDNiYzk1MDE4MjIz
|
15
|
+
ZDdlYTAxODZjM2JkYzc3NTljZDA3YzczYjcyMGJhNmZhZTQ2ZDk=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
elexis-wiki-interface (0.4)
|
12
|
+
elexis-wiki-interface (0.4.1)
|
13
13
|
eclipse-plugin (>= 0.1)
|
14
14
|
mediawiki-gateway
|
15
15
|
rubyzip (< 1.0.0)
|
@@ -82,11 +82,11 @@ PLATFORMS
|
|
82
82
|
ruby
|
83
83
|
|
84
84
|
DEPENDENCIES
|
85
|
-
bundler (~> 1.
|
85
|
+
bundler (~> 1.10)
|
86
86
|
eclipse-plugin!
|
87
87
|
elexis-wiki-interface!
|
88
88
|
pry-debugger
|
89
|
-
rake
|
89
|
+
rake (~> 10.0)
|
90
90
|
rspec
|
91
91
|
simplecov
|
92
92
|
|
data/History.txt
ADDED
data/README.textile
CHANGED
@@ -74,7 +74,7 @@ h3. Conventions
|
|
74
74
|
** a plugin plugin.name has a page plugin.name
|
75
75
|
** a view view.name with a localized name localized_name has a page <plugin.name>Views<localized_name>
|
76
76
|
** a perspective perspective.name with a localized name localized_name has a page P_<localized_name>
|
77
|
-
** png files should start with their plugin/feature-name followed by '
|
77
|
+
** png files should start with their plugin/feature-name followed by '/' by a name or a globally unique name
|
78
78
|
** png files resides inside the 'doc' sub-directory of each plugin/feature
|
79
79
|
|
80
80
|
h3. Limitations/TODO
|
@@ -10,6 +10,47 @@ require 'yaml'
|
|
10
10
|
module Elexis
|
11
11
|
module Wiki
|
12
12
|
module Interface
|
13
|
+
ImagePrefix = /Datei:|Image:/i
|
14
|
+
ImagePattern = /(\[Datei:|\[Image:)([\w\.\:]*)/i
|
15
|
+
def Interface.fix_image_locations(filename, id)
|
16
|
+
return unless File.exists?(filename)
|
17
|
+
lines = IO.readlines(filename)
|
18
|
+
dirName = File.dirname(filename)
|
19
|
+
newLines = []
|
20
|
+
lines.each{
|
21
|
+
|line|
|
22
|
+
unless m =ImagePattern.match(line)
|
23
|
+
newLines << line
|
24
|
+
else
|
25
|
+
simpleName = File.join(dirName, m[2])
|
26
|
+
if File.exists?(simpleName)
|
27
|
+
puts "Image simpleName #{simpleName} found" if $VERBOSE
|
28
|
+
newLines << line
|
29
|
+
next
|
30
|
+
else
|
31
|
+
underscoreName = File.join(dirName, m[2].sub(/[\:\/_]/, '/'))
|
32
|
+
if File.exists?(underscoreName)
|
33
|
+
puts "Image underscoreName #{underscoreName} found" if $VERBOSE
|
34
|
+
newLines << line.sub(ImagePattern, "#{m[1]}#{m[2].sub(/[\:\/_]/, '/')}")
|
35
|
+
next
|
36
|
+
else
|
37
|
+
shortName = File.join(dirName, m[2].sub(/#{id}[_:\/]/i, ''))
|
38
|
+
if File.exists?(shortName)
|
39
|
+
puts "Image shortName #{shortName} found" if $VERBOSE
|
40
|
+
newLines << line.sub(m[2], m[2].sub(/[_:]/i, '/'))
|
41
|
+
next
|
42
|
+
else
|
43
|
+
puts "Could not find image for #{m[0]}"
|
44
|
+
newLines << line.sub(ImagePattern, "#{m[1]}#{m[2].sub(':', '_')}")
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
}
|
51
|
+
File.open(filename, "w+") {|f| f.puts newLines}
|
52
|
+
end
|
53
|
+
|
13
54
|
class Workspace
|
14
55
|
attr_reader :info, :mw, :wiki, :views_missing_documentation, :perspectives_missing_documentation, :plugins_missing_documentation, :features_missing_documentation,
|
15
56
|
:doc_project, :features, :info
|
@@ -109,11 +150,13 @@ module Elexis
|
|
109
150
|
begin
|
110
151
|
res = @mw.upload(image, 'filename' => File.basename(image))
|
111
152
|
puts "res für #{image} exists? #{File.exists?(image)} ist #{res.to_s}"
|
112
|
-
puts "If you received API error: code 'verification-error', info 'This file did not pass file verification'"
|
113
|
-
puts "this means that the file type and content do not match, e.g. you have a *png file but in reality it is a JPEG file."
|
114
|
-
puts "In this case convert file.png file.png fixes this problem"
|
115
153
|
rescue MediaWiki::APIError => e
|
116
154
|
puts "rescue für #{image} #{e}" # if $VERBOSE
|
155
|
+
if /verification-error/.match(e.to_s)
|
156
|
+
puts "If you received API error: code 'verification-error', info 'This file did not pass file verification'"
|
157
|
+
puts "this means that the file type and content do not match, e.g. you have a *png file but in reality it is a JPEG file."
|
158
|
+
puts "In this case convert file.png file.png fixes this problem"
|
159
|
+
end
|
117
160
|
end
|
118
161
|
}
|
119
162
|
end
|
@@ -148,6 +191,7 @@ module Elexis
|
|
148
191
|
}
|
149
192
|
@info.features.each{
|
150
193
|
|id, info|
|
194
|
+
next unless /Com.actavis.medidirect/i.match(id)
|
151
195
|
puts "Pulling for feature #{id}" if $VERBOSE
|
152
196
|
pull_docs_features(info)
|
153
197
|
}
|
@@ -172,6 +216,10 @@ module Elexis
|
|
172
216
|
pageName
|
173
217
|
end
|
174
218
|
|
219
|
+
def shorten_wiki_image(image)
|
220
|
+
File.basename(image.split(/[\:\/_]/)[-1])
|
221
|
+
end
|
222
|
+
|
175
223
|
private
|
176
224
|
def wiki_json_timestamp_to_time(json, page_or_img)
|
177
225
|
return nil unless json
|
@@ -193,21 +241,17 @@ module Elexis
|
|
193
241
|
puts "MediWiki #{@wiki} user #{@user} with password #{@password}" if $VERBOSE
|
194
242
|
end
|
195
243
|
|
196
|
-
def shorten_wiki_image(image)
|
197
|
-
return File.basename(image) unless File.basename(image).index(':')
|
198
|
-
File.basename(image).split(':')[1..-1].join(':').gsub(':', '_')
|
199
|
-
end
|
200
|
-
|
201
244
|
# http://wiki.elexis.info/api.php?action=query&format=json&list=allimages&ailimit=5&aiprop=timestamp&aiprefix=Ch.elexis.notes:config.png&*
|
202
245
|
def get_image_modification_name(image)
|
203
|
-
|
246
|
+
short_image = image.sub(ImagePrefix, '')
|
247
|
+
json_url = "#{@wiki}?action=query&format=json&list=allimages&ailimit=5&aiprop=timestamp&aiprefix=#{short_image}"
|
204
248
|
json = RestClient.get(json_url)
|
205
249
|
wiki_json_timestamp_to_time(json, image)
|
206
250
|
end
|
207
251
|
|
208
252
|
# helper function, as mediawiki-gateway does not handle this situation correctly
|
209
253
|
def download_image_file(image, downloaded_image)
|
210
|
-
short_image =
|
254
|
+
short_image = image.sub(ImagePrefix, '')
|
211
255
|
unless File.exist? downloaded_image
|
212
256
|
json_url = "#{@wiki}?action=query&format=json&list=allimages&ailimit=5&aiprop=url&aiprefix=#{short_image}"
|
213
257
|
json = RestClient.get(json_url)
|
@@ -232,7 +276,7 @@ module Elexis
|
|
232
276
|
puts " error was #{e.inspect}"
|
233
277
|
end
|
234
278
|
end
|
235
|
-
puts "Downloaded image #{downloaded_image} #{File.size(downloaded_image)} bytes" if $VERBOSE
|
279
|
+
puts "Downloaded image #{downloaded_image} #{File.size(downloaded_image)} bytes" if $VERBOSE and File.exists?(downloaded_image)
|
236
280
|
end
|
237
281
|
|
238
282
|
def get_content_from_wiki(out_dir, pageName)
|
@@ -246,14 +290,15 @@ module Elexis
|
|
246
290
|
return nil
|
247
291
|
end
|
248
292
|
if content
|
249
|
-
ausgabe = File.open(out_name, 'w+') { |f| f.write content
|
293
|
+
ausgabe = File.open(out_name, 'w+') { |f| f.write content }
|
250
294
|
@mw.images(pageName).each{
|
251
295
|
|image|
|
252
296
|
image = image.gsub(/[^\w\.:]/, '_')
|
253
297
|
downloaded_image = File.join(out_dir, shorten_wiki_image(image))
|
254
|
-
download_image_file(image, downloaded_image.sub(':', ''))
|
255
|
-
break if defined?(RSpec) # speed up
|
298
|
+
download_image_file(image, downloaded_image.sub(':', '_'))
|
299
|
+
break if defined?(RSpec) and not /icpc/i.match(pageName) # speed up RSpec
|
256
300
|
}
|
301
|
+
Elexis::Wiki::Interface.fix_image_locations(out_name, pageName)
|
257
302
|
else
|
258
303
|
puts "Could not fetch #{pageName} from #{@mw}" if $VERBOSE
|
259
304
|
end
|
data/spec/pull_spec.rb
CHANGED
@@ -56,8 +56,6 @@ describe 'Plugin' do
|
|
56
56
|
wiki_files = Dir.glob(search)
|
57
57
|
puts "We have the pulled the following wiki_files\n#{wiki_files.join("\n")}"
|
58
58
|
end
|
59
|
-
name = File.join(@dataDir, "ch.elexis.core.application.feature", "doc", "Ch.elexis.core.application.feature.feature.group.mediawiki")
|
60
|
-
expect(Dir.glob(name).size).to eq 1
|
61
59
|
name = File.join(@dataDir, "ch.elexis.core.application.feature", "Ch.elexis.core.application.feature.feature.group.mediawiki")
|
62
60
|
expect(Dir.glob(name).size).to eq 0
|
63
61
|
name = File.join(@dataDir, "ch.elexis.agenda", "doc", "Ch.elexis.agenda.mediawiki")
|
@@ -75,8 +73,6 @@ describe 'Plugin' do
|
|
75
73
|
}
|
76
74
|
expect(images.size).to be >= 1
|
77
75
|
expect(workspace.features_missing_documentation.size).to eq 0
|
78
|
-
name = File.join(@dataDir, "ch.elexis.core.application.feature", "doc", "*mediawiki")
|
79
|
-
expect(Dir.glob(name).size).to eq 1
|
80
76
|
|
81
77
|
name = File.join(@dataDir, "ch.elexis.icpc", "doc", "P_ICPC.mediawiki")
|
82
78
|
expect(Dir.glob(name).size).to eq 1
|
@@ -85,10 +81,10 @@ describe 'Plugin' do
|
|
85
81
|
name = File.join(@dataDir, "ch.elexis.icpc", "doc", "Ch.elexis.icpc.mediawiki")
|
86
82
|
expect(Dir.glob(name).size).to eq 1
|
87
83
|
content = IO.read(name)
|
88
|
-
m = /(Image:[\w\.]+):(\w+.png)/.match(content)
|
84
|
+
m = /(Image:[\w\.]+)[:_](\w+.png)/.match(content)
|
89
85
|
expect(m).to be_nil
|
90
|
-
m = /(Image:[\w\.]+)
|
91
|
-
expect(m[0]).to eq 'Image:ch.elexis.
|
86
|
+
m = /(Image:[\w\.]+)\/(\w+.png)/.match(content)
|
87
|
+
expect(m[0]).to eq 'Image:ch.elexis.icpc/icpc0.png'
|
92
88
|
end
|
93
89
|
|
94
90
|
it "should show all users" do
|
data/spec/push_spec.rb
CHANGED
@@ -12,10 +12,10 @@ describe 'Plugin' do
|
|
12
12
|
|
13
13
|
before :each do
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
it "should push a test page to the wiki.elexis.info" do
|
17
17
|
fqdn = `hostname -f`
|
18
|
-
pending 'do not run push test on travis' if fqdn.match(/travis-ci.org/)
|
18
|
+
pending 'do not run push test on travis' if fqdn.match(/travis-ci.org/) or ENV['TRAVIS']
|
19
19
|
hasConfig = File.exists?('/etc/elexis-wiki-interface/config.yml') or File.exists?(File.join(Dir.pwd, 'config.yml'))
|
20
20
|
pending 'no config file' unless hasConfig
|
21
21
|
search = "#{@dataDir}/**/*.mediawiki"
|
@@ -0,0 +1,50 @@
|
|
1
|
+
#encoding : utf-8
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
require 'elexis/wiki/interface'
|
5
|
+
require "elexis/wiki/interface/workspace"
|
6
|
+
|
7
|
+
describe 'ImageHandling' do
|
8
|
+
|
9
|
+
before :all do
|
10
|
+
@originDir = File.expand_path(File.join(File.dirname(__FILE__), 'data', 'push', 'ch.elexis.icpc'))
|
11
|
+
@dataDir = File.expand_path(File.join(File.dirname(__FILE__), 'run', 'push'))
|
12
|
+
FileUtils.rm_rf(@dataDir)
|
13
|
+
FileUtils.makedirs(@dataDir)
|
14
|
+
FileUtils.cp_r(@originDir, @dataDir, :verbose => true, :preserve => true)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "should shorten images files correctly" do
|
18
|
+
@dataDir = File.expand_path(File.join(File.dirname(__FILE__), 'data', 'pull'))
|
19
|
+
workspace = Elexis::Wiki::Interface::Workspace.new(@dataDir)
|
20
|
+
image = File.join(@dataDir, 'ch.elexis.icpc', 'doc', 'ch.elexis.ch/icpc1.png')
|
21
|
+
expect(workspace.shorten_wiki_image('/dummy/Ch.elexis.ch:icpc4.png')).to eq 'icpc4.png'
|
22
|
+
expect(workspace.shorten_wiki_image('/dummy/ch.elexis.ch:icpc3.png')).to eq 'icpc3.png'
|
23
|
+
expect(workspace.shorten_wiki_image('/dummy/ch.elexis.ch/icpc2.png')).to eq 'icpc2.png'
|
24
|
+
expect(workspace.shorten_wiki_image('/dummy/ch.elexis.ch_icpc1.png')).to eq 'icpc1.png'
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should adapt correctly the image name" do
|
28
|
+
wiki_file = File.join(@dataDir, 'ch.elexis.icpc', 'doc', 'test.mediawiki')
|
29
|
+
puts wiki_file
|
30
|
+
expect(File.exists?(wiki_file)).to eq true
|
31
|
+
before = ['tag_one [[Image:ch.elexis.icpc:icpc1.png|image]]',
|
32
|
+
'tag_two [[Image:ch.elexis.icpc:icpc2.png|image]]',
|
33
|
+
'tag_three [[Image:icpc3.png|image]]',
|
34
|
+
'tag_four [[Datei:ch.elexis.icpc:icpc4.png|image]]',
|
35
|
+
'tag_five [[Datei:Ch.elexis.icpc:icpc5.png|image]]',
|
36
|
+
]
|
37
|
+
original = IO.read(wiki_file)
|
38
|
+
before.each{|string| expect(original).to include string }
|
39
|
+
Elexis::Wiki::Interface.fix_image_locations(wiki_file, 'ch.elexis.icpc')
|
40
|
+
after = ['tag_one [[Image:ch.elexis.icpc/icpc1.png|image]]',
|
41
|
+
'tag_two [[Image:ch.elexis.icpc/icpc2.png|image]]',
|
42
|
+
'tag_three [[Image:icpc3.png|image]]',
|
43
|
+
'tag_four [[Datei:ch.elexis.icpc/icpc4.png|image]]',
|
44
|
+
'tag_five [[Datei:Ch.elexis.icpc/icpc5.png|image]]',
|
45
|
+
]
|
46
|
+
changed = IO.read(wiki_file)
|
47
|
+
after.each{|string| expect(changed).to include string }
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elexis-wiki-interface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Niklaus Giger
|
@@ -14,7 +13,6 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rubyzip
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - <
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - <
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: unicode
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: mediawiki-gateway
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: eclipse-plugin
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: bundler
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: rake
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: rspec
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ! '>='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ! '>='
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -126,7 +111,6 @@ dependencies:
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: simplecov
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
115
|
- - ! '>='
|
132
116
|
- !ruby/object:Gem::Version
|
@@ -134,7 +118,6 @@ dependencies:
|
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
122
|
- - ! '>='
|
140
123
|
- !ruby/object:Gem::Version
|
@@ -153,6 +136,7 @@ files:
|
|
153
136
|
- .travis.yml
|
154
137
|
- Gemfile
|
155
138
|
- Gemfile.lock
|
139
|
+
- History.txt
|
156
140
|
- LICENSE
|
157
141
|
- README.textile
|
158
142
|
- Rakefile
|
@@ -186,40 +170,42 @@ files:
|
|
186
170
|
- spec/data/pull/ch.elexis.notes/plugin_en.properties
|
187
171
|
- spec/data/pull/ch.elexis.notes/plugin_fr.properties
|
188
172
|
- spec/data/pull/doc_de/.project
|
189
|
-
- spec/data/pull/doc_de/Doc_de_abrechnungssystem1.png
|
190
|
-
- spec/data/pull/doc_de/doc_de.mediawiki
|
191
173
|
- spec/data/push/ch.elexis.icpc/.project
|
192
174
|
- spec/data/push/ch.elexis.icpc/META-INF/MANIFEST.MF
|
175
|
+
- spec/data/push/ch.elexis.icpc/doc/ch.elexis.icpc_icpc1.png
|
193
176
|
- spec/data/push/ch.elexis.icpc/doc/favicon_green.png
|
194
177
|
- spec/data/push/ch.elexis.icpc/doc/test.mediawiki
|
195
178
|
- spec/data/push/ch.elexis.icpc/plugin.xml
|
196
179
|
- spec/pull_spec.rb
|
197
180
|
- spec/push_spec.rb
|
181
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc3.png
|
182
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc4.png
|
183
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc5.png
|
198
184
|
- spec/spec_helper.rb
|
185
|
+
- spec/update_images_spec.rb
|
199
186
|
homepage: http://wiki.elexis.info
|
200
187
|
licenses:
|
201
188
|
- GPLv3
|
189
|
+
metadata: {}
|
202
190
|
post_install_message:
|
203
191
|
rdoc_options: []
|
204
192
|
require_paths:
|
205
193
|
- lib
|
206
194
|
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
-
none: false
|
208
195
|
requirements:
|
209
196
|
- - ! '>='
|
210
197
|
- !ruby/object:Gem::Version
|
211
198
|
version: '0'
|
212
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
-
none: false
|
214
200
|
requirements:
|
215
201
|
- - ! '>='
|
216
202
|
- !ruby/object:Gem::Version
|
217
203
|
version: '0'
|
218
204
|
requirements: []
|
219
205
|
rubyforge_project:
|
220
|
-
rubygems_version:
|
206
|
+
rubygems_version: 2.4.8
|
221
207
|
signing_key:
|
222
|
-
specification_version:
|
208
|
+
specification_version: 4
|
223
209
|
summary: Interface between elexis source and wiki
|
224
210
|
test_files:
|
225
211
|
- spec/data/doc/doc_de/.project
|
@@ -245,14 +231,16 @@ test_files:
|
|
245
231
|
- spec/data/pull/ch.elexis.notes/plugin_en.properties
|
246
232
|
- spec/data/pull/ch.elexis.notes/plugin_fr.properties
|
247
233
|
- spec/data/pull/doc_de/.project
|
248
|
-
- spec/data/pull/doc_de/Doc_de_abrechnungssystem1.png
|
249
|
-
- spec/data/pull/doc_de/doc_de.mediawiki
|
250
234
|
- spec/data/push/ch.elexis.icpc/.project
|
251
235
|
- spec/data/push/ch.elexis.icpc/META-INF/MANIFEST.MF
|
236
|
+
- spec/data/push/ch.elexis.icpc/doc/ch.elexis.icpc_icpc1.png
|
252
237
|
- spec/data/push/ch.elexis.icpc/doc/favicon_green.png
|
253
238
|
- spec/data/push/ch.elexis.icpc/doc/test.mediawiki
|
254
239
|
- spec/data/push/ch.elexis.icpc/plugin.xml
|
255
240
|
- spec/pull_spec.rb
|
256
241
|
- spec/push_spec.rb
|
242
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc3.png
|
243
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc4.png
|
244
|
+
- spec/run/push/ch.elexis.icpc/doc/icpc5.png
|
257
245
|
- spec/spec_helper.rb
|
258
|
-
|
246
|
+
- spec/update_images_spec.rb
|