scms 1.8.8 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/Rakefile +1 -0
- data/assets/blank-template/{config.yml → _config.yml} +6 -6
- data/assets/blank-template/{s3config.template.yml → _s3config.template.yml} +0 -0
- data/assets/blank-template/{templates → _templates}/menu.xml +0 -0
- data/assets/blank-template/{templates → _templates}/skin.erb.html +1 -1
- data/assets/blank-template/{views → _views}/about-intro.html +0 -0
- data/assets/blank-template/{views → _views}/about-main.html +0 -0
- data/assets/blank-template/{views → _views}/home-intro.html +0 -0
- data/assets/blank-template/{views → _views}/home-main.html +0 -0
- data/assets/{blank-app-template/public → blank-template}/images/glyphicons-halflings-white.png +0 -0
- data/assets/{blank-app-template/public → blank-template}/images/glyphicons-halflings.png +0 -0
- data/assets/{blank-app-template/public → blank-template}/robots.txt +0 -0
- data/assets/blank-template/{public/scripts → scripts}/air-monkey-hook.js +0 -0
- data/assets/{blank-app-template/public/scripts/libs → blank-template/scripts}/bootstrap.js +0 -0
- data/assets/{blank-app-template/public/scripts/libs → blank-template/scripts}/jquery-1.8.2.min.js +0 -0
- data/assets/blank-template/{public/scripts → scripts}/script.js +0 -0
- data/assets/{blank-app-template/public → blank-template}/stylesheets/bootstrap-responsive.css +0 -0
- data/assets/{blank-app-template/public → blank-template}/stylesheets/bootstrap.css +0 -0
- data/assets/{blank-app-template/public → blank-template}/stylesheets/style.css +0 -0
- data/bin/scms +9 -43
- data/build commands.txt +3 -2
- data/lib/scms.rb +87 -66
- data/lib/scms/s3deploy.rb +23 -41
- data/lib/scms/{scms_utils.rb → scms-utils.rb} +5 -20
- data/lib/scms/version.rb +2 -2
- data/scms.gemspec +28 -21
- metadata +58 -63
- data/assets/blank-app-template/application.xml +0 -57
- data/assets/blank-app-template/cert.p12 +0 -0
- data/assets/blank-app-template/config.yml +0 -32
- data/assets/blank-app-template/debug.cmd +0 -6
- data/assets/blank-app-template/package.cmd +0 -16
- data/assets/blank-app-template/public/ico/favicon.ico +0 -0
- data/assets/blank-app-template/public/ico/logo-128.png +0 -0
- data/assets/blank-app-template/public/ico/logo-16.png +0 -0
- data/assets/blank-app-template/public/ico/logo-32.png +0 -0
- data/assets/blank-app-template/public/ico/logo-48.png +0 -0
- data/assets/blank-app-template/public/scripts/air/AIRAliases.js +0 -240
- data/assets/blank-app-template/public/scripts/air/AIRIntrospector.js +0 -1949
- data/assets/blank-app-template/public/scripts/air/AIRMenuBuilder.js +0 -1322
- data/assets/blank-app-template/public/scripts/air/applicationupdater.swf +0 -0
- data/assets/blank-app-template/public/scripts/air/applicationupdater_ui.swf +0 -0
- data/assets/blank-app-template/public/scripts/air/servicemonitor.swf +0 -0
- data/assets/blank-app-template/public/scripts/libs/jquery.fn.custom.js +0 -67
- data/assets/blank-app-template/public/scripts/libs/knockout-2.1.0-min.js +0 -86
- data/assets/blank-app-template/public/scripts/presenters/dashboard-presenter.js +0 -3
- data/assets/blank-app-template/public/scripts/presenters/global-presenter.js +0 -8
- data/assets/blank-app-template/public/scripts/shared/data-persistance.js +0 -22
- data/assets/blank-app-template/public/scripts/shared/utils.js +0 -107
- data/assets/blank-app-template/s3config.template.yml +0 -9
- data/assets/blank-app-template/templates/menu.xml +0 -5
- data/assets/blank-app-template/templates/skin.erb.html +0 -84
- data/assets/blank-app-template/tools/msxsl.exe +0 -0
- data/assets/blank-app-template/tools/update-descriptor.xsl +0 -18
- data/assets/blank-app-template/tools/version.xsl +0 -10
- data/assets/blank-app-template/views/about.html +0 -15
- data/assets/blank-app-template/views/dashboard.html +0 -7
- data/assets/blank-template/public/images/glyphicons-halflings-white.png +0 -0
- data/assets/blank-template/public/images/glyphicons-halflings.png +0 -0
- data/assets/blank-template/public/robots.txt +0 -4
- data/assets/blank-template/public/scripts/bootstrap.js +0 -2027
- data/assets/blank-template/public/scripts/jquery-1.8.2.min.js +0 -2
- data/assets/blank-template/public/stylesheets/bootstrap-responsive.css +0 -1058
- data/assets/blank-template/public/stylesheets/bootstrap.css +0 -5774
- data/assets/blank-template/public/stylesheets/style.css +0 -0
data/lib/scms/s3deploy.rb
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
module S3Deploy
|
2
2
|
VERSION = '1.0.0'
|
3
|
-
require "scms/
|
3
|
+
require "scms/scms-utils.rb"
|
4
4
|
|
5
5
|
def S3Deploy.sync(pub, config)
|
6
|
+
ScmsUtils.log( "Syncing with Amazon S3: #{$settings['bucket']}" )
|
6
7
|
@pub = pub
|
7
8
|
ENV["S3CONF"] = config
|
8
9
|
ENV["AWS_CALLING_FORMAT"] = "SUBDOMAIN"
|
9
|
-
ENV["S3SYNC_MIME_TYPES_FILE"] = File.join(Folders[:root], "assets", "mime.types")
|
10
|
+
ENV["S3SYNC_MIME_TYPES_FILE"] = File.join(Folders[:root], "assets", "mime.types")
|
10
11
|
|
11
|
-
yamlpath=File.join(config, "
|
12
|
+
yamlpath=File.join(config, "_s3config.yml")
|
12
13
|
$settings = YAML.load_file(yamlpath)
|
13
14
|
|
14
|
-
ScmsUtils.log( "Syncing with Amazon S3: **#{$settings['bucket']}**" )
|
15
|
-
|
16
15
|
removeold = "--delete"
|
17
16
|
if $settings['clean'] != nil
|
18
17
|
unless $settings['clean']
|
@@ -20,56 +19,39 @@ module S3Deploy
|
|
20
19
|
end
|
21
20
|
end
|
22
21
|
|
23
|
-
exclude = "
|
22
|
+
exclude = "(\\.svn$)|(^_)"
|
24
23
|
if $settings['ignore'] != nil
|
25
|
-
exclude = "
|
24
|
+
exclude = "#{exclude}|(#{$settings["ignore"]})"
|
26
25
|
end
|
27
26
|
|
28
27
|
cmd = "s3sync"
|
29
|
-
params = "#{removeold} #{exclude} --progress --make-dirs --recursive
|
28
|
+
params = "#{removeold} --exclude=\"#{exclude}\" --progress --make-dirs --recursive"
|
29
|
+
|
30
|
+
#First deploy private directories
|
31
|
+
Dir.glob("#{@pub}/_*/").each do |f|
|
32
|
+
privatedir = File.basename(f)
|
33
|
+
ScmsUtils.log( "Backing up #{privatedir} (private)" )
|
34
|
+
privateparams = "#{params} \"#{@pub}/#{privatedir}/\" #{$settings['bucket']}:#{privatedir}/"
|
35
|
+
ScmsUtils.run(cmd, privateparams)
|
36
|
+
end
|
30
37
|
|
38
|
+
#Them deploy publid dir with caching
|
31
39
|
if $settings['cache'] != nil
|
32
40
|
$settings['cache'].each do |folder|
|
33
|
-
ScmsUtils.log( "Syncing
|
34
|
-
cacheparams = "#{params} --cache-control='max-age=31449600' \"#{@pub}/#{folder}/\" #{$settings['bucket']}:#{folder}/"
|
41
|
+
ScmsUtils.log( "Syncing #{folder}(public: caching: 1 year)" )
|
42
|
+
cacheparams = "#{params} --public-read --cache-control='max-age=31449600' \"#{@pub}/#{folder}/\" #{$settings['bucket']}:#{folder}/"
|
35
43
|
ScmsUtils.run(cmd, cacheparams)
|
36
44
|
end
|
37
45
|
end
|
38
46
|
|
39
|
-
ScmsUtils.log( "Syncing
|
40
|
-
roorparams = "#{params} \"#{@pub}/\" #{$settings['bucket']}:/"
|
47
|
+
ScmsUtils.log( "Syncing root (public)" )
|
48
|
+
roorparams = "#{params} --public-read \"#{@pub}/\" #{$settings['bucket']}:/"
|
49
|
+
#Finnaly deploy all remaining files (except excludes)
|
41
50
|
ScmsUtils.run(cmd, roorparams)
|
42
|
-
ScmsUtils.successLog("
|
51
|
+
ScmsUtils.successLog("Deployed :)")
|
43
52
|
|
44
53
|
if $settings['uri'] != nil
|
45
|
-
ScmsUtils.log(
|
54
|
+
ScmsUtils.log($settings['uri'])
|
46
55
|
end
|
47
56
|
end
|
48
|
-
|
49
|
-
def S3Deploy.backup(privatedir, config)
|
50
|
-
ENV["S3CONF"] = config
|
51
|
-
ENV["AWS_CALLING_FORMAT"] = "SUBDOMAIN"
|
52
|
-
ENV["S3SYNC_MIME_TYPES_FILE"] = File.join(Folders[:root], "assets", "mime.types")
|
53
|
-
|
54
|
-
yamlpath=File.join(config, "s3config.yml")
|
55
|
-
$settings = YAML.load_file(yamlpath)
|
56
|
-
|
57
|
-
ScmsUtils.log( "Backing up to Amazon S3: **#{$settings['bucket']}**" )
|
58
|
-
cmd = "s3sync"
|
59
|
-
removeold = "--delete"
|
60
|
-
if $settings['clean'] != nil
|
61
|
-
unless $settings['clean']
|
62
|
-
removeold = ""
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
exclude = "--exclude='.svn'"
|
67
|
-
if $settings['ignore'] != nil
|
68
|
-
exclude = "--exclude=#{$settings["ignore"]}"
|
69
|
-
end
|
70
|
-
|
71
|
-
params = "#{exclude} --progress --make-dirs --recursive #{removeold} \"#{privatedir}/\" #{$settings['bucket']}:private/"
|
72
|
-
ScmsUtils.run(cmd, params)
|
73
|
-
ScmsUtils.successLog("** Done :) **")
|
74
|
-
end
|
75
57
|
end
|
@@ -1,12 +1,11 @@
|
|
1
1
|
module ScmsUtils
|
2
2
|
require 'find'
|
3
3
|
require 'fileutils'
|
4
|
-
require 'maruku'
|
5
4
|
require 'open-uri'
|
6
5
|
|
7
6
|
def ScmsUtils.run(cmd, params)
|
8
7
|
if system("#{cmd} #{params}")
|
9
|
-
ScmsUtils.successLog( "
|
8
|
+
ScmsUtils.successLog( "#{cmd} ran successfully" )
|
10
9
|
else
|
11
10
|
raise "Error running #{cmd}"
|
12
11
|
end
|
@@ -15,12 +14,7 @@ module ScmsUtils
|
|
15
14
|
def ScmsUtils.errLog(msg)
|
16
15
|
if !msg.nil?
|
17
16
|
if $html == "true"
|
18
|
-
|
19
|
-
doc = Maruku.new(msg)
|
20
|
-
puts "<span style='color: red;'>#{doc.to_html}</span>"
|
21
|
-
rescue Exception=>e
|
22
|
-
puts msg
|
23
|
-
end
|
17
|
+
puts "<div style='color: red;'>#{ScmsUtils.txt_2_html(msg)}</div>"
|
24
18
|
else
|
25
19
|
puts msg
|
26
20
|
end
|
@@ -30,12 +24,7 @@ module ScmsUtils
|
|
30
24
|
def ScmsUtils.successLog(msg)
|
31
25
|
if !msg.nil?
|
32
26
|
if $html == "true"
|
33
|
-
|
34
|
-
doc = Maruku.new(msg)
|
35
|
-
puts "<span style='color: green;'>#{doc.to_html}</span>"
|
36
|
-
rescue Exception=>e
|
37
|
-
puts msg
|
38
|
-
end
|
27
|
+
puts "<div style='color: green;'>#{ScmsUtils.txt_2_html(msg)}</div>"
|
39
28
|
else
|
40
29
|
puts msg
|
41
30
|
end
|
@@ -45,12 +34,7 @@ module ScmsUtils
|
|
45
34
|
def ScmsUtils.log(msg)
|
46
35
|
if !msg.nil?
|
47
36
|
if $html == "true"
|
48
|
-
|
49
|
-
doc = Maruku.new(msg)
|
50
|
-
puts doc.to_html
|
51
|
-
rescue Exception=>e
|
52
|
-
puts msg
|
53
|
-
end
|
37
|
+
puts "<div>#{ScmsUtils.txt_2_html(msg)}</div>"
|
54
38
|
else
|
55
39
|
puts msg
|
56
40
|
end
|
@@ -68,6 +52,7 @@ module ScmsUtils
|
|
68
52
|
def ScmsUtils.txt_2_html(rawsnippet)
|
69
53
|
if rawsnippet != nil
|
70
54
|
rawsnippet.gsub!(/(http:\/\/\S+)/, '<a href="\1" target="_blank" ref="external">\1</a>')
|
55
|
+
rawsnippet.gsub!(/(file:\/\/\/\S+)/, '<a href="\1" target="_blank" ref="external">\1</a>')
|
71
56
|
rawsnippet.gsub!(/\n/, "<br />")
|
72
57
|
end
|
73
58
|
|
data/lib/scms/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION =
|
1
|
+
module Scms
|
2
|
+
VERSION = "1.9.0"
|
3
3
|
end
|
data/scms.gemspec
CHANGED
@@ -1,24 +1,31 @@
|
|
1
|
-
#
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'Scms/version'
|
2
5
|
|
3
|
-
|
4
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "scms"
|
8
|
+
spec.version = Scms::VERSION
|
9
|
+
spec.authors = ["Courtenay Probert"]
|
10
|
+
spec.email = ["courtenay@probert.me.uk"]
|
11
|
+
spec.description = "A static website CMS for Amazon's S3"
|
12
|
+
spec.summary = "Create simple static websites, in a jiffy"
|
13
|
+
spec.homepage = "http://cprobert.github.io/Static-CMS/"
|
14
|
+
spec.license = "MIT"
|
5
15
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
s.add_dependency "nokogiri"
|
19
|
-
s.add_dependency "maruku"
|
20
|
-
s.add_dependency "sass"
|
21
|
-
s.add_dependency "packr"
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.executables << 'scms'
|
22
|
+
|
23
|
+
spec.add_dependency "cprobert-s3sync"
|
24
|
+
spec.add_dependency "nokogiri"
|
25
|
+
spec.add_dependency "maruku"
|
26
|
+
spec.add_dependency "sass"
|
27
|
+
spec.add_dependency "packr"
|
22
28
|
|
23
|
-
|
24
|
-
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Courtenay Probert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: cprobert-s3sync
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
@@ -80,8 +80,37 @@ dependencies:
|
|
80
80
|
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
|
84
|
-
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.3'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: A static website CMS for Amazon's S3
|
112
|
+
email:
|
113
|
+
- courtenay@probert.me.uk
|
85
114
|
executables:
|
86
115
|
- scms
|
87
116
|
extensions: []
|
@@ -89,73 +118,39 @@ extra_rdoc_files: []
|
|
89
118
|
files:
|
90
119
|
- .gitattributes
|
91
120
|
- .gitignore
|
121
|
+
- Gemfile
|
122
|
+
- LICENSE.txt
|
92
123
|
- README.md
|
93
|
-
-
|
94
|
-
- assets/blank-
|
95
|
-
- assets/blank-
|
96
|
-
- assets/blank-
|
97
|
-
- assets/blank-
|
98
|
-
- assets/blank-
|
99
|
-
- assets/blank-
|
100
|
-
- assets/blank-
|
101
|
-
- assets/blank-
|
102
|
-
- assets/blank-
|
103
|
-
- assets/blank-
|
104
|
-
- assets/blank-
|
105
|
-
- assets/blank-
|
106
|
-
- assets/blank-
|
107
|
-
- assets/blank-
|
108
|
-
- assets/blank-
|
109
|
-
- assets/blank-
|
110
|
-
- assets/blank-
|
111
|
-
- assets/blank-
|
112
|
-
- assets/blank-app-template/public/scripts/libs/bootstrap.js
|
113
|
-
- assets/blank-app-template/public/scripts/libs/jquery-1.8.2.min.js
|
114
|
-
- assets/blank-app-template/public/scripts/libs/jquery.fn.custom.js
|
115
|
-
- assets/blank-app-template/public/scripts/libs/knockout-2.1.0-min.js
|
116
|
-
- assets/blank-app-template/public/scripts/presenters/dashboard-presenter.js
|
117
|
-
- assets/blank-app-template/public/scripts/presenters/global-presenter.js
|
118
|
-
- assets/blank-app-template/public/scripts/shared/data-persistance.js
|
119
|
-
- assets/blank-app-template/public/scripts/shared/utils.js
|
120
|
-
- assets/blank-app-template/public/stylesheets/bootstrap-responsive.css
|
121
|
-
- assets/blank-app-template/public/stylesheets/bootstrap.css
|
122
|
-
- assets/blank-app-template/public/stylesheets/style.css
|
123
|
-
- assets/blank-app-template/s3config.template.yml
|
124
|
-
- assets/blank-app-template/templates/menu.xml
|
125
|
-
- assets/blank-app-template/templates/skin.erb.html
|
126
|
-
- assets/blank-app-template/tools/msxsl.exe
|
127
|
-
- assets/blank-app-template/tools/update-descriptor.xsl
|
128
|
-
- assets/blank-app-template/tools/version.xsl
|
129
|
-
- assets/blank-app-template/views/about.html
|
130
|
-
- assets/blank-app-template/views/dashboard.html
|
131
|
-
- assets/blank-template/config.yml
|
132
|
-
- assets/blank-template/public/images/glyphicons-halflings-white.png
|
133
|
-
- assets/blank-template/public/images/glyphicons-halflings.png
|
134
|
-
- assets/blank-template/public/robots.txt
|
135
|
-
- assets/blank-template/public/scripts/air-monkey-hook.js
|
136
|
-
- assets/blank-template/public/scripts/bootstrap.js
|
137
|
-
- assets/blank-template/public/scripts/jquery-1.8.2.min.js
|
138
|
-
- assets/blank-template/public/scripts/script.js
|
139
|
-
- assets/blank-template/public/stylesheets/bootstrap-responsive.css
|
140
|
-
- assets/blank-template/public/stylesheets/bootstrap.css
|
141
|
-
- assets/blank-template/public/stylesheets/style.css
|
142
|
-
- assets/blank-template/s3config.template.yml
|
143
|
-
- assets/blank-template/templates/menu.xml
|
144
|
-
- assets/blank-template/templates/skin.erb.html
|
145
|
-
- assets/blank-template/views/about-intro.html
|
146
|
-
- assets/blank-template/views/about-main.html
|
147
|
-
- assets/blank-template/views/home-intro.html
|
148
|
-
- assets/blank-template/views/home-main.html
|
124
|
+
- Rakefile
|
125
|
+
- assets/blank-template/_config.yml
|
126
|
+
- assets/blank-template/_s3config.template.yml
|
127
|
+
- assets/blank-template/_templates/menu.xml
|
128
|
+
- assets/blank-template/_templates/skin.erb.html
|
129
|
+
- assets/blank-template/_views/about-intro.html
|
130
|
+
- assets/blank-template/_views/about-main.html
|
131
|
+
- assets/blank-template/_views/home-intro.html
|
132
|
+
- assets/blank-template/_views/home-main.html
|
133
|
+
- assets/blank-template/images/glyphicons-halflings-white.png
|
134
|
+
- assets/blank-template/images/glyphicons-halflings.png
|
135
|
+
- assets/blank-template/robots.txt
|
136
|
+
- assets/blank-template/scripts/air-monkey-hook.js
|
137
|
+
- assets/blank-template/scripts/bootstrap.js
|
138
|
+
- assets/blank-template/scripts/jquery-1.8.2.min.js
|
139
|
+
- assets/blank-template/scripts/script.js
|
140
|
+
- assets/blank-template/stylesheets/bootstrap-responsive.css
|
141
|
+
- assets/blank-template/stylesheets/bootstrap.css
|
142
|
+
- assets/blank-template/stylesheets/style.css
|
149
143
|
- assets/mime.types
|
150
144
|
- bin/scms
|
151
145
|
- build commands.txt
|
152
146
|
- lib/scms.rb
|
153
147
|
- lib/scms/s3deploy.rb
|
154
|
-
- lib/scms/
|
148
|
+
- lib/scms/scms-utils.rb
|
155
149
|
- lib/scms/version.rb
|
156
150
|
- scms.gemspec
|
157
151
|
homepage: http://cprobert.github.io/Static-CMS/
|
158
|
-
licenses:
|
152
|
+
licenses:
|
153
|
+
- MIT
|
159
154
|
metadata: {}
|
160
155
|
post_install_message:
|
161
156
|
rdoc_options: []
|
@@ -1,57 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
-
<application xmlns="http://ns.adobe.com/air/application/3.0">
|
3
|
-
<!-- The application identifier string, unique to this application. Required. -->
|
4
|
-
<id>uk.co.mydomain.myapp</id>
|
5
|
-
<!-- Used as the filename for the application. Required. -->
|
6
|
-
<filename>AirApp</filename>
|
7
|
-
<!-- The name that is displayed in the AIR application installer. Optional. -->
|
8
|
-
<name>Air App</name>
|
9
|
-
<!-- An application version designator Required. -->
|
10
|
-
<versionNumber>0.0.1</versionNumber>
|
11
|
-
<!-- Description, displayed in the AIR application installer. Optional. -->
|
12
|
-
<description>
|
13
|
-
<text xml:lang="en">Test App</text>
|
14
|
-
</description>
|
15
|
-
<!-- Copyright information. Optional -->
|
16
|
-
<copyright>Copyright (c) 2012 Courtenay Probert.</copyright>
|
17
|
-
<!-- Settings for the application's initial window. Required. -->
|
18
|
-
<initialWindow>
|
19
|
-
<!-- The main HTML file of the application. Required. -->
|
20
|
-
<content>-site/app.html</content>
|
21
|
-
<!-- The title of the main window. Optional. -->
|
22
|
-
<title/>
|
23
|
-
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
|
24
|
-
<systemChrome>standard</systemChrome>
|
25
|
-
<!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
|
26
|
-
<transparent>false</transparent>
|
27
|
-
<!-- Whether the window is initially visible. Optional. Default false. -->
|
28
|
-
<visible>true</visible>
|
29
|
-
<!-- Whether the user can minimize the window. Optional. Default true. -->
|
30
|
-
<minimizable>true</minimizable>
|
31
|
-
<!-- Whether the user can maximize the window. Optional. Default true. -->
|
32
|
-
<maximizable>true</maximizable>
|
33
|
-
<!-- Whether the user can resize the window. Optional. Default true. -->
|
34
|
-
<resizable>true</resizable>
|
35
|
-
<!-- The window's initial width. Optional. -->
|
36
|
-
<width>1024</width>
|
37
|
-
<!-- The window's initial height. Optional. -->
|
38
|
-
<height>1024</height>
|
39
|
-
<!-- The window's initial x position. Optional. -->
|
40
|
-
<x>0</x>
|
41
|
-
<!-- The window's initial y position. Optional. -->
|
42
|
-
<y>0</y>
|
43
|
-
<!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
|
44
|
-
<minSize>800 600</minSize>
|
45
|
-
<!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
|
46
|
-
<maxSize>1600 1200</maxSize>
|
47
|
-
</initialWindow>
|
48
|
-
<installFolder>AirApp</installFolder>
|
49
|
-
<programMenuFolder>Air App</programMenuFolder>
|
50
|
-
<icon>
|
51
|
-
<image16x16>-site/ico/logo-16.png</image16x16>
|
52
|
-
<image32x32>-site/ico/logo-32.png</image32x32>
|
53
|
-
<image48x48>-site/ico/logo-48.png</image48x48>
|
54
|
-
<image128x128>-site/ico/logo-128.png</image128x128>
|
55
|
-
</icon>
|
56
|
-
<fileTypes></fileTypes>
|
57
|
-
</application>
|
Binary file
|
@@ -1,32 +0,0 @@
|
|
1
|
-
template: templates/skin.erb.html
|
2
|
-
|
3
|
-
pages:
|
4
|
-
- app:
|
5
|
-
generate: app.html
|
6
|
-
views :
|
7
|
-
main: views/dashboard.html
|
8
|
-
- about:
|
9
|
-
generate: about.html
|
10
|
-
views :
|
11
|
-
main: views/about.html
|
12
|
-
|
13
|
-
scripts:
|
14
|
-
- script:
|
15
|
-
version: 1.0
|
16
|
-
bundle:
|
17
|
-
- scripts/air/AIRAliases.js
|
18
|
-
- scripts/air/AIRIntrospector.js
|
19
|
-
- scripts/libs/bootstrap.js
|
20
|
-
- scripts/libs/knockout-2.1.0-min.js
|
21
|
-
- scripts/libs/jquery.fn.custom.js
|
22
|
-
- scripts/shared/data-persistance.js
|
23
|
-
- scripts/shared/utils.js
|
24
|
-
- scripts/presenters/global-presenter.js
|
25
|
-
|
26
|
-
stylesheets:
|
27
|
-
- style:
|
28
|
-
version: 1.0
|
29
|
-
bundle:
|
30
|
-
- stylesheets/bootstrap.css
|
31
|
-
- stylesheets/bootstrap-responsive.css
|
32
|
-
- stylesheets/style.css
|