artifact 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f68a0015fe6eca6069d167caefb003cff3dc1c5
4
- data.tar.gz: dfb80980bc99fee45ed86d9b1324f720c1f12f18
3
+ metadata.gz: 1c348cf5a979b4783fcc7dac983aa9303b6dcd4b
4
+ data.tar.gz: 7ccaf7b5fc8a0de2e3e03475aec6984d91caa29a
5
5
  SHA512:
6
- metadata.gz: d493385ab5ec711f2ca452204e951732d9eeb5ea5537b72c1c189346bb9e3a3c097ae31063b95db5116f9742aab61bea912d63d3b59c7b707cab275dc8af72f9
7
- data.tar.gz: a196d65b4a1b88921e80e2cdeb728f9b4e1eb4640e05e35be37c70c6a6ed4f25588e2c0b6d9767635186c2615d0abbfe56e7ddec21c46a9562700a1533602ed7
6
+ metadata.gz: 65d5d7b47c54a0358677c94995c49048d197cceaa61f4c31917d1bf06922cc110fd941dc835a83a3fa7f4d68c097c15f0ede2fc45d50f57c8f1f02274e575707
7
+ data.tar.gz: 00e6f8988cff7d4083e6f3af328bb94edb6747411c2bfdca3ce7452be0a426207d89fc5d14ced6046056062a3eab8980a0a2040deef5e4066605082307362fac
@@ -95,6 +95,8 @@ module Artifact
95
95
  @file = Artifact.drafts.new(filename, POST_EXTENSION)
96
96
  @file.update(params[:content], data)
97
97
 
98
+ Artifact.repo.save(@file.path, current_user, false)
99
+
98
100
  updated!
99
101
  redirect to('/posts')
100
102
  end
@@ -1,3 +1,3 @@
1
1
  module Artifact
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artifact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak