wagn 1.18.2 → 1.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wagn/tasks/wagn.rake +3 -4
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26b5ae0ef232c86f6247f7fc06403dc1a3deb665
4
- data.tar.gz: 8efeaef498613f59fd6123210b920d963dcf94e4
3
+ metadata.gz: 3cbe6bd1aa55678a8d2ca843b1c373544dece5ed
4
+ data.tar.gz: c5b8babf7cfb7acfa9da9f08f542c1f15d15bcc4
5
5
  SHA512:
6
- metadata.gz: 9c36c627ff10f7f9d770000fa463a94d9682c73b33d513022f7278ab0ec75742f05dd59c0b73fdebdee23b23e3e9d332e35e0c0d8271e9ecdadc60f2038be7b1
7
- data.tar.gz: b9c8e3b2035d368a4361d1c365e7c5f095cccf67b665aa0b7384bd922e1172e3d05619375c6cf4eec6051f0b473a5dc841eef97824d528f0d758c4cbbe13118b
6
+ metadata.gz: b5221880b583ffd25857caef00d67e775e9b40c6632d834b6a0c8d9d3ef7571d338cacab5862493fd308327968a47a83747fbe682cf9a74058759dc82d432024
7
+ data.tar.gz: 0bc50056845418d95106848b11fb9975b7205d9a1667a43b9a0221ed6edb0b8153fe7ec8e7037dbcdb4788f38e15efaa6bec6ded1b315760cfd14410f758e7bc
@@ -313,13 +313,12 @@ namespace :wagn do
313
313
  end
314
314
  card.update_column :db_content,
315
315
  card.attachment.db_content(mod: mod_name)
316
- card.last_action.change[:db_content].update_column(
317
- :value, card.attachment.db_content(mod: mod_name)
318
- )
316
+ card.last_action.change_for(2).first
317
+ .update_column :value, card.attachment.db_content(mod: mod_name)
319
318
  card.expire
320
319
  card = Card.fetch card.name
321
320
 
322
- # target_dir = card.store_dir
321
+ target_dir = card.store_dir
323
322
 
324
323
  files.each do |version, path|
325
324
  FileUtils.cp path, card.attachment.path(version)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.2
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-03 00:00:00.000000000 Z
14
+ date: 2016-03-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -33,14 +33,14 @@ dependencies:
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 1.18.2
36
+ version: 1.18.3
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 1.18.2
43
+ version: 1.18.3
44
44
  description: a wiki approach to stuctured data, dynamic interaction, and web design
45
45
  email:
46
46
  - info@wagn.org