extensionator 1.1.7 → 1.1.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 +5 -4
- data/lib/extensionator/cli.rb +2 -2
- data/lib/extensionator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6398643eef67b3ae608eb7df7af5b700a72c9cd2
|
4
|
+
data.tar.gz: ad1ee1c306574422739ad20b161c56968fa6696b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c25dfd3ae1c80318160fd9430b3a4a4182b6b352ebcffa4ea00ed5e4934fedf27720c12e276ef306e424e3edb7c67877ef90d060b34d3dd5249924d4583faa4
|
7
|
+
data.tar.gz: 02c8246fed830b95991981369e65ec9707c4c816338bfe4e4efa6649f15a07e352b3aa3b0bde5bb860dcf511dede15f8debefd9bbe649c0752f2f2b07a3a1159
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Useful options!
|
|
35
35
|
|
36
36
|
* `-e` `--exclude`. Specify a regex of things to exclude. Matches on the whole path. `-e "\.md$"`
|
37
37
|
|
38
|
-
* `-f` `--format`. "zip" or "crx". Zip is what the Chrome store has you upload, since it does its own signing. You won't need the `-i` option unless you do something weird with the other options. Dir is useful for using the inject_key option with.
|
38
|
+
* `-f` `--format`. "zip", "dir" or "crx". Zip is what the Chrome store has you upload, since it does its own signing. You won't need the `-i` option unless you do something weird with the other options. Dir is useful for using the inject_key option with.
|
39
39
|
|
40
40
|
* `--inject-key`. If you have an extension in the store, you know you can't have a "key" property in your manifest file. But if you do local unpacked development and want to keep your extension ID the same, you need that property in there. This is because Google hates you and wants to make your life hard. Fortunately, Extensionator can take your pem file, generate the public key, and put it in the manifest file before writing the extension. Yay!
|
41
41
|
|
@@ -50,12 +50,13 @@ Here's the whole shebang:
|
|
50
50
|
usage: bin/extensionator [options]
|
51
51
|
-d, --directory Directory containing the extension. (Default: .)
|
52
52
|
-i, --identity Location of the pem file to sign with.
|
53
|
-
-o, --output Location of the output file. (Default: '
|
53
|
+
-o, --output Location of the output file. (Default: 'output[.zip|.crx|]')
|
54
54
|
-e, --exclude Regular expression for filenames to exclude. (Default: .crx$)
|
55
|
-
-f, --format Type of file to produce, either zip,
|
55
|
+
-f, --format Type of file to produce, either 'zip', 'dir' or 'crx'. (Default: crx)
|
56
56
|
--inject-version Inject a version number into the manifest file. (Default: none)
|
57
57
|
--inject-key Inject a key parameter into the manifest file. (Default: no)
|
58
|
-
--
|
58
|
+
--strip-key Remove the key parameter from the manifest file. (Default: no)
|
59
|
+
--skip-validation Don't try to validate this extension. Currently just checks that the manifest is parsable.
|
59
60
|
-v, --version Extensionator version info.
|
60
61
|
-h, --help Print this message.
|
61
62
|
```
|
data/lib/extensionator/cli.rb
CHANGED
@@ -26,9 +26,9 @@ module Extensionator
|
|
26
26
|
Slop.parse do |o|
|
27
27
|
o.string "-d", "--directory", "Directory containing the extension. (Default: .)"
|
28
28
|
o.string "-i", "--identity", "Location of the pem file to sign with."
|
29
|
-
o.string "-o", "--output", "Location of the output file. (Default: '
|
29
|
+
o.string "-o", "--output", "Location of the output file. (Default: 'output[.zip|.crx|]')"
|
30
30
|
o.string "-e", "--exclude", "Regular expression for filenames to exclude. (Default: \.crx$)"
|
31
|
-
o.string "-f", "--format", "Type of file to produce, either zip or crx. (Default: crx)"
|
31
|
+
o.string "-f", "--format", "Type of file to produce, either 'zip', 'dir' or 'crx'. (Default: crx)"
|
32
32
|
o.string "--inject-version", "Inject a version number into the manifest file. (Default: none)"
|
33
33
|
o.bool "--inject-key", "Inject a key parameter into the manifest file. (Default: no)"
|
34
34
|
o.bool "--strip-key", "Remove the key parameter from the manifest file. (Default: no)"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extensionator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Cambron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|