simple-immutable 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/simple/immutable.rb +4 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee7113a903d3124b8d4c64499cc3dcd3ae296d6d4b45c6178b5205c3baae8675
4
- data.tar.gz: 722814d2e633c8a7ea57c71b5add682ee62f46bffc113ad2047bc1b281dc9516
3
+ metadata.gz: 64a3fdc5e88962936613bf54a490e1b04342d083a5be7818045036c607fbb5fd
4
+ data.tar.gz: 6bb051df21c2809e9ee3596d5f9cb571111032876c3480e07691a0fb44ad610c
5
5
  SHA512:
6
- metadata.gz: a6328926689c3ded5d5e6a3ae4f24b0fcc73663ef0d2aec26019c0ec6fc705c8f7da903fcb9aba8a917c75884b3299f603d3f521af95bf5cd4b7d7dd6f8c2c0c
7
- data.tar.gz: adae1e19d19f7ce6a4c152b6137d27689c679d11ca91150bf04fd49115f8ba67ec080f1f2ba965e2e8111a08ce6ef3b58b4ef7bdefbb9730adadd63a6ff434b2
6
+ metadata.gz: 4dc8c01c9763ddb8ed545cb3a45357c2de743f83e9cc002e5cc52329bf2909e8de4ee38255bebd6a87e09f811d20244c16fff49d63b2e40f53b9ef73faf33639
7
+ data.tar.gz: fc24b0ce11427a6fece8911e9fa1021ab5bfb5b1edd63b1ac699cd1866c3919903d97f04652bbd432b8b645e08a3cc674fddf1c3e02fc55263ac0761b2a5ccbd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -41,16 +41,16 @@ class Simple::Immutable
41
41
 
42
42
  public
43
43
 
44
+ def inspect
45
+ "<#{self.class.name}: #{@hsh.inspect}>"
46
+ end
47
+
44
48
  def respond_to_missing?(method_name, include_private = false)
45
49
  @hsh.key?(method_name.to_sym) ||
46
50
  @hsh.key?(method_name.to_s) ||
47
51
  super
48
52
  end
49
53
 
50
- def inspect
51
- "<Immutable: #{@hsh.inspect}>"
52
- end
53
-
54
54
  def respond_to?(sym)
55
55
  super || @hsh.key?(sym.to_s) || @hsh.key?(sym.to_sym)
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-immutable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel