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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59c6cb690c3ebe17b0d6f122911e921aaf90b362
4
- data.tar.gz: def47ee87cada35f47213d33a1731c2d0d30f249
3
+ metadata.gz: 2628e2d11f98afd0f6f852271c70822dd7e3a13b
4
+ data.tar.gz: 7bdea102ebb5e865f1140a4a5e0e88be3998dbc5
5
5
  SHA512:
6
- metadata.gz: e91615fdf0aab49da3c954bcc3d680e12a707bff5c4521e2a95a92236a1aec927d5cc81a5f609e53bc6b0c6ce82a40dce665c5e4bd8af4449d2d2cae640527e3
7
- data.tar.gz: d5db3566d2270c4bb5c4d6b5c5cffe0a1a4d37db41e5d7c24e296b199cbffd3bedcbb9aa8f46443da7dae409f4ac994ee4290e5763bcc1c4aad6bd4698c95348
6
+ metadata.gz: b6d526cd37d69badca5accdf2f1a30bdfa1cd98ceead2930b62e55376dec97e48460c7521c53feb8fa44ce46ee621f2ae1392ed266f5e5c9a8b7e61ee5f6f586
7
+ data.tar.gz: 0e8dbbe13699a592773619568209b1d635c2185b161602ce9d338180d2a40a0bdf138e8f9cc4bec710012f0cff7e831b81334b99394332e9023532c77f239d39
@@ -2,7 +2,7 @@ inherit_from: .rubocop_todo.yml
2
2
 
3
3
  # Needed for ignoring leading whitespace in heredoc
4
4
  AllCops:
5
- TargetRubyVersion: 2.3
5
+ TargetRubyVersion: 2.1
6
6
 
7
7
  # The default is 15, which is too tight
8
8
  Metrics/AbcSize:
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.0
3
+ - 2.1.5
4
4
  install: bundle install
5
5
  script:
6
6
  - bundle exec rubocop
@@ -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
- <<~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
- }}
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
- =={{int:license-header}}==
24
- {{Wikipedia-screenshot}}
23
+ =={{int:license-header}}==
24
+ {{Wikipedia-screenshot}}
25
25
 
26
- [[Category:VisualEditor-#{language_code}]]
27
- eos
26
+ [[Category:VisualEditor-#{language_code}]]
27
+ EOS
28
28
  end
29
29
 
30
30
  def self.image(file_path, client)
@@ -1,3 +1,3 @@
1
1
  module CommonsUpload
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
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.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-23 00:00:00.000000000 Z
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: