mediawiki-selenium 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/jobs.md +6 -2
- data/docs/template.md +3 -5
- data/lib/mediawiki/selenium/hooks.rb +1 -5
- data/lib/mediawiki/selenium/version.rb +1 -1
- 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: 17a56b283e77508c3ced72d1633a230371345dc5
|
4
|
+
data.tar.gz: 6b1cca8a0f15026a406968daf192e8764b097db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0704e2e7e4da6e860e8ac973b68cc45f463835af24e0b40397c2a47ae021170e8d5b73d28b02aa031533cf548effb90daec5244cf66e12b35784f70ac80a72e7
|
7
|
+
data.tar.gz: 3fd3dfdc87bae8256feda9c0427b31acff7f290cf1f67ee4300d29d047d7f52700af89d27560355ddbd49aa32c5ff87e582957f6b16104dc6a1cc07171dd18a3
|
data/docs/jobs.md
CHANGED
@@ -5,9 +5,13 @@
|
|
5
5
|
- Branch: master
|
6
6
|
- MediaWiki URL:
|
7
7
|
- Folder:
|
8
|
-
- MediaWiki user:
|
9
|
-
- MediaWiki password:
|
10
8
|
- Repository URL:
|
9
|
+
- MediaWiki user:
|
10
|
+
- MediaWiki password variable:
|
11
|
+
MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET
|
12
|
+
MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG
|
13
|
+
MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG
|
14
|
+
MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG
|
11
15
|
|
12
16
|
|
13
17
|
|
data/docs/template.md
CHANGED
@@ -131,10 +131,10 @@
|
|
131
131
|
- Display Name: MediaWiki user
|
132
132
|
- Type: Text-field
|
133
133
|
|
134
|
-
## MediaWiki password
|
134
|
+
## MediaWiki password variable
|
135
135
|
|
136
|
-
- ID:
|
137
|
-
- Display Name: MediaWiki password
|
136
|
+
- ID: MEDIAWIKI_PASSWORD_VARIABLE
|
137
|
+
- Display Name: MediaWiki password variable
|
138
138
|
- Type: Text-field
|
139
139
|
|
140
140
|
## Jelly-based transformation
|
@@ -221,8 +221,6 @@
|
|
221
221
|
<hudson.tasks.Shell>
|
222
222
|
<command>
|
223
223
|
export MEDIAWIKI_USER=${MEDIAWIKI_USER}
|
224
|
-
export MEDIAWIKI_PASSWORD=${MEDIAWIKI_PASSWORD}
|
225
|
-
|
226
224
|
export BROWSER_LABEL=${BROWSER_LABEL}
|
227
225
|
export MEDIAWIKI_URL=http://${MEDIAWIKI_URL}/wiki/
|
228
226
|
|
@@ -12,11 +12,7 @@ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
|
|
12
12
|
config = YAML.load_file('config/config.yml')
|
13
13
|
|
14
14
|
Before('@login') do
|
15
|
-
ENV['MEDIAWIKI_PASSWORD'] = ENV['
|
16
|
-
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG']
|
17
|
-
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG']
|
18
|
-
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG'] if ENV['MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG']
|
19
|
-
|
15
|
+
ENV['MEDIAWIKI_PASSWORD'] = ENV[ENV['MEDIAWIKI_PASSWORD_VARIABLE']] if ENV['MEDIAWIKI_PASSWORD_VARIABLE']
|
20
16
|
puts "MEDIAWIKI_USER environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_USER']
|
21
17
|
puts "MEDIAWIKI_PASSWORD environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_PASSWORD']
|
22
18
|
end
|