literal 0.2.0 → 0.2.1

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: 6ab1d4d21286c3cc2a094362e0f1f6a94856738c7ba9a93d285607bb57ce49b5
4
- data.tar.gz: 27c2f4fe6ecbb00fcaeb5faf5b4d13849c3ef8dcc6eec817775f55648fac4847
3
+ metadata.gz: e6311063a2b1bdfdd56033d0e740020927e58e4488405804c2f3e97ca9aad22b
4
+ data.tar.gz: fa4abc6e6c791b36a22b28c2b5b47ea0e7bd6d8f6e57b81f6b4104260989f836
5
5
  SHA512:
6
- metadata.gz: ef894ddc2c2ee8ca82175d3f833ca0a05f479adf164766c681c4bc165a21840f8431da8c4ee6d4d971b10bf4f37427af40914795f2bdd14855927f818633abb7
7
- data.tar.gz: 806aa654d1670c8842dae039c4e0845dbd1ea304bfabb634aefc0ea79b380889d8e249b3348274d11cc7ac01b173e3c9b468d13d4c44f321ceaa8ac83d5b11ec
6
+ metadata.gz: 3b1dd9ad76a1552039a277b597c24b4e5ebf04d0edac5b86ae138d4d0e98b02bb6fc8e3ffc5fec63cc9d5d233c9865a90f0c29ad0a87cac2083b5a150a0e3ea4
7
+ data.tar.gz: 9162543b6590028e0118d9c0e52f7d1eb58122db513c76b3ea7eff3d722df811b4227c8b32d01fe471861029a352ce85c366a32778ccccb0aaff988d5647959f
data/lib/literal/enum.rb CHANGED
@@ -76,9 +76,9 @@ class Literal::Enum
76
76
  end
77
77
  end
78
78
 
79
- def new(*, **, &block)
79
+ def new(*args, **kwargs, &block)
80
80
  raise ArgumentError if frozen?
81
- new_object = super(*, **, &nil)
81
+ new_object = super(*args, **kwargs, &nil)
82
82
 
83
83
  if block
84
84
  new_object.instance_exec(&block)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Literal
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: literal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Drapper
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '3.2'
87
+ version: '3.1'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="