rbnacl 6.0.1 → 7.0.0

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
  SHA256:
3
- metadata.gz: 15129e7babc37c8c428aca4bedbf8e9577d7ddd6b1f0252de1c4c7e83034368b
4
- data.tar.gz: 61a22eaacfd4043a3348db5ed4230745cb8df2d66607a39392e6b9dde0c817fd
3
+ metadata.gz: 18e5a4efebf3a289cd699ebce7b08ad598411c112d15c35e72c1436ca4d93d6f
4
+ data.tar.gz: 0f26ed2371c60ea5a2bda37a31b0a9d501fd9813be84613b002c2d051ad9b97c
5
5
  SHA512:
6
- metadata.gz: c43e06b87c005bc4b3086df982add673eaae4b6554556fd6b47b89bb14e2da1028e804ef62d3617ba311820d1623948bd0875fd273152c52bd64da96452fc67d
7
- data.tar.gz: 7cfaff058fbc58386614e9efe0d62ef47f550f6e571e6c1ff3f887627d36c95e05be295fabc52fea5bd739db21e9249606db8317d8038db3bf0907bd23d9106b
6
+ metadata.gz: 16de9db7bff675c9ffdede714661bcafa19fe5c9998ea8c8eb40e252297578f98eaf095c1672b98a7c08248900001917b2ccb32bc3987728ec9d32fedca4d29b
7
+ data.tar.gz: db529680fbb1b998520754bfee5530d7da2f732c4edfb8407df6284cb423d9816257c26e8a934a07aa8b712dd72e6d211f61d433c4e5b36ee639ecfbe4018ada
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.3
3
3
  DisplayCopNames: true
4
4
  Exclude:
5
5
  - 'vendor/**/*'
@@ -38,13 +38,6 @@ Metrics/PerceivedComplexity:
38
38
  Naming/UncommunicativeMethodParamName:
39
39
  Enabled: false
40
40
 
41
- #
42
- # Performance
43
- #
44
-
45
- Performance/UnfreezeString:
46
- Enabled: false
47
-
48
41
  #
49
42
  # Style
50
43
  #
@@ -12,10 +12,10 @@ before_install:
12
12
 
13
13
  rvm:
14
14
  - jruby-9.1.15.0
15
- - 2.2
16
15
  - 2.3
17
16
  - 2.4
18
17
  - 2.5
18
+ - 2.6
19
19
 
20
20
  matrix:
21
21
  fast_finish: true
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.0.0] (2019-05-23)
2
+
3
+ - Drop support for Ruby 2.2 ([#194])
4
+
1
5
  ## [6.0.1] (2019-01-27)
2
6
 
3
7
  - Add fallback `sodium_constants` for Argon2 ([#189])
@@ -101,6 +105,8 @@
101
105
 
102
106
  - Initial release
103
107
 
108
+ [7.0.0]: https://github.com/crypto-rb/rbnacl/pull/195
109
+ [#194]: https://github.com/crypto-rb/rbnacl/pull/194
104
110
  [6.0.1]: https://github.com/crypto-rb/rbnacl/pull/191
105
111
  [#189]: https://github.com/crypto-rb/rbnacl/pull/189
106
112
  [#186]: https://github.com/crypto-rb/rbnacl/pull/186
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ end
11
11
  group :test do
12
12
  gem "coveralls", require: false
13
13
  gem "rspec"
14
- gem "rubocop", "= 0.60.0"
14
+ gem "rubocop", "= 0.70.0"
15
15
  end
16
16
 
17
17
  group :development, :test do
data/README.md CHANGED
@@ -59,10 +59,10 @@ You can use RbNaCl on platforms libsodium is supported (see below).
59
59
  This library aims to support and is [tested against][travis] the following Ruby
60
60
  versions:
61
61
 
62
- * Ruby 2.2
63
62
  * Ruby 2.3
64
63
  * Ruby 2.4
65
64
  * Ruby 2.5
65
+ * Ruby 2.6
66
66
  * JRuby 9.1
67
67
 
68
68
  If something doesn't work on one of these versions, it's a bug.
@@ -19,7 +19,7 @@ module RbNaCl
19
19
  STANDARD_GROUP_ORDER = 2**252 + 27_742_317_777_372_353_535_851_937_790_883_648_493
20
20
 
21
21
  # Degenerate key (all-zeroes, results in an all-zero shared secret)
22
- DEGENERATE_KEY = ("\0" * 32).freeze
22
+ DEGENERATE_KEY = "\0" * 32
23
23
 
24
24
  include KeyComparator
25
25
  include Serializable
@@ -4,5 +4,5 @@
4
4
  # NaCl/libsodium for Ruby
5
5
  module RbNaCl
6
6
  # The library's version
7
- VERSION = "6.0.1".freeze
7
+ VERSION = "7.0.0"
8
8
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.required_ruby_version = ">= 2.2.6"
24
+ spec.required_ruby_version = ">= 2.3.0"
25
25
 
26
26
  spec.add_runtime_dependency "ffi"
27
27
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  RSpec.describe RbNaCl::Sodium do
2
4
  subject(:sodium_class) do
3
5
  class SodiumExtendedClass
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbnacl
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-01-27 00:00:00.000000000 Z
12
+ date: 2019-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 2.2.6
150
+ version: 2.3.0
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - ">="