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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d9dd55f8c0cca2fdd161550be29a2b3525ded86
4
- data.tar.gz: 1a3a1852515cd884a15fc478f6e55fffa641b015
3
+ metadata.gz: 17a56b283e77508c3ced72d1633a230371345dc5
4
+ data.tar.gz: 6b1cca8a0f15026a406968daf192e8764b097db0
5
5
  SHA512:
6
- metadata.gz: a623425d4db489bd6178291ac15888a4b18c9271bb6674431d772025bda0a0e41c0af6f650d33bb8a644d9be973ebe687b4f9c11eebd63835ab61c69289edead
7
- data.tar.gz: 6923a0d648a30121a64309c4b75956fd661b555fb843d1eface5115b53b2478e46070126640aecec48aff63afdd5873e8720d351fdad8d35802e6a5008dcc28c
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: MEDIAWIKI_PASSWORD
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['MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET']
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
@@ -11,6 +11,6 @@ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
11
11
 
12
12
  module Mediawiki
13
13
  module Selenium
14
- VERSION = "0.1.11"
14
+ VERSION = "0.1.12"
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediawiki-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko Filipin