win32-shortcut 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +4 -0
- data/README +1 -1
- data/lib/win32/shortcut.rb +2 -2
- data/test/test_shortcut.rb +1 -1
- data/win32-shortcut.gemspec +2 -2
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dc5bdfbbf3bb81ffe2b78b38631fea2849b04d8
|
4
|
+
data.tar.gz: 88b8faf9b7a8f98369b47ad5d35d468e5aa89c5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b46ef894a12890399b5241fed28a7c1fc39a91d214dd9f90176745ab5d3eb03da2c667097c8d2ee720c6b7515169cfb3dfec769037439b0205a24671a123fa
|
7
|
+
data.tar.gz: 780b1175795238afb8beed02d675acbf2144beec31eae4ab42d3a12a2913f1bc9c3e38521d285cbef1ff55ff4af1c0d263356d973e81758edd1da416a38f2ca7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES
CHANGED
data/README
CHANGED
data/lib/win32/shortcut.rb
CHANGED
@@ -5,7 +5,7 @@ module Win32
|
|
5
5
|
# The Shortcut class encapsulates an MS Windows shortcut.
|
6
6
|
class Shortcut
|
7
7
|
# The version of this library
|
8
|
-
VERSION = '0.
|
8
|
+
VERSION = '0.3.0'
|
9
9
|
|
10
10
|
# Activates and displays a window. If the window is minimized or maximized,
|
11
11
|
# the system restores it to its original size and position. An application
|
@@ -57,7 +57,7 @@ module Win32
|
|
57
57
|
# unless the +file+ already exists.
|
58
58
|
#
|
59
59
|
def self.open(file)
|
60
|
-
raise ArgumentError, 'shortcut not found' unless File.
|
60
|
+
raise ArgumentError, 'shortcut not found' unless File.exist?(file)
|
61
61
|
self.new(file)
|
62
62
|
end
|
63
63
|
|
data/test/test_shortcut.rb
CHANGED
data/win32-shortcut.gemspec
CHANGED
@@ -2,9 +2,9 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'win32-shortcut'
|
5
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.3.0'
|
6
6
|
spec.author = 'Daniel J. Berger'
|
7
|
-
spec.license = '
|
7
|
+
spec.license = 'Apache 2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
9
9
|
spec.homepage = 'http://github.com/djberg96/win32-shortcut'
|
10
10
|
spec.summary = 'An interface for creating or modifying Windows shortcuts.'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-shortcut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
|
31
31
|
tGSHgAmcLlkdGgan182qsE/4kKM=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2016-
|
33
|
+
date: 2016-06-19 00:00:00.000000000 Z
|
34
34
|
dependencies: []
|
35
35
|
description: |2
|
36
36
|
The win32-shortcut library provides an interface for creating new
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- win32-shortcut.gemspec
|
61
61
|
homepage: http://github.com/djberg96/win32-shortcut
|
62
62
|
licenses:
|
63
|
-
-
|
63
|
+
- Apache 2.0
|
64
64
|
metadata: {}
|
65
65
|
post_install_message:
|
66
66
|
rdoc_options: []
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
|
-
rubygems_version: 2.4
|
81
|
+
rubygems_version: 2.6.4
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: An interface for creating or modifying Windows shortcuts.
|
metadata.gz.sig
CHANGED
Binary file
|