ptimelog 0.5.2 → 0.5.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
2
  SHA256:
3
- metadata.gz: 26856a69be691e7f2d891e5c37d67e00701226b8711d57e2fa5092d402a69b4d
4
- data.tar.gz: 16f181319f7a8c6040c02922c0874c4076cde2f496fb2d8517be4d25bf7cc3ee
3
+ metadata.gz: 4683decb77f362d2861b903e30db9dcb330151f7ee43d6ddb3c332d3af4243b2
4
+ data.tar.gz: 23c0c132975613fb3f16c064930e6aa72b49e28fbd7cd9b3636aef6863cbb1e4
5
5
  SHA512:
6
- metadata.gz: f110423cb3c711a5cf87ac286f9c3c65eca0397201d25a0b4c91b2df0cb90c8e964b9f4ad1b3e0f35c6bf04c7bb94811e0a2b52dfad8fa688a9482c811a90966
7
- data.tar.gz: 70ad58620c820a108415988340da09ed23016583a4e3312ea29f8b11fd9e3af0787cbe427086d81e624ae29f4c1cbc6c5bca1b48cb23edf3f5a2d40edcffecbc
6
+ metadata.gz: e24c93aefa5a8ae475013593af737f872bade8f0f02997551bd2fe2cce049e64bd42869fe9648630f1b02191f2f7fc87883b942a9e266492c0fa09227c51b592
7
+ data.tar.gz: 043b2383d127e1aeccb716f8e14e47a365cdc309862c0d1309916ceb1695b194e1cb9aad1e4bc5f63f3b9a95aa3aae55981606018370b03d077a1f5a3d42159a
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module Ptimelog
5
- VERSION = '0.5.2'
5
+ VERSION = '0.5.3'
6
6
  end
data/ptimelog.gemspec CHANGED
@@ -15,7 +15,9 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/kronn/ptimelog'
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(gpuzzletime|(test|spec|features)/)}) }
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{(gpuzzletime|^(test|spec|features)/)})
20
+ end
19
21
  spec.bindir = 'exe'
20
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
23
  spec.require_paths = ['lib']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ptimelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Viehweger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-12 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,7 +112,6 @@ description:
112
112
  email:
113
113
  - kronn@kronn.de
114
114
  executables:
115
- - gpuzzletime
116
115
  - ptimelog
117
116
  extensions: []
118
117
  extra_rdoc_files: []
@@ -131,7 +130,6 @@ files:
131
130
  - Rakefile
132
131
  - bin/console
133
132
  - bin/setup
134
- - exe/gpuzzletime
135
133
  - exe/ptimelog
136
134
  - lib/ptimelog.rb
137
135
  - lib/ptimelog/app.rb
data/exe/gpuzzletime DELETED
@@ -1,53 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'fileutils'
5
- require 'pathname'
6
-
7
- def upgrade_needed?
8
- Pathname.new('~/.config/gpuzzletime').expand_path.exist?
9
- end
10
-
11
- def upgrade_config
12
- FileUtils.mv Pathname.new('~/.config/gpuzzletime').expand_path,
13
- Pathname.new('~/.config/ptimelog').expand_path,
14
- verbose: true
15
- end
16
-
17
- warn <<~MESSAGE
18
-
19
- =========================================================================
20
-
21
- The name of the project has changed. Please use ptimelog from now on.
22
-
23
- =========================================================================
24
-
25
- MESSAGE
26
-
27
- if upgrade_needed?
28
- warn <<~MESSAGE
29
- This script can automatically rename the directory for
30
- configuration and external scripts on your machine.
31
-
32
- MESSAGE
33
-
34
- puts 'Upgrade now? [Yn]'
35
- answer = STDIN.gets.chomp
36
-
37
- if answer.empty? || answer =~ /^y/i
38
- upgrade_config
39
- puts 'Done.'
40
- else
41
- puts 'Okay, leaving everything as it were.'
42
- end
43
- puts
44
- end
45
-
46
- warn <<~MESSAGE
47
- =========================================================================
48
-
49
- No further action has been taken.
50
-
51
- =========================================================================
52
-
53
- MESSAGE