bindata 2.4.12 → 2.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.rdoc +5 -0
- data/lib/bindata/params.rb +1 -1
- data/lib/bindata/version.rb +1 -1
- data/test/params_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c61a762bd75b4589ee6d5c8c697807fdb245287c21e0319f9cbd1e0e8585ece2
|
4
|
+
data.tar.gz: b661382f73383acbb0ff04e994eddaa2e4fc1123e3a9ba22af021a6459859fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac65193f123e330e7765638d018bed072acf74fc02bfb33a1c2adb4fa6aeb99c554cb3c5dde555f91bf59470fbb6b28f8ef85068c2752cc7761b78e3cea3429d
|
7
|
+
data.tar.gz: 5c7d8add3b48b6998c63eb09c26375d3327d3666606e0bc63c3b641d2965ff1cbc27248d911189db8d9f9c326e73e6df60733d819d7243956528baf45adcdda0
|
data/ChangeLog.rdoc
CHANGED
data/lib/bindata/params.rb
CHANGED
@@ -116,7 +116,7 @@ module BinData
|
|
116
116
|
|
117
117
|
def self.invalid_parameter_names
|
118
118
|
@invalid_names ||= begin
|
119
|
-
all_names = LazyEvaluator.instance_methods(true)
|
119
|
+
all_names = LazyEvaluator.instance_methods(true)
|
120
120
|
allowed_names = [:name, :type]
|
121
121
|
invalid_names = (all_names - allowed_names).uniq
|
122
122
|
|
data/lib/bindata/version.rb
CHANGED
data/test/params_test.rb
CHANGED
@@ -7,7 +7,7 @@ describe BinData::Base, "parameters" do
|
|
7
7
|
it "fails when parameter name is invalid" do
|
8
8
|
lambda {
|
9
9
|
class InvalidParameterNameBase < BinData::Base
|
10
|
-
optional_parameter :
|
10
|
+
optional_parameter :lazy_eval # from LazyEvaluator
|
11
11
|
end
|
12
12
|
}.must_raise NameError
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bindata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dion Mendel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|