factorio-mod 0.5.4 → 0.5.5

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: c969894a3ad2d3363d4a276bef2d4de4837ebed4bb914edf1827b58843d8ff44
4
- data.tar.gz: a484aecf452419c91177eea77c7dc616b7764a2ce8e8ea09b150df53cbb4ce43
3
+ metadata.gz: d768f70e391360db2b2ae8eae6f7349e1bd26417b1c0829276ee7e13c67fce50
4
+ data.tar.gz: abbc666ed30d1997a87081f98cc5f92eb504b07e6a2cc8af8039f2135f526485
5
5
  SHA512:
6
- metadata.gz: 2442027a88cb3a7cd2f5de3ceb8d5176f7e605440616b1a513e799851fad2a86a20eb23be8f4940d3115db9e06ac377246cd52259e775d75c39a6632e1f960cf
7
- data.tar.gz: 14be910125ebbc991cb9481c2349ac4a1eb9207e26d1e3e1490cf66d663ea5660541dadac937236ac2b5b032d177708be9b5843f617ca5dd6bd1504c8df77a29
6
+ metadata.gz: 0332a88734cdaf0ee4958cea7b39b9c8038885704f68fae15c3ebd4ac686cb8d2bd1407a67824d5d82320634a376c8ebf43e524e25aeaa56d56a49576f9e1ed2
7
+ data.tar.gz: c0c38517d2c462cb6e949023a761e2857d634f4d2f2a563e0a6903f5da3d3c4f5001bbdf07101dd3ffd4103a50ec6588fbe87ccceb8d92444bfa659b5db11437
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factorio-mod (0.5.4)
4
+ factorio-mod (0.5.5)
5
5
  activesupport (~> 5.2)
6
6
  nokogiri (~> 1.8)
7
7
 
@@ -32,7 +32,7 @@ module Factorio
32
32
  # @return [Nokogiri::HTML]
33
33
  def any(better = :information)
34
34
  unless PAGES.include? better
35
- raise NoPageError, "Page #{better.to_s.capitalize} Not Exist"
35
+ raise NoPageError, "page #{better.to_s.capitalize} not exist"
36
36
  end
37
37
 
38
38
  if @cache.key? better
@@ -53,7 +53,7 @@ module Factorio
53
53
 
54
54
  @cache[symbol] = Nokogiri::HTML(URI.open(uri, 'Cookie' => @cookie))
55
55
  rescue OpenURI::HTTPError => e
56
- raise NoMODError.new "MOD #{@uri.split('/').last} Not Found", e.io
56
+ raise NoMODError.new "MOD #{@uri.split('/').last} not found", e.io
57
57
  end
58
58
  end
59
59
  end
@@ -12,7 +12,7 @@ module Factorio
12
12
 
13
13
  # The Exception that not logged in
14
14
  class NotLoginError < StandardError
15
- def initialize(msg = 'Not logged in')
15
+ def initialize(msg = 'not logged in')
16
16
  super
17
17
  end
18
18
  end
@@ -195,7 +195,7 @@ module Factorio
195
195
  download_list.each do |download|
196
196
  return download if download.game_version == version.to_s
197
197
  end
198
- raise NoDownloadError, "Can't found #{name} for factorio #{version}"
198
+ raise NoDownloadError, "can't found #{name} for factorio #{version}"
199
199
  end
200
200
 
201
201
  # Get the _download_ for all of version.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Factorio
4
4
  class Mod
5
- VERSION = '0.5.4'
5
+ VERSION = '0.5.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorio-mod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52