wikian 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: 6044c74a22baf5f757da1f68bc65f0758da46a41ee3567b19b0a61688d3b7034
4
- data.tar.gz: 415490e2958ed48196c97ddbca6f3a86afff1c7ee535c9d1a1ed39bf3313bce8
3
+ metadata.gz: 4cae14274502ac01e5cf329b8a252ac275aae719b6bc1c3744b767cde19d6aed
4
+ data.tar.gz: 9efbfc03f6f86468ee4156035b29572dae7e80020a2edf07fc06c4b3980e166a
5
5
  SHA512:
6
- metadata.gz: 3155eb0bc4f6a2a1648eb186072bda807b4af64ef79d9034e0c597900a5b2a9ed7b6d498a469545596673b37a0323360d59eef8f043b2710fcea462bf3ec7b55
7
- data.tar.gz: cc705511bc328eeb488180ce7940f64eaa2e82f0b8302cbc26cb93e38aeff15b7f6ccd20b3f08d8ea5ec2dd2ab0eedeb9ca4297f01bae0b18a05995e5ec56f3e
6
+ metadata.gz: 96abbb700231c2da44492719500a2c0c85284cfff9e97bc6aadebc534cbb4fd0c7c878c9ade610c421188ba29f47fcd4f32777ba6baa71bdfad84ee97e81067a
7
+ data.tar.gz: 4255b20473b74cd31d7f0afc00b67fc03623bea91babcfb9c875d71970cf3e8717d26abe3777fd81aa8800f08263a1fa366b0ecc0abd18ed4cf5b99a9211f5b4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wikian (0.2.3)
4
+ wikian (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,6 +1,7 @@
1
1
  class Wikian
2
2
  class WikianSubcommandError < StandardError; end
3
3
  class BadUrlError < WikianSubcommandError; end
4
+ class InitializeError < WikianSubcommandError; end
4
5
 
5
6
  # class to be inherited by other Wikian classes
6
7
  class Subcommand
@@ -27,7 +28,7 @@ class Wikian
27
28
 
28
29
  # some params like 'titles' can contain multiple entries joined by '|'. More info in Wikipedia API docs
29
30
  @params = Hash[config['api'].keys.zip(config['api'].values.map{|arr| arr.join("|")})]
30
- rescue MissingConfigFileError => e
31
+ rescue InitializeError => e
31
32
  puts "#{e.class} try passing the '-t' option to generate #{Wikian::CONFIG_FILE} in #{__FILE__}"
32
33
  exit
33
34
  end
@@ -1,3 +1,3 @@
1
1
  class Wikian
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wikian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergioro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Get and update Wikipedia articles
14
14
  email: