siteleaf 2.0.0.pre.beta3 → 2.0.0.pre.beta4
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 +4 -4
- data/bin/siteleaf +1 -1
- data/lib/siteleaf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e085778cf159189ab344a699e3484dc9299726f3
|
4
|
+
data.tar.gz: b00baa1e820265522111fceb5320ee8cefb60487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
data/lib/siteleaf/version.rb
CHANGED