vbsmin 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5287c73f83b71d796970674d1cff47e597adb4eb0f887fc5e6517ee88c6bbb99
4
- data.tar.gz: '08a76e956672c10784573eb8b6a52181975d2aa11bb42db3b9736e5f3eba9d6e'
3
+ metadata.gz: 9e8e7350032f3bbf7c2d88ed4068a185277c2b68be08bd272051100020d9becb
4
+ data.tar.gz: 0e82a68c2926e7cca422e9fad53668ab8657de5ea5b81040f8b7d1ff3529503e
5
5
  SHA512:
6
- metadata.gz: 9ca72090f727a1c04fdb6367328fd17689ae131486d1bc0495ec4c947f18bc551f2a9963fb37b1bcff92a7a1cb7e7287b9014c08457e3e1fd44ac1b34347e7f9
7
- data.tar.gz: 4788c18d59ec9216e892a61b3ef44d8b49149b85e5bc3c645a98c40816f928bd17de8a928122d4be9e09f14e185d7aa3fff9431794a604e8a1307a8adff1cca6
6
+ metadata.gz: 1f4cc1b6f8359c811a2105dfdfede07007ff0ce37957eae76db5c078e299d298bc2aa69901ff48d14f0161f1fe1a91653a0e540c6fa6bd2ec97e6f1cbe3bf38c
7
+ data.tar.gz: dd0e914d12c653574a770495a3ed5a2ea235cf14bd6307190eb2f571324d01ed850a59296db3ca3b6a41d18a5dfa56a36b1ed3754e860ed1c3ccbd642ee06669
data/bin/vbsmin CHANGED
@@ -2,7 +2,6 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # Ruby internal
5
- require 'pp'
6
5
  # Project internal
7
6
  require 'vbsmin'
8
7
  # External
@@ -31,7 +30,7 @@ DOCOPT
31
30
  begin
32
31
  args = Docopt.docopt(doc, version: VBSMin::VERSION)
33
32
  Paint.mode = 0 if args['--no-color']
34
- pp args if args['--debug']
33
+ puts args if args['--debug']
35
34
  # use case 1, using the tool
36
35
  if args['<filepath>']
37
36
  vm = VBSMin.new
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Version
4
- VERSION = '1.1.0'
3
+ class VBSMin
4
+ VERSION = '1.2.0'
5
5
  end
data/lib/vbsmin.rb CHANGED
@@ -7,9 +7,6 @@ require 'vbsmin/version'
7
7
 
8
8
  # Global VBSmin class
9
9
  class VBSMin
10
- # Constants
11
- include Version
12
-
13
10
  # @return [Integer] Size (in bytes) of the original file
14
11
  attr_reader :input_size
15
12
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vbsmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre ZANNI
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: docopt
@@ -59,8 +58,8 @@ metadata:
59
58
  documentation_uri: https://noraj.github.io/vbsmin/
60
59
  homepage_uri: https://noraj.github.io/vbsmin/
61
60
  source_code_uri: https://github.com/noraj/vbsmin/
61
+ funding_uri: https://github.com/sponsors/noraj
62
62
  rubygems_mfa_required: 'true'
63
- post_install_message:
64
63
  rdoc_options: []
65
64
  require_paths:
66
65
  - lib
@@ -68,18 +67,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
67
  requirements:
69
68
  - - ">="
70
69
  - !ruby/object:Gem::Version
71
- version: 2.7.0
70
+ version: 3.2.0
72
71
  - - "<"
73
72
  - !ruby/object:Gem::Version
74
- version: '3.2'
73
+ version: '5.0'
75
74
  required_rubygems_version: !ruby/object:Gem::Requirement
76
75
  requirements:
77
76
  - - ">="
78
77
  - !ruby/object:Gem::Version
79
78
  version: '0'
80
79
  requirements: []
81
- rubygems_version: 3.3.3
82
- signing_key:
80
+ rubygems_version: 4.0.3
83
81
  specification_version: 4
84
82
  summary: VBScript minifier
85
83
  test_files: []