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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42a04fbc3eed08626aabe52ce9ef6983c638e2d3
4
- data.tar.gz: ecdf117e02ad8e8d10e3e178974ad141b39893c9
3
+ metadata.gz: b2c239837d3f5a12011983a62634050d8941d9a2
4
+ data.tar.gz: 54be724b1821e6b66ee67534777d96668af2173d
5
5
  SHA512:
6
- metadata.gz: 414cd8b206239179bc03a3fa7ad0e1013ad50aab8e4261b46ce22c5ff866e7e6870deafbcd1ed27f07fae174558f2fd3778fbff83e01fcb6bc2e475cbeecdb09
7
- data.tar.gz: 0612aabc13aba0c5f2da36143240562b31da4e2d9edec8327994f0e0475484ae723cdb61049ec8bd24336337ecd9f8d556aadb48fcf3932a9847c4befe44e382
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
- # Use
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
- OK, ready:
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
- extensiotor -d directory/with/extension -i key.pem -o output.crx -e "\.md$"
28
+ extensionator -d directory/with/extension -i key.pem -o output.crx -e "\.md$"
29
29
  ```
30
30
 
31
31
  # Programmatically
@@ -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://icambron.github.com/extensionator/"
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)
@@ -5,7 +5,7 @@ require "pathname"
5
5
  require "zip"
6
6
 
7
7
  module Extensionator
8
- VERSION = "0.0.3"
8
+ VERSION = "0.0.4"
9
9
 
10
10
  def self.create(dir, key_file, dest_filename, opts = {})
11
11
  priv_key = read_key(key_file)
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.3
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-09 00:00:00.000000000 Z
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://icambron.github.com/extensionator/
67
+ homepage: http://github.com/icambron/extensionator/
68
68
  licenses:
69
69
  - MIT
70
70
  metadata: {}