staticise 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/staticise/renderer.rb +1 -0
- data/public/js/app.js +20 -0
- data/staticise.gemspec +3 -2
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.8
|
data/lib/staticise/renderer.rb
CHANGED
@@ -65,6 +65,7 @@ module Staticise
|
|
65
65
|
def self.scripts
|
66
66
|
puts 'compiling coffees...'
|
67
67
|
`coffee -o #{ File.join(APP_ROOT, 'public', 'js') } -c #{ File.join(APP_ROOT, 'app', 'js')}`
|
68
|
+
`coffee --join #{ File.join(APP_ROOT, 'public', 'js', 'app.js') } -c #{ File.join(APP_ROOT, 'app', 'js')}`
|
68
69
|
end
|
69
70
|
|
70
71
|
def self.styles
|
data/public/js/app.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
(function() {
|
2
|
+
var myScript;
|
3
|
+
|
4
|
+
myScript = {
|
5
|
+
init: function() {
|
6
|
+
return alert('hello');
|
7
|
+
}
|
8
|
+
};
|
9
|
+
|
10
|
+
myScript.init();
|
11
|
+
|
12
|
+
myScript = {
|
13
|
+
init: function() {
|
14
|
+
return alert('hello');
|
15
|
+
}
|
16
|
+
};
|
17
|
+
|
18
|
+
myScript.init();
|
19
|
+
|
20
|
+
}).call(this);
|
data/staticise.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "staticise"
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Melvin Sembrano"]
|
12
|
-
s.date = "2013-05-
|
12
|
+
s.date = "2013-05-16"
|
13
13
|
s.description = "Static site generator using Haml and Coffescript"
|
14
14
|
s.email = "melvinsembrano@gmail.com"
|
15
15
|
s.executables = ["staticise"]
|
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
"public/css/test.css",
|
43
43
|
"public/dog/index.html",
|
44
44
|
"public/index.html",
|
45
|
+
"public/js/app.js",
|
45
46
|
"public/js/main.js",
|
46
47
|
"public/js/plugins/a.js",
|
47
48
|
"public/lion/index.html",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staticise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- public/css/test.css
|
157
157
|
- public/dog/index.html
|
158
158
|
- public/index.html
|
159
|
+
- public/js/app.js
|
159
160
|
- public/js/main.js
|
160
161
|
- public/js/plugins/a.js
|
161
162
|
- public/lion/index.html
|
@@ -177,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
178
|
version: '0'
|
178
179
|
segments:
|
179
180
|
- 0
|
180
|
-
hash: -
|
181
|
+
hash: -2632539740084124357
|
181
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
183
|
none: false
|
183
184
|
requirements:
|