parker 0.2.2 → 0.2.3

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
- SHA256:
3
- metadata.gz: d08e3ea90c474e319b23713fdb05356c88fbc8a5fe97f71d6f47fe53b93d7961
4
- data.tar.gz: 180b040e95224d38793d03f1f6dcb65f0318b69b379990fe8842c84c776458bf
2
+ SHA1:
3
+ metadata.gz: 5cd902662b45a16cbbd0b8f5bda79c3f3b6e99fc
4
+ data.tar.gz: 4ef14f6dadba01f33d9cf8c07a83f429d41bf70f
5
5
  SHA512:
6
- metadata.gz: c2e16fa870dc63374a443d9aea4fe51e5e471475773a899f178e3e0590618c925d2348082e6f52f48f5572f560e6e307067c57f0a0124632bd043c44dbd9b455
7
- data.tar.gz: a0834b75490ccc781a940f5dd61e6fe27380b95af68ced11146fac81abfa001fd289669ecebf3635886832a7b566da6582953ad7964ee90a1e12f97e16126af2
6
+ metadata.gz: e0e8108fe20ee8fbb345fef47bcc080aa7dc1c7583748164495a5da7d94b81cb290c8638f4fd16886bc2a31f2b37596ff9f07bd70fa0e0964f11d853dabad292
7
+ data.tar.gz: d6b98d4e9fec385979f863d0abc6a68ec6b3ddf595fa1a1f9b98e4a015422ba5d07fa7aff87b01953429f0e613aef4f7ce7a6265057b7612b18d5cc72f01df60
data/bin/parker CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(File.join(__dir__, '..', 'lib'))
6
6
  require 'parker'
7
7
  require 'parker/version'
8
8
  require 'json'
9
- require 'trollop'
9
+ require 'optimist'
10
10
 
11
11
  trap('SIGINT') do
12
12
  puts 'Cancelled!'
@@ -15,7 +15,7 @@ end
15
15
 
16
16
  source_directory = File.expand_path(File.join('~/', '.config', 'parker'))
17
17
 
18
- Trollop.options do
18
+ Optimist.options do
19
19
  version "parker v#{Parker::VERSION}"
20
20
  banner <<-BANNER
21
21
  A ridiculous tool for organising game screenshots.
@@ -32,7 +32,7 @@ unless Dir.exist?(source_directory)
32
32
  exit
33
33
  end
34
34
 
35
- Trollop.educate if ARGV.empty?
35
+ Optimist.educate if ARGV.empty?
36
36
 
37
37
  platforms = []
38
38
 
@@ -9,7 +9,7 @@ module Parker
9
9
 
10
10
  def initialize(name, source_path, game_data)
11
11
  @name = name || self.class.name.split('::').last
12
- @source_path = source_path
12
+ @source_path = File.expand_path(source_path)
13
13
  @games = {}
14
14
 
15
15
  game_data&.map do |game_identifier, game_name|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parker
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: trollop
14
+ name: optimist
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.1'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.1'
26
+ version: '3.0'
27
27
  description: A ridiculous tool for organising game screenshots.
28
28
  email:
29
29
  - d+parker@waferbaby.com
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.7.6
64
+ rubygems_version: 2.6.14
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: A tool for organising game screenshots