value_semantics 3.0.0 → 3.0.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: 1b538b4f5ab14c310ffdbc26ccb92cb9b47806126d0bc77ef466e2d9e7d64fcb
4
- data.tar.gz: 85a0542f08c4a832b21acf75a697f999b7eae42f6a8989ae8c1d17838b76fd8a
3
+ metadata.gz: 3f845f722bb8928d4f16aa9ea89942c69ea5ad3cb42d87dfaa4b7969c9cb88a2
4
+ data.tar.gz: dc6a772c529849b5e4928ae5f50b3d8cdc38a5e9700a32a2e8920115eaa2e93a
5
5
  SHA512:
6
- metadata.gz: 3f869be70a14418aa6247cca5222e53aed3bc7d4b506f1231e4f010b382cd962d08558a92506b47817600acca04d0f5cad1c4f9375ca6c249042ada9ea709fb3
7
- data.tar.gz: 3c26016b77c88eb8ae851dadaf2853eb0792beb68a8dfb2961dca77d2b98414e6ba4f31ba0141a23544fb18dfcc73425cc9f1737df6539933e1b815a6037f564
6
+ metadata.gz: 8f3303f40479363e698b7df06b2e0284813cae0080cd0bdb9e27508d93f1baedadc35116f7c6058c789c3cb1de8bd8ae880aadfdb7c719f54edc01735b6ea87a
7
+ data.tar.gz: 3c4a07fab7ddab35fb127d29aa9c0eb17ef396c68f6d2e9a784218f6af7b356014280ecdb399a0f77a0575f4a9ceed0314676da99d29bf654ded719f72ed55c1
data/README.md CHANGED
@@ -5,15 +5,15 @@
5
5
  ValueSemantics
6
6
  ==============
7
7
 
8
- Create value classes quickly, with all the [conventions of a good value object](https://github.com/zverok/good-value-object).
8
+ A gem for making value classes.
9
9
 
10
- Generates modules that provide value semantics for a given set of attributes.
11
- Provides the behaviour of an immutable struct-like value class,
12
- with light-weight validation and coercion.
10
+ Generates modules that provide [conventional value semantics](https://github.com/zverok/good-value-object) for a given set of attributes.
11
+ The behaviour is similar to an immutable `Struct` class,
12
+ plus extensible, lightweight validation and coercion.
13
13
 
14
14
  These are intended for internal use, as opposed to validating user input like ActiveRecord.
15
- Invalid or missing attributes cause an exception intended for developers,
16
- not an error message intended for the user.
15
+ Invalid or missing attributes cause an exception for developers,
16
+ not an error message intended for application users.
17
17
 
18
18
 
19
19
  Defining and Creating Value Objects
@@ -321,6 +321,7 @@ Or install it yourself as:
321
321
  Bug reports and pull requests are welcome on GitHub at:
322
322
  https://github.com/tomdalling/value_semantics
323
323
 
324
+ Keep in mind that this gem aims to be as close to 100% backwards compatible as possible.
324
325
 
325
326
  ## License
326
327
 
@@ -1,3 +1,3 @@
1
1
  module ValueSemantics
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
@@ -9,13 +9,11 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Tom Dalling"]
10
10
  spec.email = [["tom", "@", "tomdalling.com"].join]
11
11
 
12
- spec.summary = %q{Create value classes quickly, with all the proper conventions.}
12
+ spec.summary = %q{Makes value classes, with lightweight validation and coercion.}
13
13
  spec.description = %q{
14
- Create value classes quickly, with all the proper conventions.
15
-
16
- Generates modules that provide value semantics for a given set of attributes.
17
- Provides the behaviour of an immutable struct-like value class,
18
- with light-weight validation and coercion.
14
+ Generates modules that provide conventional value semantics for a given set of attributes.
15
+ The behaviour is similar to an immutable `Struct` class,
16
+ plus extensible, lightweight validation and coercion.
19
17
  }
20
18
  spec.homepage = "https://github.com/tomdalling/value_semantics"
21
19
  spec.license = "MIT"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: value_semantics
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dalling
@@ -94,10 +94,9 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: "\n Create value classes quickly, with all the proper conventions.\n\n
98
- \ Generates modules that provide value semantics for a given set of attributes.\n
99
- \ Provides the behaviour of an immutable struct-like value class,\n with light-weight
100
- validation and coercion.\n "
97
+ description: "\n Generates modules that provide conventional value semantics for
98
+ a given set of attributes.\n The behaviour is similar to an immutable `Struct`
99
+ class,\n plus extensible, lightweight validation and coercion.\n "
101
100
  email:
102
101
  - tom@tomdalling.com
103
102
  executables: []
@@ -135,8 +134,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
134
  - !ruby/object:Gem::Version
136
135
  version: '0'
137
136
  requirements: []
138
- rubygems_version: 3.0.2
137
+ rubyforge_project:
138
+ rubygems_version: 2.7.7
139
139
  signing_key:
140
140
  specification_version: 4
141
- summary: Create value classes quickly, with all the proper conventions.
141
+ summary: Makes value classes, with lightweight validation and coercion.
142
142
  test_files: []