siteleaf 2.0.0.pre.beta3 → 2.0.0.pre.beta4

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: 7d9daa0addc86661e583c55511c7a8f81aef8b5b
4
- data.tar.gz: 3ee0da5032908f0a3638415e43805cc43129246a
3
+ metadata.gz: e085778cf159189ab344a699e3484dc9299726f3
4
+ data.tar.gz: b00baa1e820265522111fceb5320ee8cefb60487
5
5
  SHA512:
6
- metadata.gz: d60be4bf50da50893c5b28dc02e02cce10ccd1f76f0567258656763c40eba8286c5cc71d51d1561f7c415aaa43dbaa70536c19261255b3a98e42a690f947032c
7
- data.tar.gz: 9d6706b2a84c41161a74ecf1e68916e45a7f6d4d2f9aeaa16abbcd7beca81e2ab57df50798e0e4b216160a910b0b9fe22dd3f8d50b5435f81def1978aebbcc22
6
+ metadata.gz: 9069278b5e7a8a20665cc030e5ef73d2943584d83019c54603af087fa3bf21c59da1390a5723f7373e85e3ead5f44b44a2ee06da13a250b27b8c6f36400c67b5
7
+ data.tar.gz: d78e79de95365bd4b221797b8b79860a89fb32f0529e535020f3a1e5087fc8e4953e88567f47a74a297dbef50e0248b3df315e9c7543a524d7b8a7a9a8a1f135
data/bin/siteleaf CHANGED
@@ -205,7 +205,7 @@ def push(site_id)
205
205
  ::File.open(file, 'w:UTF-8') { |f| f.write(body) }
206
206
  end
207
207
 
208
- attrs = {site_id: site.id, file: ::File.new(path), path: path, static: static}
208
+ attrs = {site_id: site.id, file: ::File.new(file), path: path, static: static}
209
209
  model = if basedir == '_uploads'
210
210
  attrs[:path] = path.sub("#{basedir}/",'')
211
211
  Siteleaf::Upload
@@ -1,3 +1,3 @@
1
1
  module Siteleaf
2
- VERSION = "2.0.0.pre.beta3"
2
+ VERSION = "2.0.0.pre.beta4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siteleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.beta3
4
+ version: 2.0.0.pre.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siteleaf