dorsale 2.1.9 → 2.1.10
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e8cb873de3d6147d2932b4ba73fed3a313df886
|
|
4
|
+
data.tar.gz: 0e611236df4986c81fdabcbbe5d6bf004a4e7a5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c3c041c0d536402678495964d1824f1775869fc52aa8a43de2e02b7a4191706dd64df002239c9f00d01096bc13da838e254c90b649d19de52e5e2e1b416e4b2
|
|
7
|
+
data.tar.gz: 8831493e3fa7f8a8d0db0bc1f7315da2d132cab4a256b68118dbe4c15960718d474af328756398feb534004f23e7a2673c064d39fd1b1c7523e45b08613e86f2
|
|
@@ -12,8 +12,8 @@ module Dorsale
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
has_many :comments, -> { order("id DESC") }, class_name: ::Dorsale::Comment, as: :commentable
|
|
15
|
-
has_one :address, class_name: ::Dorsale::Address, as: :addressable, inverse_of: :addressable
|
|
16
|
-
has_many :tasks, class_name: ::Dorsale::Flyboy::Task, as: :taskable
|
|
15
|
+
has_one :address, class_name: ::Dorsale::Address, as: :addressable, inverse_of: :addressable, dependent: :destroy
|
|
16
|
+
has_many :tasks, class_name: ::Dorsale::Flyboy::Task, as: :taskable, dependent: :destroy
|
|
17
17
|
accepts_nested_attributes_for :address, allow_destroy: true
|
|
18
18
|
|
|
19
19
|
def links
|
data/lib/dorsale/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -32183,3 +32183,66 @@ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 201
|
|
|
32183
32183
|
[1m[36m (0.8ms)[0m [1mDELETE FROM "dorsale_comments";[0m
|
|
32184
32184
|
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
|
32185
32185
|
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'dorsale_comments';[0m
|
|
32186
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
32187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32188
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32190
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
32192
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
32194
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
32196
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32198
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32200
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32202
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32203
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32204
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32206
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32207
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
32208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32209
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32211
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32214
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32215
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32216
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32217
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32219
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32220
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32221
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32222
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32223
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32224
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32225
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
32226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32227
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32228
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
32229
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
32230
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32231
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32232
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32234
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32236
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32238
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32239
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32240
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
32241
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
32242
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
32244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
32246
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
32247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
32248
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
require 'rails_helper'
|
|
2
2
|
|
|
3
3
|
RSpec.describe ::Dorsale::CustomerVault::Corporation, type: :model do
|
|
4
|
-
it { should have_one
|
|
4
|
+
it { should have_one(:address).dependent(:destroy) }
|
|
5
5
|
it { should have_many :comments }
|
|
6
6
|
it { should have_many :taggings }
|
|
7
7
|
it { should have_many :tags }
|
|
8
|
-
it { should have_many
|
|
8
|
+
it { should have_many(:tasks).dependent(:destroy) }
|
|
9
9
|
|
|
10
10
|
it { should respond_to :legal_form }
|
|
11
11
|
it { should respond_to :capital }
|
|
@@ -6,11 +6,11 @@ RSpec.describe ::Dorsale::CustomerVault::Individual, :type => :model do
|
|
|
6
6
|
expect(individual).to be_valid
|
|
7
7
|
end
|
|
8
8
|
|
|
9
|
-
it { should have_one
|
|
9
|
+
it { should have_one(:address).dependent(:destroy) }
|
|
10
10
|
it { should have_many :comments }
|
|
11
11
|
it { should have_many :taggings }
|
|
12
12
|
it { should have_many :tags }
|
|
13
|
-
it { should have_many
|
|
13
|
+
it { should have_many(:tasks).dependent(:destroy) }
|
|
14
14
|
|
|
15
15
|
it { should validate_presence_of :first_name }
|
|
16
16
|
it { should validate_presence_of :last_name }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dorsale
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- agilidée
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|