gemstack-db 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: ad489b0fc9e97591c0c1816191da013e67961c6205905a3bf2d5306aae2663fc
4
- data.tar.gz: 1b1a90324c985d4d036b490d2f2523830fa074e7837a1bb2e2f9581890605edc
3
+ metadata.gz: 21dec8b41b0440c61fedf33b9d516672a31000feede8bb3a51c04bf6b635df69
4
+ data.tar.gz: 837a7cb9b46567af652473bbcf6370e72a0497d9b86152eab4bc7a58f7895acb
5
5
  SHA512:
6
- metadata.gz: 71f2b87a170698da8c23d0f7d87489af2ad4f58e25fdcd694ff47fb09acd0303efd401db4fba269e167a50946cf0c1e31781aef49a7be9d23478e57910de9869
7
- data.tar.gz: 53a876b350c4171e790dc2bcc284dd4e7d41ceaa9dd0eeba9356c85cddeb3540f9584ade4efc99ffc7b85e86e2cfa7abdf5e83d06ab3b8143a3883889ce2c9f6
6
+ metadata.gz: 6f67b3804ec3a0e0d8866b834f98f823770b49cfd1ba24a73d2e39036116ae07eab309e3151f7d5232fc76472115357a1a4222e8633f6a68f4100760813841c1
7
+ data.tar.gz: 9e13d2708d4467477cf2e189f86d355fa1d2dafab6fb7b431a6d1c86b8c746fcf98c2db01e3459f9cfcd4ba0a1adf7e65be720ba8643ba777c875f644c5ccde6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.5
4
+
5
+ See the [GemStack changelog](https://github.com/gemstack-rb/gemstack/blob/main/CHANGELOG.md).
6
+
3
7
  ## 0.2.4
4
8
 
5
9
  See the [GemStack changelog](https://github.com/gemstack-rb/gemstack/blob/main/CHANGELOG.md).
@@ -6,7 +6,7 @@ require "yaml"
6
6
 
7
7
  module GemStack
8
8
  module DB
9
- # Where the connection settings come from, first match wins (DECISIONS D-062):
9
+ # Where the connection settings come from, first match wins:
10
10
  #
11
11
  # 1. config.db.url, set in config/app.rb or config/environments/*.rb
12
12
  # 2. DATABASE_URL (TEST_DATABASE_URL in the test environment)
@@ -5,7 +5,7 @@ module GemStack
5
5
  # Sequel (5.108 and earlier) parses JSON/JSONB columns with
6
6
  # JSON.parse(json, create_additions: false), an option json 3.0 removed, so
7
7
  # every jsonb read raises ArgumentError. JSON.parse never creates additions,
8
- # so dropping the option keeps Sequel's behaviour (DECISIONS D-041).
8
+ # so dropping the option keeps Sequel's behaviour.
9
9
  module JSONCompat
10
10
  def parse_json(json) = JSON.parse(json)
11
11
 
@@ -33,7 +33,7 @@ module GemStack
33
33
 
34
34
  # A model may load before its migration has run (e.g. while generating the
35
35
  # API contract right after `generate resource`); queries still fail
36
- # clearly with "relation does not exist" (DECISIONS D-024).
36
+ # clearly with "relation does not exist".
37
37
  self.require_valid_table = false
38
38
 
39
39
  class << self
@@ -4,7 +4,7 @@ module GemStack
4
4
  module DB
5
5
  # Migrations may use PostgreSQL's type names — the generators write
6
6
  # `column :created_at, :timestamptz` — and still run on MySQL and SQLite,
7
- # where each maps to the closest native type (DECISIONS D-062). Everything
7
+ # where each maps to the closest native type. Everything
8
8
  # else in the Sequel schema DSL is untouched.
9
9
  module SchemaTypes
10
10
  MAPPINGS = {
data/lib/gemstack/db.rb CHANGED
@@ -10,7 +10,7 @@ require_relative "db/configuration"
10
10
  require_relative "db/schema_types"
11
11
 
12
12
  module GemStack
13
- # SQL databases through Sequel (DECISIONS D-018, D-062): PostgreSQL, MySQL
13
+ # SQL databases through Sequel: PostgreSQL, MySQL
14
14
  # (mysql2 or trilogy) and SQLite, configured by config/database.yml or
15
15
  # DATABASE_URL. Optional: add `gem "gemstack-db"` and the driver gem
16
16
  # (pg, mysql2, trilogy or sqlite3) to the Gemfile — `gemstack new` does.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemstack-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adware Technologies
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.4
19
+ version: 0.2.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.4
26
+ version: 0.2.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gemstack-schema
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.4
33
+ version: 0.2.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.4
40
+ version: 0.2.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sequel
43
43
  requirement: !ruby/object:Gem::Requirement