elexis-wiki-interface 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/History.txt +4 -0
- data/lib/elexis/wiki/interface/version.rb +1 -1
- data/lib/elexis/wiki/interface/workspace.rb +6 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcd4309470e3954cecd1e5d35c7a75efa7a453be
|
4
|
+
data.tar.gz: db7566d5c5ba624c72e3b08a084cf4f7e4b45091
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7981f2ce10eb3c5be76ba97c47764f53623a1f083952a123accaeb9e2729f68e70ae261b45e0e55d873419145e2c861bbee2dd4eba258cd0de4c08e6b621a0db
|
7
|
+
data.tar.gz: 8290acb38b2b5543cf6d467550bc7f02a4be7dd9aa14b9bfeaa6df5fa61eddfc4d530511361ea87a2880a14008b4ff6adcc20c02ceb42aaf40d7d4c3f41605f8
|
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
@@ -113,8 +113,8 @@ module Elexis
|
|
113
113
|
puts $ws_errors
|
114
114
|
puts "Displayed #{$ws_errors.size} errors"
|
115
115
|
end
|
116
|
-
def
|
117
|
-
docDir
|
116
|
+
def push_doc_dir(id, docDir = nil)
|
117
|
+
docDir ||= File.join(@info.workspace_dir, id, 'doc')
|
118
118
|
to_push = Dir.glob("#{docDir}/*.mediawiki")
|
119
119
|
to_push.each{
|
120
120
|
|file|
|
@@ -135,7 +135,7 @@ module Elexis
|
|
135
135
|
next
|
136
136
|
end
|
137
137
|
@mw.edit(pagename, to_verify,{:overwrite => true, :summary => "pushed by #{File.basename(__FILE__)}" })
|
138
|
-
puts "Uploaded #{file} to #{pagename}" if $VERBOSE
|
138
|
+
puts "Uploaded #{file} to #{pagename}" # if $VERBOSE
|
139
139
|
end
|
140
140
|
}
|
141
141
|
if to_push.size > 0 # then upload also all *.png files
|
@@ -181,15 +181,10 @@ module Elexis
|
|
181
181
|
@doc_projects.each{
|
182
182
|
|prj|
|
183
183
|
dir = File.dirname(prj)
|
184
|
+
push_doc_dir(File.basename(dir), dir)
|
184
185
|
}
|
185
|
-
@info.features.each{
|
186
|
-
|
187
|
-
push_plugin_or_feature(id, info)
|
188
|
-
}
|
189
|
-
@info.plugins.each{
|
190
|
-
|id,plugin|
|
191
|
-
push_plugin_or_feature(id, plugin)
|
192
|
-
}
|
186
|
+
@info.features.each{ |id, info| push_doc_dir(id) }
|
187
|
+
@info.plugins.each{ |id,plugin| push_doc_dir(id) }
|
193
188
|
end
|
194
189
|
|
195
190
|
def get_git_modification(file)
|