commons_upload 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -1
- data/lib/commons_upload.rb +15 -15
- data/lib/commons_upload/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2628e2d11f98afd0f6f852271c70822dd7e3a13b
|
4
|
+
data.tar.gz: 7bdea102ebb5e865f1140a4a5e0e88be3998dbc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6d526cd37d69badca5accdf2f1a30bdfa1cd98ceead2930b62e55376dec97e48460c7521c53feb8fa44ce46ee621f2ae1392ed266f5e5c9a8b7e61ee5f6f586
|
7
|
+
data.tar.gz: 0e8dbbe13699a592773619568209b1d635c2185b161602ce9d338180d2a40a0bdf138e8f9cc4bec710012f0cff7e831b81334b99394332e9023532c77f239d39
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/lib/commons_upload.rb
CHANGED
@@ -8,23 +8,23 @@ module CommonsUpload
|
|
8
8
|
# in this case it is: en
|
9
9
|
language_code = file_name.split('-')[1].split('.')[0]
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
<<EOS
|
12
|
+
=={{int:filedesc}}==
|
13
|
+
{{Information
|
14
|
+
|description={{en|1=#{file_name}}}
|
15
|
+
|date=#{date}
|
16
|
+
|source=[[User:LanguageScreenshotBot|Automatically created by LanguageScreenshotBot]]
|
17
|
+
|author=[[User:LanguageScreenshotBot|Automatically created by LanguageScreenshotBot]]
|
18
|
+
|permission=
|
19
|
+
|other_versions=
|
20
|
+
|other_fields=
|
21
|
+
}}
|
22
22
|
|
23
|
-
|
24
|
-
|
23
|
+
=={{int:license-header}}==
|
24
|
+
{{Wikipedia-screenshot}}
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
[[Category:VisualEditor-#{language_code}]]
|
27
|
+
EOS
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.image(file_path, client)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commons_upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vikas Yaligar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-08-
|
13
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mediawiki_api
|
@@ -114,3 +114,4 @@ signing_key:
|
|
114
114
|
specification_version: 4
|
115
115
|
summary: Upload images to Wikimedia Commons.
|
116
116
|
test_files: []
|
117
|
+
has_rdoc:
|