namedstruct 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 9fe60e178034e3e007b82ea296c9f5bf4db96cc1
4
- data.tar.gz: 1f72f3dbb676295a136a192c36f141261f3480f1
3
+ metadata.gz: 71fb8038c392fef83f25d6029c22fd3446309281
4
+ data.tar.gz: 101fea9ca7ace988d8e08986fb0b4fb59e962a27
5
5
  SHA512:
6
- metadata.gz: c1be3021824abb5fa41333e99be44daa257762cb8668fb99f938afbe70c2da7e1dae9e5ae376c852e133592830003bea247e6b3a5fc0926d7f2f869dd309455c
7
- data.tar.gz: 2c8f698aaa0acaa054e935b163621ec28022563ad5ea823b34c71f5ecabf8dc94aa34f018ef786d69224357a37bfd873c85cea198c448cfd57dc949cbd2a90bd
6
+ metadata.gz: 76e129b7c214e088d4e9b93571cf33d14d0bff3ac012229bea84b27f546776b17a0f235ab93b890047b3833ad9432cfb76ee104cd0ba64286d4d880985224831
7
+ data.tar.gz: 82f01fcb3a227540ab0e6cfb721088e67dad6adf26a324f486291a2d6759b6f8ad31c9d06b34801b58e38db48a8b8f6c72a98a5838cacba646dd2140a28d1916
@@ -1,6 +1,4 @@
1
1
  class NamedStruct < Struct
2
- VERSION = "0.2.0"
3
-
4
2
  # Allow initialization via positional arguments.
5
3
  def initialize(**kwargs)
6
4
  kwargs.each{ |k, v|
@@ -0,0 +1,3 @@
1
+ class NamedStruct
2
+ VERSION = "0.2.1"
3
+ end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "namedstruct"
4
+ require "namedstruct/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "namedstruct"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namedstruct
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
  - Paul Kuruvilla
@@ -70,6 +70,7 @@ files:
70
70
  - bin/console
71
71
  - bin/setup
72
72
  - lib/namedstruct.rb
73
+ - lib/namedstruct/version.rb
73
74
  - namedstruct.gemspec
74
75
  homepage: https://github.com/rohitpaulk/named_struct
75
76
  licenses: