openssl-ccm 0.0.1 → 1.0.0

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: d66abf07f1338dab11b2447f1021d7cdb8c48a00
4
- data.tar.gz: ab8339239f00ab678d22094dc4155f7bafe9374d
3
+ metadata.gz: 99cd161672c23d850707385c401f21e8112d43b5
4
+ data.tar.gz: 44d0f782586d03cd9849037ba82d07edcca004f6
5
5
  SHA512:
6
- metadata.gz: 0edc78d7cef5c7fbcb6023448c9e92413c86d8ff0aa40016f8a5ecbb13a81b4a528121a84e7e88594f7b2161528f80cca77227604968f689e6ec91efef960847
7
- data.tar.gz: de45305879ceb9a473e6f02ba05b548212b7cdfe5bf95bce8e212f07a3583253b256151281c76ddbb514e8970c9d5b4602301be85e5d578dc9846978c5bb2fa7
6
+ metadata.gz: f8bd10043a84337f7f0ab4d90fc83a5deea1874195218f02902b1a2a9f80f2f1baa076ef0c35580c22a20f7ffc94ce5d4e836bc1ecf304280a60f3725d57d797
7
+ data.tar.gz: 088919b7f4ccf982ec30074ac1bcec285d8c0aef3349bc744b6eb3dca7fd5d79213b1dda961f77ce59edb5b54b85aee4050d04504431683a8d3db946d41d0877
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014 SmallLars
3
+ Copyright (c) 2014 Lars Schmertmann
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ require './lib/openssl/ccm/version'
1
2
  require "bundler/gem_tasks"
2
3
  require 'rake/testtask'
3
4
 
@@ -8,24 +9,22 @@ Rake::TestTask.new do |t|
8
9
  t.libs << 'test'
9
10
  end
10
11
 
11
- desc "Uninstall gem"
12
- task (:uninstall) { sh "gem uninstall openssl-ccm" }
13
-
14
- desc "Development Dependencies"
15
- task (:devinst) { sh "gem install --dev ./openssl-ccm-0.0.1.gem" }
12
+ desc "Create documentation"
13
+ task :doc do
14
+ sh "gem rdoc --rdoc openssl-ccm"
15
+ sh "yardoc"
16
+ end
16
17
 
17
- desc "Clean gem"
18
+ desc "Uninstall and clean documentation"
18
19
  task :clean do
19
- begin; sh "rm ./openssl-ccm-*.gem"; rescue; end
20
+ sh "gem uninstall openssl-ccm"
20
21
  begin; sh "rm -R ./.yardoc"; rescue; end
21
22
  begin; sh "rm -R ./doc"; rescue; end
22
23
  end
23
24
 
25
+ desc "Development Dependencies"
26
+ task (:devinst) { sh "gem install --dev ./openssl-ccm-#{OpenSSL::CCM::VERSION}.gem" }
27
+
24
28
  desc "Bundle install"
25
29
  task (:bundle) { sh "bundle install" }
26
30
 
27
- desc "Create documentation"
28
- task :doc do
29
- sh "gem rdoc --rdoc openssl-ccm"
30
- sh "yardoc"
31
- end
@@ -1,7 +1,7 @@
1
1
  require 'openssl'
2
2
 
3
3
  module OpenSSL
4
- # TODO
4
+ # CCMError used for wrong parameter resonse.
5
5
  class CCMError < StandardError
6
6
  end
7
7
 
@@ -0,0 +1,6 @@
1
+ module OpenSSL
2
+ # CCM Version
3
+ class CCM
4
+ VERSION = '1.0.0'
5
+ end
6
+ end
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'openssl-ccm'
2
+ require 'openssl/ccm'
3
3
 
4
4
  # Testclass with Test Vectors from
5
5
  # http://tools.ietf.org/html/rfc3610#section-8
@@ -1,7 +1,7 @@
1
1
  require 'test/unit'
2
- require 'openssl-ccm'
2
+ require 'openssl/ccm'
3
3
 
4
- # Testclass
4
+ # Additional tests
5
5
  class CCMFilesTest < Test::Unit::TestCase
6
6
  KEY = %W(
7
7
  00000000000000000000000000000000
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl-ccm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Schmertmann
@@ -71,7 +71,8 @@ dependencies:
71
71
  - !ruby/object:Gem::Version
72
72
  version: 0.18.1
73
73
  description: Ruby Gem for RFC 3610 - Counter with CBC-MAC (CCM)
74
- email: SmallLars@t-online.de
74
+ email:
75
+ - SmallLars@t-online.de
75
76
  executables: []
76
77
  extensions: []
77
78
  extra_rdoc_files:
@@ -82,7 +83,8 @@ files:
82
83
  - LICENSE
83
84
  - README.md
84
85
  - Rakefile
85
- - lib/openssl-ccm.rb
86
+ - lib/openssl/ccm.rb
87
+ - lib/openssl/ccm/version.rb
86
88
  - test/data_1
87
89
  - test/data_1-1_e
88
90
  - test/data_1-2_e