struct-initializer 0.1.0 → 0.2.0

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: a7fe016ff5c10888c244f9619fcb1df0db9d88b0bd86d8b8bc040568d9e4d457
4
- data.tar.gz: a143951c7a8b13c25863cb1258c7907f5af20c90bc57a90c6208929463884efd
3
+ metadata.gz: d8e0441fb9f81b6bd8b903e29ba20b216d05aefefdcd460d74505e92f4583589
4
+ data.tar.gz: d892f8b866e6a11825e11c41fb5b2ead791d09eaec3b04c1396d0dd90d504b2f
5
5
  SHA512:
6
- metadata.gz: 85b7019e5a8e0fb88422e7c3bcb67d7f5788f7ae2d403e1c2d7bf30d3d920c973d368e7d1e46e8cd5f1959f2da233b256a73c9fe34cd0d418b2604e1f077d8c4
7
- data.tar.gz: 1429200eb55a06eda679dd7c00fc27d045ddedcb16deda9aba5d50ab3dfcb10152559c7aaa37920275f9211ca4cabae2ef7a87502721fed2a348015127f4db08
6
+ metadata.gz: 5be43ada8f8a68e266d45f5a9dab6d3de213f6c5a78ba0d2b421a522974461edcc24d03be762cddc53b32e96144d8ce094f800bfafbe4b0626fb2859210756bd
7
+ data.tar.gz: 3f38bab472f65f74ff77a3041ba871c690d629de163af5889ec577edc197688b4ad962d1de5f37ae96a979d5ffef6dfcfd88dea1bec08d08fb403830e22a9352
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [Unreleased]
1
+ ## [0.2.0] - 2022-04-19
2
+
3
+ - Rename autoinclude feature to core_ext to clarify how proliferation happens.
4
+
5
+ Switch to `require: "struct/initializer/core_ext"` in the Gemfile to update.
2
6
 
3
7
  ## [0.1.0] - 2022-04-18
4
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- struct-initializer (0.1.0)
4
+ struct-initializer (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -39,15 +39,15 @@ class Greeter
39
39
  end
40
40
  ```
41
41
 
42
- ### Auto-include
42
+ ### Auto-include via Object core extension
43
43
 
44
44
  If you want `struct` available on any object automatically, change the require to:
45
45
 
46
46
  ```ruby
47
- gem "struct-initializer", require: "struct/initializer/autoinclude"
47
+ gem "struct-initializer", require: "struct/initializer/core_ext"
48
48
  ```
49
49
 
50
- This extends `Object` with the `struct` macro, so it's automatically available on any object and `extend Struct::Initializer` from above isn't needed.
50
+ This extends `Object` itself with the `struct` macro, so `extend Struct::Initializer` from above isn't needed.
51
51
 
52
52
  ## Development
53
53
 
@@ -1,3 +1,3 @@
1
1
  module Struct::Initializer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: struct-initializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Timm Hansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest-sprint
@@ -38,7 +38,7 @@ files:
38
38
  - README.md
39
39
  - Rakefile
40
40
  - lib/struct/initializer.rb
41
- - lib/struct/initializer/autoinclude.rb
41
+ - lib/struct/initializer/core_ext.rb
42
42
  - lib/struct/initializer/version.rb
43
43
  - struct-initializer.gemspec
44
44
  homepage: https://github.com/kaspth/struct-initializer