extensionator 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6398643eef67b3ae608eb7df7af5b700a72c9cd2
4
- data.tar.gz: ad1ee1c306574422739ad20b161c56968fa6696b
3
+ metadata.gz: 3465bf84737aec8ee256c984d31ecbd506bad021
4
+ data.tar.gz: 5b1f5de517249811aaaf94d5daf4a05a2038595d
5
5
  SHA512:
6
- metadata.gz: 3c25dfd3ae1c80318160fd9430b3a4a4182b6b352ebcffa4ea00ed5e4934fedf27720c12e276ef306e424e3edb7c67877ef90d060b34d3dd5249924d4583faa4
7
- data.tar.gz: 02c8246fed830b95991981369e65ec9707c4c816338bfe4e4efa6649f15a07e352b3aa3b0bde5bb860dcf511dede15f8debefd9bbe649c0752f2f2b07a3a1159
6
+ metadata.gz: 5721be13b528ffa95347df4463820e417c4ff5a36a4e360c00b6470a2fd37288585ad1b3d4c55ee4a91b8f395067f9eddeeafe740607359082fd2380eb81e4b3
7
+ data.tar.gz: a7fd5c02e7aae984a94a36faaca0cfbc7d826fde7ecffedfdc8cdd812a7820960bedabba1d9ce29bb30b3e1457eb3bdbaf20cd0ff626a56530a80cf27ec624ec
data/README.md CHANGED
@@ -15,20 +15,20 @@ Package Chrome extensions. Zip files or CRXs. Some convenience options. Use the
15
15
  gem install extensionator
16
16
  ```
17
17
 
18
- ## Keys
18
+ ## Identity
19
19
 
20
20
  If you plan on generating a CRX (as opposed to just a zip file to upload somewhere), 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:
21
21
 
22
22
  ```
23
- openssl genrsa -out key.pem 2048
23
+ openssl genrsa -out identity.pem 2048
24
24
  ```
25
25
 
26
- That's the file you'll use as `key.pem` below.
26
+ That's the file you'll use as `identity.pem` below.
27
27
 
28
28
  ## Command line
29
29
 
30
30
  ```
31
- extensionator -d directory/with/extension -i key.pem -o output.crx
31
+ extensionator -d directory/with/extension -i identity.pem -o output.crx
32
32
  ```
33
33
 
34
34
  Useful options!
@@ -46,8 +46,8 @@ Useful options!
46
46
  Here's the whole shebang:
47
47
 
48
48
  ```
49
- -> bin/extensionator
50
- usage: bin/extensionator [options]
49
+ -> extensionator
50
+ usage: /Users/isaac/.gem/ruby/2.2.4/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
53
  -o, --output Location of the output file. (Default: 'output[.zip|.crx|]')
@@ -63,11 +63,11 @@ usage: bin/extensionator [options]
63
63
 
64
64
  ## Programmatically
65
65
 
66
- Same as above, but:
66
+ Create a CRX:
67
67
 
68
68
  ```rb
69
69
  require "extensionator"
70
- Extensionator.crx("directory/with/extension", "key.pem", "output_file.crx")
70
+ Extensionator.crx("directory/with/extension", "identity.pem", "output_file.crx")
71
71
  ```
72
72
 
73
73
  Or to create a zip:
@@ -85,10 +85,13 @@ Extensionator.dir("directory/with/extension", "output_dir")
85
85
  Options go at the end of any method call, and just look just like the CLI ones, but as Ruby symbols:
86
86
 
87
87
  ```rb
88
- Extensionator.crx("dir", "key.pem", "output.crx", inject_version: "4.5.1",
89
- strip_key: true,
90
- inject_key: true,
91
- exclude: /\.md$/)
88
+ Extensionator.crx("dir",
89
+ "identity.pem",
90
+ "output.crx",
91
+ inject_version: "4.5.1",
92
+ strip_key: true,
93
+ inject_key: true,
94
+ exclude: /\.md$/)
92
95
  ```
93
96
 
94
97
  ## License
@@ -110,7 +113,7 @@ Copyright 2015 Zensight. Distributed under the MIT License. See the [LICENSE][]
110
113
  [travis-url]: http://travis-ci.org/Zensight/extensionator
111
114
  [travis-image]: http://img.shields.io/travis/Zensight/extensionator.svg?style=flat-square
112
115
 
113
- [gemnasium-url]: https://gemnasium.com/zensight/extensionator
116
+ [gemnasium-url]: https://gemnasium.com/Zensight/extensionator
114
117
  [gemnasium-image]: https://img.shields.io/gemnasium/Zensight/extensionator.svg?style=flat-square
115
118
 
116
119
  [crxmake-url]: https://github.com/Constellation/crxmake
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.add_development_dependency "bundler", "~> 1.1"
6
- spec.add_runtime_dependency "rubyzip", "1.1.7"
6
+ spec.add_runtime_dependency "rubyzip", "1.2.0"
7
7
  spec.add_runtime_dependency "slop", "~> 4.2"
8
8
  spec.authors = ["Isaac Cambron"]
9
9
  spec.description = "A tool for packaging Chrome extensions"
@@ -1,3 +1,3 @@
1
1
  module Extensionator
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
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.8
4
+ version: 1.1.9
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-12-27 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.7
33
+ version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.1.7
40
+ version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: slop
43
43
  requirement: !ruby/object:Gem::Requirement