close_encounters 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -6
- data/app/models/close_encounters/participant_service.rb +7 -2
- data/lib/close_encounters/engine.rb +0 -8
- data/lib/close_encounters/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a98acff8fa4c0e6c76e3ed6395f5717ee7dbf47873c4090dc31d5017e86ef2
|
4
|
+
data.tar.gz: 96af7f9bc65d6f0ad66932f87d4d6a0f6ed80416b718b787ae73bcf332058943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8398c29adc130ca89723d8af7e05d507f6427bcb4b5037c3f587249dbbdcf3773b2821122a81cdc6c57768785bd6fade2ed665bca4d242b0e14468b94ce6c102
|
7
|
+
data.tar.gz: 35fd7ce3f343d2a9fea20c875f8ef50f4c79c690fc7641d49b8797801a655694a49dc1741c42df4126b0347a0b31e9d89b5c4dd105e68093a631e9a8c874ba6c
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## [0.1.2] - 2024-07-11
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
- Check if the table exits before conditionally setting up the serialize column
|
13
|
+
|
14
|
+
### Removed
|
15
|
+
|
16
|
+
- Appending engine migrations to the main app's migration path
|
17
|
+
|
8
18
|
## [0.1.1] - 2024-07-11
|
9
19
|
|
10
20
|
### Added
|
@@ -18,9 +28,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
18
28
|
- Update ensure_service to not overwrite existing connection_info
|
19
29
|
- Allow specs to run properly locally
|
20
30
|
- Incorrect manifest paths for sprockets
|
21
|
-
|
22
|
-
## [0.1.0] - 2024-05-08
|
23
|
-
|
24
|
-
### Added
|
25
|
-
|
26
|
-
- Initial implimentation
|
@@ -6,8 +6,13 @@ module CloseEncounters
|
|
6
6
|
|
7
7
|
validates :name, presence: true
|
8
8
|
|
9
|
-
if
|
10
|
-
|
9
|
+
# if the table exists, then we can check the column type
|
10
|
+
if connection.table_exists?(table_name) && (
|
11
|
+
columns_hash = connection.schema_cache.columns_hash(table_name)
|
12
|
+
)
|
13
|
+
if columns_hash["connection_info"].type == :text
|
14
|
+
serialize :connection_info, coder: JSON
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
# ONLY encrypt if you have the necessary keys
|
@@ -17,13 +17,5 @@ module CloseEncounters
|
|
17
17
|
app.config.assets.precompile += %w[close_encounters_manifest.js]
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
21
|
-
initializer :append_migrations do |app|
|
22
|
-
unless app.root.to_s.match root.to_s
|
23
|
-
config.paths["db/migrate"].expanded.each do |expanded_path|
|
24
|
-
app.config.paths["db/migrate"] << expanded_path
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
20
|
end
|
29
21
|
end
|