smart_init 2.0.1 → 2.0.2

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: 9ab5deee00708b0ca7625f00522f8dc54550b056
4
- data.tar.gz: 6b1ffe7c24ddaf160c5e4b6f41ae9d2a3dc9e00e
3
+ metadata.gz: 231d6827b8847a42b8e348879e32c2bbf064047c
4
+ data.tar.gz: b5fb2b394d6ce49f1a48377dd15e3d0a0f44e9d2
5
5
  SHA512:
6
- metadata.gz: 9fd40c304efd05b049d7c3c9e3467f8ca7bd7e9ff8ebdd18d1594a47287cee58b60dfc83bf8742bb2f7b2f3d3127a599c51761991460eb1e855ee9d00f0b173e
7
- data.tar.gz: c08535ee1e23d0dfe16a3060db29aabd9b60ab17985bd59c1fdffb33f48056c413b0c6bfd434cf1a21dc6318e9cb11d6ffb7f6bed387d51e5f1504e133734982
6
+ metadata.gz: 823d656808f1555613886de78ba6b6b455163ed981ffcaf730fe550b365d9d12d3a50c0bb36a158a9664fe54e5ef0c640471c4e9c677c5934a97cd4bfec88817
7
+ data.tar.gz: 679cfee187a6f25dccad66379ed0fe9289f6df84f65c2ad1a7e1d2849f1a0da8fde36ebcb1ad4e67bddd0dc767917f1c7d11267139d090415c6ef932a890aea4
data/README.md CHANGED
@@ -29,7 +29,7 @@ You can use it either by extending a module:
29
29
  class ApiClient
30
30
  extend SmartInit
31
31
 
32
- initialize_with :network_provider, :api_token
32
+ initialize_with :network_provider, api_token: "default_token"
33
33
  end
34
34
 
35
35
  ```
@@ -38,7 +38,7 @@ or subclassing:
38
38
 
39
39
  ```ruby
40
40
  class ApiClient < SmartInit::Base
41
- initialize_with :network_provider, :api_token
41
+ initialize_with :network_provider, api_token: "default_token"
42
42
  end
43
43
 
44
44
  ```
@@ -1,3 +1,3 @@
1
1
  module SmartInit
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
@@ -1,5 +1,4 @@
1
1
  require "test/unit"
2
- require "byebug"
3
2
  require_relative '../lib/smart_init/main'
4
3
 
5
4
  class TestKeywords
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_init
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb