building_sync_bindings 0.1.2 → 0.1.3

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.
@@ -1,5 +1,6 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
+ require 'logger'
3
4
  require 'rails/all'
4
5
 
5
6
  Bundler.require(*Rails.groups)
@@ -20,6 +21,8 @@ module Dummy
20
21
  # config.i18n.default_locale = :de
21
22
 
22
23
  # Do not swallow errors in after_commit/after_rollback callbacks.
23
- config.active_record.raise_in_transactional_callbacks = true
24
+ if ::ActiveRecord::Base.respond_to?(:raise_in_transactional_callbacks=)
25
+ config.active_record.raise_in_transactional_callbacks = true
26
+ end
24
27
  end
25
28
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: building_sync_bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Borkum
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-10-17 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: isomorphic
@@ -45,9 +44,6 @@ dependencies:
45
44
  - - ">="
46
45
  - !ruby/object:Gem::Version
47
46
  version: 4.2.0
48
- - - "<"
49
- - !ruby/object:Gem::Version
50
- version: '7.0'
51
47
  type: :runtime
52
48
  prerelease: false
53
49
  version_requirements: !ruby/object:Gem::Requirement
@@ -55,9 +51,6 @@ dependencies:
55
51
  - - ">="
56
52
  - !ruby/object:Gem::Version
57
53
  version: 4.2.0
58
- - - "<"
59
- - !ruby/object:Gem::Version
60
- version: '7.0'
61
54
  - !ruby/object:Gem::Dependency
62
55
  name: soap4r-ng
63
56
  requirement: !ruby/object:Gem::Requirement
@@ -86,8 +79,7 @@ dependencies:
86
79
  - - ">="
87
80
  - !ruby/object:Gem::Version
88
81
  version: '0'
89
- description: A public gem mirror of building_sync_rails, including the BuildingSync
90
- 2.6.0 schema.
82
+ description: BuildingSync 2.7.0 schema bindings and ActiveRecord mapping toolkit.
91
83
  email:
92
84
  - mark.borkum@pnnl.gov
93
85
  executables: []
@@ -152,8 +144,6 @@ files:
152
144
  - test/dummy/config/locales/en.yml
153
145
  - test/dummy/config/routes.rb
154
146
  - test/dummy/config/secrets.yml
155
- - test/dummy/log/development.log
156
- - test/dummy/log/test.log
157
147
  - test/dummy/public/404.html
158
148
  - test/dummy/public/422.html
159
149
  - test/dummy/public/500.html
@@ -165,7 +155,6 @@ licenses:
165
155
  - BSD-2-Clause
166
156
  metadata:
167
157
  allowed_push_host: https://rubygems.org
168
- post_install_message:
169
158
  rdoc_options: []
170
159
  require_paths:
171
160
  - lib
@@ -180,49 +169,46 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
169
  - !ruby/object:Gem::Version
181
170
  version: '0'
182
171
  requirements: []
183
- rubygems_version: 3.3.26
184
- signing_key:
172
+ rubygems_version: 3.6.9
185
173
  specification_version: 4
186
174
  summary: BuildingSync bindings and Rails integration.
187
175
  test_files:
188
- - test/test_helper.rb
189
176
  - test/building_sync_rails_test.rb
190
- - test/integration/navigation_test.rb
191
- - test/dummy/public/404.html
192
- - test/dummy/public/422.html
193
- - test/dummy/public/favicon.ico
194
- - test/dummy/public/500.html
195
- - test/dummy/config/routes.rb
196
- - test/dummy/config/environment.rb
197
- - test/dummy/config/locales/en.yml
198
- - test/dummy/config/secrets.yml
177
+ - test/dummy/README.rdoc
178
+ - test/dummy/Rakefile
179
+ - test/dummy/app/assets/config/manifest.js
180
+ - test/dummy/app/assets/javascripts/application.js
181
+ - test/dummy/app/assets/stylesheets/application.css
182
+ - test/dummy/app/controllers/application_controller.rb
183
+ - test/dummy/app/helpers/application_helper.rb
184
+ - test/dummy/app/views/layouts/application.html.erb
185
+ - test/dummy/bin/bundle
186
+ - test/dummy/bin/rails
187
+ - test/dummy/bin/rake
188
+ - test/dummy/bin/setup
189
+ - test/dummy/config.ru
190
+ - test/dummy/config/application.rb
199
191
  - test/dummy/config/boot.rb
200
192
  - test/dummy/config/database.yml
201
- - test/dummy/config/environments/production.rb
193
+ - test/dummy/config/environment.rb
202
194
  - test/dummy/config/environments/development.rb
195
+ - test/dummy/config/environments/production.rb
203
196
  - test/dummy/config/environments/test.rb
204
- - test/dummy/config/application.rb
205
- - test/dummy/config/initializers/to_time_preserves_timezone.rb
206
- - test/dummy/config/initializers/filter_parameter_logging.rb
207
- - test/dummy/config/initializers/cookies_serializer.rb
208
- - test/dummy/config/initializers/wrap_parameters.rb
209
- - test/dummy/config/initializers/mime_types.rb
210
197
  - test/dummy/config/initializers/assets.rb
211
- - test/dummy/config/initializers/inflections.rb
212
198
  - test/dummy/config/initializers/backtrace_silencers.rb
199
+ - test/dummy/config/initializers/cookies_serializer.rb
200
+ - test/dummy/config/initializers/filter_parameter_logging.rb
201
+ - test/dummy/config/initializers/inflections.rb
202
+ - test/dummy/config/initializers/mime_types.rb
213
203
  - test/dummy/config/initializers/session_store.rb
214
- - test/dummy/bin/rails
215
- - test/dummy/bin/setup
216
- - test/dummy/bin/rake
217
- - test/dummy/bin/bundle
218
- - test/dummy/config.ru
219
- - test/dummy/Rakefile
220
- - test/dummy/README.rdoc
221
- - test/dummy/log/development.log
222
- - test/dummy/log/test.log
223
- - test/dummy/app/views/layouts/application.html.erb
224
- - test/dummy/app/helpers/application_helper.rb
225
- - test/dummy/app/assets/stylesheets/application.css
226
- - test/dummy/app/assets/config/manifest.js
227
- - test/dummy/app/assets/javascripts/application.js
228
- - test/dummy/app/controllers/application_controller.rb
204
+ - test/dummy/config/initializers/to_time_preserves_timezone.rb
205
+ - test/dummy/config/initializers/wrap_parameters.rb
206
+ - test/dummy/config/locales/en.yml
207
+ - test/dummy/config/routes.rb
208
+ - test/dummy/config/secrets.yml
209
+ - test/dummy/public/404.html
210
+ - test/dummy/public/422.html
211
+ - test/dummy/public/500.html
212
+ - test/dummy/public/favicon.ico
213
+ - test/integration/navigation_test.rb
214
+ - test/test_helper.rb
@@ -1,24 +0,0 @@
1
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.4ms) select sqlite_version(*)
3
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
6
-  (0.1ms) select sqlite_version(*)
7
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
- Migrating to CreateBuildingSyncTkSites (20190721171535)
10
-  (0.1ms) begin transaction
11
-  (0.4ms) CREATE TABLE "building_sync_tk_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "notes" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
12
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190721171535"]]
13
-  (0.6ms) commit transaction
14
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
16
-  (0.1ms) select sqlite_version(*)
17
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
18
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19
- Migrating to CreateSites (20190721171535)
20
-  (0.0ms) begin transaction
21
-  (0.5ms) CREATE TABLE "sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "notes" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
22
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190721171535"]]
23
-  (0.5ms) commit transaction
24
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -1,48 +0,0 @@
1
-  (0.1ms) begin transaction
2
- ------------------------------
3
- BuildingSyncTkTest: test_truth
4
- ------------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- ------------------------------
8
- BuildingSyncTkTest: test_truth
9
- ------------------------------
10
-  (0.0ms) rollback transaction
11
-  (0.1ms) begin transaction
12
- ------------------------------
13
- BuildingSyncTkTest: test_truth
14
- ------------------------------
15
-  (0.0ms) rollback transaction
16
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
17
-  (0.1ms) select sqlite_version(*)
18
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
-  (0.1ms) SELECT version FROM "schema_migrations"
20
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
21
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
-  (0.1ms) begin transaction
23
- ------------------------------
24
- BuildingSyncTkTest: test_truth
25
- ------------------------------
26
-  (0.0ms) rollback transaction
27
-  (2.7ms) CREATE TABLE "building_sync_tk_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "notes" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
28
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
29
-  (0.1ms) select sqlite_version(*)
30
-  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
31
-  (0.1ms) SELECT version FROM "schema_migrations"
32
-  (13.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20190721171535')
33
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
34
-  (2.9ms) CREATE TABLE "sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "notes" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35
-  (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
36
-  (0.1ms) select sqlite_version(*)
37
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
38
-  (0.1ms) SELECT version FROM "schema_migrations"
39
-  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20190721171535')
40
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
41
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
43
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
-  (0.1ms) begin transaction
45
- -----------------------------------
46
- BuildingSyncSupportTest: test_truth
47
- -----------------------------------
48
-  (0.1ms) rollback transaction