crx_appid 0.0.1 → 0.0.2

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: 6e340108a5258191e519a3420118e8414c14a1d3
4
- data.tar.gz: 6148e5347e335d13d6b37a980c57d03b6a66a49d
3
+ metadata.gz: 32cda6e82a68f8cfd8567829183718bb2099f07f
4
+ data.tar.gz: 2ef2ec1f21e57fb806e25141a9fe7c105bc39a6f
5
5
  SHA512:
6
- metadata.gz: 0ec64030c870125d1e11d7359bf9645a7f01decbbe554607b16d7167f5ea07913aca4c827de8c50a7429f32ca1b8032ad1bdde6f0d61e03bf2868b9089d6aef5
7
- data.tar.gz: bd9def4c560c157f14a65ed1854261e009bf9b434e68d72a88cfa416a93a5aaab3555602f89ec2520c04bd52ebf542dced2f21ad8ecb03fe258b88dc32bb59ab
6
+ metadata.gz: c7fd80ef1744e3e7fbe4c9638475ba93fbeb1e4d15121a1eff12ec403c9b91280d135e9a355bbd3807575c57b799f49f4aec0f72aceb42997a26afa41759a32c
7
+ data.tar.gz: 768c887e09e6940b63c97bc3830289e8ac503e96343e6bac34b73c3beae4d415c3051571162f09bf277cea29d97373a7836d103ec3735c9630b4ea9a6b970e1b
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
@@ -0,0 +1,9 @@
1
+ ## 0.0.2
2
+
3
+ * Add `bin/crx_appid` script
4
+
5
+ ## 0.0.1
6
+
7
+ * Initial release
8
+ * 4 public methods `CrxAppid#calculate`, `CrxAppid#calculate_from_file`, `CrxAppid.calculate`, `CrxAppid.calculate_from_file` implemented
9
+ * Add rspec test
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # CrxAppid
2
2
 
3
+ [![Build Status](https://travis-ci.org/kyanny/crx_appid.png)](https://travis-ci.org/kyanny/crx_appid)
4
+
3
5
  Calculate Chrome extension appid from pem
4
6
 
5
7
  ## Installation
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require 'crx_appid'
3
+
4
+ pem = ARGV.shift
5
+ unless pem
6
+ puts <<USAGE
7
+ Usage: #{File.basename($0)} extension.pem
8
+
9
+ USAGE
10
+ exit!
11
+ end
12
+
13
+ puts CrxAppid.calculate_from_file(pem)
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
+ spec.executables = %w(crx_appid)
20
21
 
21
22
  spec.add_development_dependency "bundler", "~> 1.3"
22
23
  spec.add_development_dependency "rake"
@@ -1,3 +1,3 @@
1
1
  class CrxAppid
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crx_appid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kensuke Nagae
@@ -55,15 +55,19 @@ dependencies:
55
55
  description: Calculate Chrome extension appid from pem
56
56
  email:
57
57
  - kyanny@gmail.com
58
- executables: []
58
+ executables:
59
+ - crx_appid
59
60
  extensions: []
60
61
  extra_rdoc_files: []
61
62
  files:
62
63
  - .gitignore
64
+ - .travis.yml
65
+ - CHANGELOG.md
63
66
  - Gemfile
64
67
  - LICENSE.txt
65
68
  - README.md
66
69
  - Rakefile
70
+ - bin/crx_appid
67
71
  - crx_appid.gemspec
68
72
  - lib/crx_appid.rb
69
73
  - lib/crx_appid/version.rb