siteleaf 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/siteleaf +1 -1
- data/lib/siteleaf/version.rb +1 -1
- data/siteleaf.gemspec +1 -0
- metadata +17 -1
data/bin/siteleaf
CHANGED
@@ -85,7 +85,7 @@ def put_theme_assets(site_id)
|
|
85
85
|
FileUtils.rm(theme) if File.exist?(theme)
|
86
86
|
Zip::ZipFile.open(theme, Zip::ZipFile::CREATE) do |zip|
|
87
87
|
Dir.glob("**/*").each do |path|
|
88
|
-
zip.add(path, path)
|
88
|
+
zip.add(path, path) if !['config.ru'].include?(path) && !path.start_with?('.')
|
89
89
|
end
|
90
90
|
end
|
91
91
|
if response = Siteleaf::Client.post("sites/#{site_id}/theme/assets", {:file => File.new(theme), :replace => true})
|
data/lib/siteleaf/version.rb
CHANGED
data/siteleaf.gemspec
CHANGED
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: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: zip
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: rack
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|