extensionator 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/extensionator +1 -1
- data/lib/extensionator.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a22eec1dab83496d1e50ee437c061d87330f6b
|
4
|
+
data.tar.gz: 4abaf7a0a148b4b321ed75ee5f7abc466b930011
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84db3cfaa4567b8772f429ca5788ee1170cf9d12254e0dee7fd4a337bb133551287159e31856fc4bbb4aa3985181c07a7cdb0b5373fc3256d49f2bcc239e6f55
|
7
|
+
data.tar.gz: 4e943aacfde8127429399cc36eac94fd276217067a8264cdc967b6e12870c1fa12a114dd5d9ec41ce03b851028ab2d541ee6933697daa3ac0042036b3bd87812
|
data/README.md
CHANGED
@@ -36,7 +36,7 @@ usage: /Users/isaac/.gem/ruby/2.1.5/bin/extensionator [options]
|
|
36
36
|
-d, --directory Directory containing the extension. (Default: .)
|
37
37
|
-i, --identity Location of the pem file to sign with. (Required)
|
38
38
|
-o, --output Location of the output file. (Default: 'extension.crx')
|
39
|
-
-e, --exclude Regular expression for filenames to exclude. (Default:
|
39
|
+
-e, --exclude Regular expression for filenames to exclude. (Default: \.crx$)
|
40
40
|
-v, --version Extensionator version info.
|
41
41
|
-h, --help Print this message.
|
42
42
|
```
|
data/bin/extensionator
CHANGED
@@ -12,7 +12,7 @@ opts = Slop.parse do |o|
|
|
12
12
|
o.string "-d", "--directory", "Directory containing the extension. (Default: .)", default: "."
|
13
13
|
o.string "-i", "--identity", "Location of the pem file to sign with. (Required)"
|
14
14
|
o.string "-o", "--output", "Location of the output file. (Default: 'extension.crx')", default: "extension.crx"
|
15
|
-
o.string "-e", "--exclude", "Regular expression for filenames to exclude. (Default:
|
15
|
+
o.string "-e", "--exclude", "Regular expression for filenames to exclude. (Default: \.crx$)", default: nil
|
16
16
|
o.on "-v", "--version", "Extensionator version info." do
|
17
17
|
puts Extensionator::VERSION
|
18
18
|
exit
|
data/lib/extensionator.rb
CHANGED
@@ -5,7 +5,7 @@ require "pathname"
|
|
5
5
|
require "zip"
|
6
6
|
|
7
7
|
module Extensionator
|
8
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.8"
|
9
9
|
|
10
10
|
module Impl
|
11
11
|
def self.create(dir, key_file, dest_filename, opts)
|
@@ -65,7 +65,7 @@ module Extensionator
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
def self.create(dir, key_file, dest_filename, opts = {exclude:
|
68
|
+
def self.create(dir, key_file, dest_filename, opts = {exclude: /\.crx$/})
|
69
69
|
Impl.create(dir, key_file, dest_filename, opts)
|
70
70
|
end
|
71
71
|
end
|