card 1.18.2 → 1.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/db/migrate/20141001105348_move_revisions_to_actions.rb +3 -1
- data/lib/card/migration.rb +1 -1
- data/mod/04_settings/set/right/default.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f534a7d9b3208b5b7143640ad679318942a002
|
4
|
+
data.tar.gz: 14cf3b61c892dda96b7f2ac8bf722adc852f1e87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 439daf4172199571908880128f72ed6ee9beac8f4be926c3235e2802104909abc945838eac4a0268fa2fa4dcb794112dd6326f184be12009baeb3a4cb1829db5
|
7
|
+
data.tar.gz: 309648a222f5583ffba3c83055e20357f705fd2edc3d08d3a126609466505a6f9f12bdbc6c60f1c88f469bf17383e76049a53db3c5a95e37e84613e113f72653
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.18.
|
1
|
+
1.18.3
|
@@ -3,7 +3,9 @@ class MoveRevisionsToActions < ActiveRecord::Migration
|
|
3
3
|
belongs_to :tmp_card, foreign_key: :card_id
|
4
4
|
self.table_name = 'card_revisions'
|
5
5
|
def self.delete_cardless
|
6
|
-
|
6
|
+
left_join = 'LEFT JOIN card_revisions '\
|
7
|
+
'ON card_revisions.card_id = cards.id'
|
8
|
+
TmpRevision.joins(left_join).where('cards.id IS NULL').delete_all
|
7
9
|
end
|
8
10
|
end
|
9
11
|
class TmpAct < ActiveRecord::Base
|
data/lib/card/migration.rb
CHANGED
@@ -78,7 +78,7 @@ class Card::Migration < ActiveRecord::Migration
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def import_json filename, merge_opts={}
|
81
|
-
Card.
|
81
|
+
Card::Mailer.perform_deliveries = false
|
82
82
|
output_file = File.join data_path, "unmerged_#{filename}"
|
83
83
|
merge_opts[:output_file] ||= output_file
|
84
84
|
Card.merge_list read_json(filename), merge_opts
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-03-
|
14
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: smartname
|