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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3688cea66b3a68f7f45ecd4b89b632e9e4438ee40ff4f59c57bbe0a68130e7d6
4
- data.tar.gz: 647a570fd024d8938297d2fb4d2ac0123d03befaf0e5d3441627601d86694d8f
3
+ metadata.gz: c61a762bd75b4589ee6d5c8c697807fdb245287c21e0319f9cbd1e0e8585ece2
4
+ data.tar.gz: b661382f73383acbb0ff04e994eddaa2e4fc1123e3a9ba22af021a6459859fa7
5
5
  SHA512:
6
- metadata.gz: ddb2cd1156f3200fcc1bcce2d1a0bf5554f52babd692652debb71a8b56a9dced9c0f76db22884599f475b91d549f915344fcc1ec71a7f28be8dcb87192c968a5
7
- data.tar.gz: ea223714bb2753b3b5dd626711dbffdc328ed326d2218a5ef2d8817ad797de66299d438dbf2ad8a9904ea774e758efd8c6bef47bafe51e391247d32acc92f5ee
6
+ metadata.gz: ac65193f123e330e7765638d018bed072acf74fc02bfb33a1c2adb4fa6aeb99c554cb3c5dde555f91bf59470fbb6b28f8ef85068c2752cc7761b78e3cea3429d
7
+ data.tar.gz: 5c7d8add3b48b6998c63eb09c26375d3327d3666606e0bc63c3b641d2965ff1cbc27248d911189db8d9f9c326e73e6df60733d819d7243956528baf45adcdda0
data/ChangeLog.rdoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = BinData Changelog
2
2
 
3
+ == Version 2.4.13 (2022-10-16)
4
+
5
+ * Relax over-strict parameter naming requirements. Requested by
6
+ vinayak3qilabs.
7
+
3
8
  == Version 2.4.12 (2022-10-03)
4
9
 
5
10
  * Do not include DelayedIO objects when :onlyif is false.
@@ -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) + Kernel.methods
119
+ all_names = LazyEvaluator.instance_methods(true)
120
120
  allowed_names = [:name, :type]
121
121
  invalid_names = (all_names - allowed_names).uniq
122
122
 
@@ -1,3 +1,3 @@
1
1
  module BinData
2
- VERSION = "2.4.12"
2
+ VERSION = "2.4.13"
3
3
  end
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 :eval # i.e. Kernel#eval
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.12
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-03 00:00:00.000000000 Z
11
+ date: 2022-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake