extensionator 0.0.3 → 0.0.4
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
- data/README.md +4 -4
- data/extensionator.gemspec +1 -1
- data/lib/extensionator.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c239837d3f5a12011983a62634050d8941d9a2
|
4
|
+
data.tar.gz: 54be724b1821e6b66ee67534777d96668af2173d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b387fc678c0b97716aa5c5a1e83ea00a76f56408dd2d5e0ae184943c201d465af65b422d78b1a82088f849eab834dd597890772d2dd379218482fb0232063ac
|
7
|
+
data.tar.gz: 381093f6bd27eeac833d0142f680cb7e6796c87dfe51bf630fa82227ac62cf80a249f80c6ded10f1565de9490d20718f056427c4283bbcd0475f874109b043cd
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Package Chrome extensions with Ruby. Inspired by (Loosely based on? Stolen from?) [crxmake](https://github.com/Constellation/crxmake).
|
1
|
+
Package Chrome extensions with Ruby. Inspired by (Loosely based on? Stolen from?) [crxmake](https://github.com/Constellation/crxmake). Use the CLI or the Ruby API.
|
2
2
|
|
3
3
|
# Install
|
4
4
|
|
@@ -6,7 +6,7 @@ Package Chrome extensions with Ruby. Inspired by (Loosely based on? Stolen from?
|
|
6
6
|
gem install extensionator
|
7
7
|
```
|
8
8
|
|
9
|
-
#
|
9
|
+
# What you need
|
10
10
|
|
11
11
|
You need a private key so sign the extension with, and this is a BYOK (bring your own key) library. So first, you need a PEM file. If you have one, cool. If not, do this:
|
12
12
|
|
@@ -16,7 +16,7 @@ openssl genrsa -out key.pem 2048
|
|
16
16
|
|
17
17
|
You'll also need a directory to package up. Extensionator doesn't pay any attention to the contents; it just repackages them. So if you're misssing a `manifest.json` or your files are encoded wrong or whatever, you won't find out until you try to load the packed extension into Chrome.
|
18
18
|
|
19
|
-
|
19
|
+
# Command line
|
20
20
|
|
21
21
|
```
|
22
22
|
extensionator -d directory/with/extension -i key.pem -o output.crx
|
@@ -25,7 +25,7 @@ extensionator -d directory/with/extension -i key.pem -o output.crx
|
|
25
25
|
You can also exclude files with a regex, which will be applied to each level of the path (so if you have `foo/bar/baz.stuff`, we compare the regex to "foo", "foo/bar", and "foo/bar/baz.stuff"):
|
26
26
|
|
27
27
|
```
|
28
|
-
|
28
|
+
extensionator -d directory/with/extension -i key.pem -o output.crx -e "\.md$"
|
29
29
|
```
|
30
30
|
|
31
31
|
# Programmatically
|
data/extensionator.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = %w(isaac@isaaccambron.com)
|
12
12
|
spec.executables = %w(extensionator)
|
13
13
|
spec.files = %w(README.md extensionator.gemspec bin/extensionator) + Dir["lib/**/*.rb"]
|
14
|
-
spec.homepage = "http://
|
14
|
+
spec.homepage = "http://github.com/icambron/extensionator/"
|
15
15
|
spec.licenses = %w(MIT)
|
16
16
|
spec.name = "extensionator"
|
17
17
|
spec.require_paths = %w(lib)
|
data/lib/extensionator.rb
CHANGED
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: 0.0.
|
4
|
+
version: 0.0.4
|
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-05-
|
11
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -64,7 +64,7 @@ files:
|
|
64
64
|
- bin/extensionator
|
65
65
|
- extensionator.gemspec
|
66
66
|
- lib/extensionator.rb
|
67
|
-
homepage: http://
|
67
|
+
homepage: http://github.com/icambron/extensionator/
|
68
68
|
licenses:
|
69
69
|
- MIT
|
70
70
|
metadata: {}
|