attr_json 0.7.0 → 1.0.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: 5fe1578a0dc062b2ca3c3b315da1e9c9e82b3a87a94e64db26f74a14e7b68335
4
- data.tar.gz: f96ef69f875ba8652e7cb4c8366ff79a52eeeb7ad6531635ea2f3223dd6b3451
3
+ metadata.gz: 23ec569c6ce1f117952719d5ec18e8cd30f2e80a13d55eab307d37db26308c19
4
+ data.tar.gz: bd676e6b2d8f606f1578cff495b4843e8722ca3f3dce2863226c59e7a716639b
5
5
  SHA512:
6
- metadata.gz: c7f3df2f9f3072ec540a4dd4addeed8184c9f3da79fcf6c4d5939f5675729eee509e0362b1f603ef85fd1ea1606f1f6f8d79d1aeb5f90d073731d12281dfb473
7
- data.tar.gz: 04b86f78256f0e53470aafe49168a2dcd019f45536485ad00f148998d5b4102981f25d35249e055561d137ee60a01e0a4a714792e00ac3bbb7d484dda27685d7
6
+ metadata.gz: c99101b1123256008aca96b8590a20906ca1650b1c70f82d24231043102296948070e2bcba78ec0c963e84c81f453b91bf82c2a0c7593f2ed57bc458365bf2f8
7
+ data.tar.gz: 0fe8b60b2b96116b298c44b27ea044f97278eb66114d97cb6f00f868e1c60444bf6a23fecdeceb2a2f52ae670af3cfd809dd6065af3f9bd062df8373f4887897
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+ Notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
data/README.md CHANGED
@@ -11,8 +11,6 @@ Typed and cast like Active Record. Supporting [nested models](#nested), [dirty t
11
11
 
12
12
  [Why might you want or not want this?](#why)
13
13
 
14
- AttrJson is pre-1.0. The functionality that is documented here _is_ already implemented (these docs are real, not vaporware) and seems pretty solid. It may still have backwards-incompat changes before 1.0 release. Review and feedback is very welcome.
15
-
16
14
  Developed for postgres, but most features should work with MySQL json columns too, although
17
15
  has not yet been tested with MySQL.
18
16
 
@@ -397,16 +395,16 @@ to prevent overwriting other updates from processes.
397
395
 
398
396
  ## State of Code, and To Be Done
399
397
 
400
- This is a pre-1.0 work in progress. But the functionality that is here seems pretty solid.
401
-
402
- Backwards incompatible changes are possible before 1.0. Once I tag something 1.0, I'm pretty serious about minimizing backwards incompats.
398
+ The functionality that is here seems pretty solid, and is being used by jrochkind in a production app.
403
399
 
404
- I do not yet use this myself in production, and may not for a while. I generally am reluctant to release something as 1.0 with implied suitable for production when I'm not yet using it in production myself, but may with enough feedback. A couple others are already using in production.
400
+ We are committed to [semantic versioning](https://semver.org/) and will endeavor to release no backwards breaking changes without a major version. We are also serious about minimizing backwards incompat releases altogether (ie minimiing major version releases).
405
401
 
406
402
  Feedback of any kind of _very welcome_, please feel free to use the issue tracker.
407
403
 
408
404
  Except for the jsonb_contains stuff using postgres jsonb contains operator, I don't believe any postgres-specific features are used. It ought to work with MySQL, testing and feedback welcome. (Or a PR to test on MySQL?). My own interest is postgres.
409
405
 
406
+ This is still mostly a single-maintainer operation, so has all the sustainability risks of that. Although there are other people using and contributing to it, check out the Github Issues and Pull Request tabs yourself to get a sense.
407
+
410
408
  ### Possible future features:
411
409
 
412
410
  * partial updates for json hashes would be really nice: Using postgres jsonb merge operators to only overwrite what changed. In my initial attempts, AR doesn't make it easy to customize this.
@@ -1,7 +1,6 @@
1
1
  require "attr_json/version"
2
2
 
3
3
  require "active_record"
4
- require "active_record/connection_adapters/postgresql_adapter"
5
4
 
6
5
  require 'attr_json/config'
7
6
  require 'attr_json/record'
@@ -1,3 +1,3 @@
1
1
  module AttrJson
2
- VERSION = "0.7.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attr_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-16 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -133,6 +133,7 @@ files:
133
133
  - ".travis.yml"
134
134
  - ".yardopts"
135
135
  - Appraisals
136
+ - CHANGELOG.md
136
137
  - Gemfile
137
138
  - LICENSE.txt
138
139
  - README.md